Back to Dependencycheck

Config Purge

ant/src/site/markdown/config-purge.md

12.2.21.1 KB
Original Source

Configuration

The dependency-check-purge task deletes the local copy of the NVD. This task should rarely be used, if ever. This is included as a convenience method in the rare circumstance that the local H2 database becomes corrupt.

xml
<target name="dependency-check-purge" description="Dependency-Check purge">
    <dependency-check-purge/>
</target>

Configuration: dependency-check-purge Task

The following properties can be set on the dependency-check-purge task.

PropertyDescriptionDefault Value
dataDirectoryData directory that is used to store the local caches and NVD CVE database<folder-of-dependency-check-ant.jar>/data/11.0
failOnErrorWhether the build should fail if there is an error executing the purgetrue