In Plugin.xml

<requires>
  <import plugin="nutch-extensionpoints"/>
  <import plugin="another_plugin_necessary_id"/>
</requires>


And on Build.xml of you plugin


  <target name="deps-jar">
    <ant target="jar" inheritall="false" dir="../path_of_plugin"/>
    <ant target="compile-test" inheritall="false" dir="../path_of_plugin"/> 
  </target>

  
  <path id="plugin.deps">
    <fileset dir="${nutch.root}/build">
      <include name="**/path_of_plugin/*.jar" />
    </fileset>
    <pathelement location="${nutch.root}/build/path_of_plugin"/>
  </path>


I think its all, give it a try and say the result.





--
View this message in context: 
http://lucene.472066.n3.nabble.com/Dependencies-between-Plugin-tp4002216p4003137.html
Sent from the Nutch - User mailing list archive at Nabble.com.

Reply via email to