updated documentation to demonstrate a very basic configuration

Former-commit-id: 19425cd973799d866dd92bf1748b0484a3eac180
This commit is contained in:
Jeremy Long
2013-12-14 13:19:57 -05:00
parent 2c82711476
commit ee5146273e

View File

@@ -12,6 +12,33 @@ seven days the update will only take a few seconds.
### Create the DependencyCheck-report.html in the target directory
```xml
<project>
<build>
<plugins>
...
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>${project.version}</version>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
...
</plugins>
...
</build>
...
</project>
```
### Create the DependencyCheck-report.html and fail the build for CVSS greater then 8
```xml
<project>
<build>
@@ -40,10 +67,6 @@ seven days the update will only take a few seconds.
</project>
```
Note, the above configuration will fail the build if any dependencies are found
to have vulnerabilities with a CVSS score greater then 8. If you do not wish to
fail the build for CVSS scores do not specify the failBuildOnCVSS element.
### Create the dependency-check report within the site
```xml