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.
<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.
Property | Description | Default Value |
---|---|---|
dataDirectory | Data directory that is used to store the local caches and NVD CVE database | <folder-of-dependency-check-ant.jar>/data/11.0 |
failOnError | Whether the build should fail if there is an error executing the purge | true |