You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by sn...@apache.org on 2018/11/19 22:02:54 UTC
[nutch] branch 2.x updated: NUTCH-2668 Integrate OWASP dependency
checks as ant target - relax ant build if the OWASP dependency check tool
is not installed
This is an automated email from the ASF dual-hosted git repository.
snagel pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/nutch.git
The following commit(s) were added to refs/heads/2.x by this push:
new 6adca89 NUTCH-2668 Integrate OWASP dependency checks as ant target - relax ant build if the OWASP dependency check tool is not installed
6adca89 is described below
commit 6adca89c01cc846a361a99594a53cae40ee632bf
Author: Sebastian Nagel <sn...@apache.org>
AuthorDate: Mon Nov 19 23:01:45 2018 +0100
NUTCH-2668 Integrate OWASP dependency checks as ant target
- relax ant build if the OWASP dependency check tool is not installed
---
build.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/build.xml b/build.xml
index 1f5a0d9..ef7a88b 100644
--- a/build.xml
+++ b/build.xml
@@ -607,11 +607,11 @@
<property name="dependency-check.home" value="${ivy.dir}/dependency-check-ant/"/>
<path id="dependency-check.path">
<pathelement location="${dependency-check.home}/dependency-check-ant.jar"/>
- <fileset dir="${dependency-check.home}/lib">
+ <fileset dir="${dependency-check.home}/lib" erroronmissingdir="false">
<include name="*.jar"/>
</fileset>
</path>
- <taskdef resource="dependency-check-taskdefs.properties">
+ <taskdef resource="dependency-check-taskdefs.properties" onerror="ignore">
<classpath refid="dependency-check.path" />
</taskdef>
<target name="report-vulnerabilities" description="--> check dependencies for security vulnerabilities">