nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris A. Mattmann (JIRA)" <>
Subject [jira] Resolved: (NUTCH-825) Publish nutch artifacts to central maven repository
Date Thu, 28 Oct 2010 13:56:24 GMT


Chris A. Mattmann resolved NUTCH-825.

    Resolution: Fixed

- fix committed to trunk in r1028294. The fix includes the following ant targets:

Builds the -javadoc.jar, -sources.jar and artfiact.jar to deploy to Apache Nexus.

Deploys the 3 release artifacts by signing them, checkusmming them, and then pushing them
to the Apache Nexus staging repository. After that, the release manager should follow the
Nexus process to close the staging repository, and then to release it if everything looks

These changes require the release manager to do the following things:

1. create an apache-release profile in their $HOME/.m2/settings.xml file. It should contain
the following information:

    <!-- To publish a snapshot of some part of Maven -->
    <!-- To publish a website of some part of Maven -->
    <!-- To stage a release of some part of Maven -->

2. Install the Maven Ant tasks plugin in your $ANT_HOME/lib directory. You can get the plugin

Note, publishing to Apache Nexus doesn't mean you are automatically publishing to Maven Central.
Maven Central syncs from Nexus ( on some regular interval so Central
will pick up the syncs, but at a later date/time usually.

Additionally: I didn't change the build to use Maven, so those Ant guys out there can sleep
soundly :) I needed to add the pom.xml and Maven ant tasks to integrate Maven's easy publishing
ability to Maven Central into our Ant build, using the Sonatype guide here:

> Publish nutch artifacts to central maven repository
> ---------------------------------------------------
>                 Key: NUTCH-825
>                 URL:
>             Project: Nutch
>          Issue Type: New Feature
>            Reporter: Enis Soztutar
>            Assignee: Chris A. Mattmann
>             Fix For: 2.0
> As per the discussion at NUTCH-821, publishing nutch artifacts to maven will be nice.
NUTCH-821 already introduces dependency management with ivy. As for the remaining, ant task
for generating pom files should be developed, and artifacts should be published to maven repo
by a committer after a release. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message