Skip to content

Instantly share code, notes, and snippets.

@struberg
Created March 17, 2018 20:59
Show Gist options
  • Save struberg/58181b28639b0eb6274d8dd90ae2bd14 to your computer and use it in GitHub Desktop.
Save struberg/58181b28639b0eb6274d8dd90ae2bd14 to your computer and use it in GitHub Desktop.
owasp dependency check for maven
<profiles>
<profile>
<id>cve-check</id>
<build>
<plugins>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>3.1.1</version>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
@struberg
Copy link
Author

an then start with

$> mvn -Pcve-check dependency-check:check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment