Github user sujen1412 commented on a diff in the pull request:
https://github.com/apache/nutch/pull/87#discussion_r51670370
--- Diff: src/plugin/scoring-similarity/build.xml ---
@@ -18,7 +18,15 @@
<project name="scoring-similarity" default="jar-core">
<import file="../build-plugin.xml"/>
-
+ <target name="deps-jar">
+ <ant target="jar" inheritall="false" dir="../indexer-elastic" />
+ </target>
+ <!-- Add compilation dependencies to classpath -->
+ <path id="plugin.deps">
+ <fileset dir="${nutch.root}/build">
+ <include name="**/indexer-elastic/*.jar" />
--- End diff --
In order to avoid adding lucene-core to the main ivy.xml and creating
classpath version conflicts, I used the one in indexer-elastic.
Is there a better way to do this, as somehow adding it to plugins ivy file
is giving runtime errors or maybe I am missing something ?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---