Skip to content

Commit

Permalink
Moved dependency-check to a profile
Browse files Browse the repository at this point in the history
Moved dependency-check to a profile since it breaks the GitHub Actions build
  • Loading branch information
jimbethancourt committed Nov 17, 2024
1 parent 2154d23 commit 795f153
Showing 1 changed file with 22 additions and 15 deletions.
37 changes: 22 additions & 15 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -337,21 +337,6 @@
</executions>
-->
</plugin>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>6.1.0</version>
<configuration>
<failBuildOnCVSS>8.0</failBuildOnCVSS>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<!--TODO: Add the SNYK plugin-->
<!-- https://github.com/snyk/snyk-maven-plugin -->

Expand Down Expand Up @@ -394,6 +379,28 @@


<profiles>
<profile>
<id>local</id>
<build>
<plugins>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>6.1.0</version>
<configuration>
<failBuildOnCVSS>8.0</failBuildOnCVSS>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>snapshot-release</id>
<build>
Expand Down

0 comments on commit 795f153

Please sign in to comment.