mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-14 07:43:40 +01:00
#842 Honor skip configuration in reports
This commit is contained in:
@@ -593,6 +593,11 @@ public abstract class BaseDependencyCheckMojo extends AbstractMojo implements Ma
|
||||
* @throws MavenReportException if a maven report exception occurs
|
||||
*/
|
||||
public void generate(Sink sink, Locale locale) throws MavenReportException {
|
||||
if (skip) {
|
||||
getLog().info("Skipping report generation " + getName(Locale.US));
|
||||
return;
|
||||
}
|
||||
|
||||
generatingSite = true;
|
||||
try {
|
||||
validateAggregate();
|
||||
|
||||
Reference in New Issue
Block a user