From ee5146273e9f88d1fb162a2cd6c6e8974ed120bc Mon Sep 17 00:00:00 2001 From: Jeremy Long Date: Sat, 14 Dec 2013 13:19:57 -0500 Subject: [PATCH] updated documentation to demonstrate a very basic configuration Former-commit-id: 19425cd973799d866dd92bf1748b0484a3eac180 --- .../src/site/markdown/usage.md.vm | 31 ++++++++++++++++--- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/dependency-check-maven/src/site/markdown/usage.md.vm b/dependency-check-maven/src/site/markdown/usage.md.vm index 98cdbad9e..a31282338 100644 --- a/dependency-check-maven/src/site/markdown/usage.md.vm +++ b/dependency-check-maven/src/site/markdown/usage.md.vm @@ -12,6 +12,33 @@ seven days the update will only take a few seconds. ### Create the DependencyCheck-report.html in the target directory +```xml + + + + ... + + org.owasp + dependency-check-maven + ${project.version} + + + + check + + + + + ... + + ... + + ... + +``` + +### Create the DependencyCheck-report.html and fail the build for CVSS greater then 8 + ```xml @@ -40,10 +67,6 @@ seven days the update will only take a few seconds. ``` -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