Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

NUTCH-2894 Java plugin compilation classpath: priorize plugin dependencies

Sebastian Nagele749e3f4cc76
diff --git a/src/plugin/build-plugin.xml b/src/plugin/build-plugin.xml
index 8809f06e0..814123ebc 100755
--- a/src/plugin/build-plugin.xml
+++ b/src/plugin/build-plugin.xml
@@ -55,13 +55,16 @@
<pathelement location="${build.classes}"/>
<fileset refid="lib.jars"/>
<pathelement location="${nutch.root}/build/classes"/>
- <fileset dir="${nutch.root}/build/lib">
- <include name="*.jar" />
- </fileset>
+ <!-- manually managed dependencies of a plugin -->
<path refid="plugin.deps"/>
+ <!-- plugin dependencies managed by ivy -->
<fileset dir="${deploy.dir}">
<include name="*.jar" />
</fileset>
+ <!-- Nutch core dependencies -->
+ <fileset dir="${nutch.root}/build/lib">
+ <include name="*.jar" />
+ </fileset>
</path>
<!-- the unit test classpath -->
@@ -71,7 +74,7 @@
<pathelement location="${nutch.root}/src/test"/>
<pathelement location="${conf.dir}"/>
<pathelement location="${nutch.root}/build"/>
- <!-- test dependencies specific to current plugin -->
+ <!-- test dependencies specific to the current plugin -->
<fileset dir="${build.test.lib}">
<include name="*.jar" />
</fileset>