Publishing Maven 2 Artifacts

To publish Maven 2 artifacts, simply copy the artifacts from the staging repository to the production repository. See http://wiki.apache.org/portals/Pluto/CuttingRelease/ServerLocations.

I normally use rsync to move the files, which makes things pretty easy.

rsync -n -vac --exclude *SNAPSHOT*
/www/people.apache.org/builds/portals-pluto/m2-staging-repository/org/apache/pluto/ /www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/pluto/

Remove -n from the above command to actually perform the rsync and publish the Maven 2 artifacts from the staging repository to the production repository.