mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-24 10:01:35 +01:00
Merge pull request #858 from AndrewJCarr/master
#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
|
* @throws MavenReportException if a maven report exception occurs
|
||||||
*/
|
*/
|
||||||
public void generate(Sink sink, Locale locale) throws MavenReportException {
|
public void generate(Sink sink, Locale locale) throws MavenReportException {
|
||||||
|
if (skip) {
|
||||||
|
getLog().info("Skipping report generation " + getName(Locale.US));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
generatingSite = true;
|
generatingSite = true;
|
||||||
try {
|
try {
|
||||||
validateAggregate();
|
validateAggregate();
|
||||||
|
|||||||
Reference in New Issue
Block a user