Skip to content

Commit

Permalink
Merge pull request #989 from uhafner/owasp
Browse files Browse the repository at this point in the history
Provide OWASP dependency check as profile
  • Loading branch information
uhafner authored Sep 20, 2024
2 parents 15dd05c + 47c2e12 commit 186a4fc
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 186a4fc

Please sign in to comment.