mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-25 18:41:44 +01:00
added an additional generate method
Former-commit-id: 44b78b525da45918f3b4bc77b368f88e49361c95
This commit is contained in:
@@ -150,11 +150,26 @@ public abstract class ReportAggregationMojo extends AbstractMojo implements Mave
|
|||||||
* @param sink the sink to write the report to
|
* @param sink the sink to write the report to
|
||||||
* @param locale the locale to use when generating the report
|
* @param locale the locale to use when generating the report
|
||||||
* @throws MavenReportException if a maven report exception occurs
|
* @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 {
|
public final void generate(@SuppressWarnings("deprecation") org.codehaus.doxia.sink.Sink sink, Locale locale) throws MavenReportException {
|
||||||
generate((Sink) sink, null, locale);
|
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.
|
* Generates the Dependency-Check Site Report.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user