added an additional generate method

Former-commit-id: 44b78b525da45918f3b4bc77b368f88e49361c95
This commit is contained in:
Jeremy Long
2014-08-15 06:22:54 -04:00
parent 52097a6867
commit 78fab728e4

View File

@@ -150,11 +150,26 @@ public abstract class ReportAggregationMojo extends AbstractMojo implements Mave
* @param sink the sink to write the report to
* @param locale the locale to use when generating the report
* @throws MavenReportException if a maven report exception occurs
* @deprecated use {@link #generate(org.apache.maven.doxia.sink.Sink, org.apache.maven.doxia.sink.SinkFactory, java.util.Locale) instead.
*/
@Deprecated
public final void generate(@SuppressWarnings("deprecation") org.codehaus.doxia.sink.Sink sink, Locale locale) throws MavenReportException {
generate((Sink) sink, null, locale);
}
/**
* Generates the Dependency-Check Site Report.
*
* @param sink the sink to write the report to
* @param locale the locale to use when generating the report
* @throws MavenReportException if a maven report exception occurs
* @deprecated use {@link #generate(org.apache.maven.doxia.sink.Sink, org.apache.maven.doxia.sink.SinkFactory, java.util.Locale) instead.
*/
@Deprecated
public final void generate(Sink sink, Locale locale) throws MavenReportException {
generate(sink, null, locale);
}
/**
* Generates the Dependency-Check Site Report.
*