nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sujen1412 <...@git.apache.org>
Subject [GitHub] nutch pull request: Fix for NUTCH-2209 : Improved Tokenization for...
Date Wed, 03 Feb 2016 02:19:14 GMT
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message