code: public static ReportBuilder newReportBuilder(SpoonMojoGenerate spoon) {
  		final long timestamp = Calendar.getInstance().getTimeInMillis();
  		final String resultFilename = spoon.getProject().getBuild().getDirectory()
  				+ File.separator + "spoon-maven-plugin"
  				+ File.separator + "result-spoon-" + timestamp + ".xml";
  		final File resultFile = new File(resultFilename);
  		LogWrapper.info(spoon, String.format("Spoon report directory: %s", resultFile.getParentFile().getAbsolutePath()));
  		return new ReportBuilderImpl(resultFile);
  	}
docs: Get a {@link fr.inria.gforge.spoon.logging.ReportBuilder} to build a report.