You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by Jukka Zitting <ju...@gmail.com> on 2009/11/11 20:29:06 UTC

Deploying the 0.20.1 jars to Maven central

Hi,

It would be great if the jar artifacts from the hadoop-0.20.1 release
were available on the central Maven repository for use by downstream
projects.

See http://people.apache.org/~jukka/org.apache.hadoop-0.20.1-repo.zip
for a simple package I created that takes the five
hadoop-0.20.1-xxx.jar files from hadoop-0.20.1.tar.gz and  organizes
them into five hadoop-xxx 0.20.1 artifacts in the Maven repository
format.

If you think this is a good idea, you can simply unpack the zip to
/www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/hadoop
on people.apache.org. These are the same files that you already
released augmented with some minimal Maven metadata, so it's up to you
whether a new release vote would be needed.

I've included my signatures on all the artifacts as an indication that
the artifacts come from a hadoop-0.02.1.tar.gz package whose
authenticity I've verified, but you should still check the files and
optionally add your own signatures before deploying them.

The extra Maven metadata and the directory layout is all generated
with Maven commands like this:

    mvn deploy:deploy-file \
        -Durl=file://hadoop-repo -DrepositoryId=hadoop-repo \
        -Dfile=hadoop-0.20.1-core.jar -Dpackaging=jar \
        -DgroupId=org.apache.hadoop -DartifactId=hadoop-core -Dversion=0.20.1

BR,

Jukka Zitting