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:00:49 UTC

[nutch] branch master 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 master
in repository https://gitbox.apache.org/repos/asf/nutch.git


The following commit(s) were added to refs/heads/master by this push:
     new a965cd2  NUTCH-2668 Integrate OWASP dependency checks as ant target - relax ant build if the OWASP dependency check tool is not installed
a965cd2 is described below

commit a965cd21fbc2e6037c792eb60919a8b0dc240103
Author: Sebastian Nagel <sn...@apache.org>
AuthorDate: Mon Nov 19 22:59:59 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 2ca57d6..65e8f3f 100644
--- a/build.xml
+++ b/build.xml
@@ -620,11 +620,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">