Skip to content

Commit 795f153

Browse files
Moved dependency-check to a profile
Moved dependency-check to a profile since it breaks the GitHub Actions build
1 parent 2154d23 commit 795f153

File tree

1 file changed

+22
-15
lines changed

1 file changed

+22
-15
lines changed

pom.xml

+22-15
Original file line numberDiff line numberDiff line change
@@ -337,21 +337,6 @@
337337
</executions>
338338
-->
339339
</plugin>
340-
<plugin>
341-
<groupId>org.owasp</groupId>
342-
<artifactId>dependency-check-maven</artifactId>
343-
<version>6.1.0</version>
344-
<configuration>
345-
<failBuildOnCVSS>8.0</failBuildOnCVSS>
346-
</configuration>
347-
<executions>
348-
<execution>
349-
<goals>
350-
<goal>check</goal>
351-
</goals>
352-
</execution>
353-
</executions>
354-
</plugin>
355340
<!--TODO: Add the SNYK plugin-->
356341
<!-- https://github.com/snyk/snyk-maven-plugin -->
357342

@@ -394,6 +379,28 @@
394379

395380

396381
<profiles>
382+
<profile>
383+
<id>local</id>
384+
<build>
385+
<plugins>
386+
<plugin>
387+
<groupId>org.owasp</groupId>
388+
<artifactId>dependency-check-maven</artifactId>
389+
<version>6.1.0</version>
390+
<configuration>
391+
<failBuildOnCVSS>8.0</failBuildOnCVSS>
392+
</configuration>
393+
<executions>
394+
<execution>
395+
<goals>
396+
<goal>check</goal>
397+
</goals>
398+
</execution>
399+
</executions>
400+
</plugin>
401+
</plugins>
402+
</build>
403+
</profile>
397404
<profile>
398405
<id>snapshot-release</id>
399406
<build>

0 commit comments

Comments
 (0)