Skip to content

Commit ce7a725

Browse files
committed
Temporarily change depencency-check-maven plugin default goal from 'check' to 'purge' work around '503 Service Unavailable' error in NVD API that is causing Dependency Check to constantly fail.
will revert in next SNAPSHOT release.
1 parent e18046b commit ce7a725

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pom.xml

+3-1
Original file line numberDiff line numberDiff line change
@@ -752,13 +752,15 @@
752752
<artifactId>dependency-check-maven</artifactId>
753753
<version>9.0.0</version>
754754
<configuration>
755+
<nvdApiKey>${env.NVD_API_KEY}</nvdApiKey>
755756
<failBuildOnCVSS>1.0</failBuildOnCVSS>
756757
<suppressionFiles>./suppressions.xml</suppressionFiles>
757758
</configuration>
758759
<executions>
759760
<execution>
760761
<goals>
761-
<goal>check</goal>
762+
<goal>purge</goal>
763+
<!-- <goal>check</goal> -->
762764
</goals>
763765
</execution>
764766
</executions>

0 commit comments

Comments
 (0)