[ 
https://issues.apache.org/jira/browse/NUTCH-892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13037557#comment-13037557
 ] 

Gabriele Kahlout commented on NUTCH-892:
----------------------------------------

Cannot upload attachment to closed issue, here's my contribution to build.xml 
to at least allow installing nutch into the maven local repo (so that  nutch 
plugin maven developers can add nutch as dependency of their plugin):

  <target name="publish-local-maven" depends="release">
      <exec command="mvn install:install-file -DgroupId=${groupId} 
-DartifactId=${artifactId} -Dversion=1.0-SNAPSHOT -Dfile=${maven-jar} 
-Dpackaging=jar -DgeneratePom=true"/>
  </target>

This makes ant publish-local-maven execute after building the jar:
$ mvn install:install-file -DgroupId=org.apache.nutch -DartifactId=nutch 
-Dversion=1.0-SNAPSHOT -Dfile=build/nutch-1.3.jar -Dpackaging=jar 
-DgeneratePom=true

> nutch maven build support
> -------------------------
>
>                 Key: NUTCH-892
>                 URL: https://issues.apache.org/jira/browse/NUTCH-892
>             Project: Nutch
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 1.1
>            Reporter: Marius Cristian Vulpe
>            Priority: Minor
>   Original Estimate: 120h
>  Remaining Estimate: 120h
>
> I use nutch search mechanism form a standalone java application. I use maven 
> to configure my dependencies and I have seen that nutch doesn't publish any 
> artifacts to the public repositories.
> Please let me know if somebody is working towards this direction.
> If not, I think I can spent some time to "mavenize" the project and I can 
> send you a version of that (I plan to do that for version 1.1).
> I would need feedback on this.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to