Skip to content

Commit

Permalink
Provide OWASP dependency check as profile.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Sep 20, 2024
1 parent 50567bf commit 47c2e12
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@
<depgraph-maven-plugin.version>4.0.3</depgraph-maven-plugin.version>
<sortpom-maven-plugin.version>4.0.0</sortpom-maven-plugin.version>
<git-commit-id-maven-plugin.version>9.0.1</git-commit-id-maven-plugin.version>
<dependency-check-maven.version>10.0.4</dependency-check-maven.version>

<!-- OpenRewrite versions -->
<rewrite-maven-plugin.version>5.40.2</rewrite-maven-plugin.version>
Expand Down Expand Up @@ -1066,6 +1067,29 @@
</plugins>
</build>
</profile>
<profile>
<id>owasp</id>
<build>
<plugins>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>${dependency-check-maven.version}</version>
<configuration>
<nvdApiKeyEnvironmentVariable>NVD_API_KEY</nvdApiKeyEnvironmentVariable>
<format>JSON</format>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>depgraph</id>
<build>
Expand Down

0 comments on commit 47c2e12

Please sign in to comment.