2011/12/16 Mark Thomas <ma...@apache.org>

> There are currently two options for publishing JARs to Maven Central:
> 1. scp+rsync via people.a.o
> 2. Nexus
>

In my experience in Tiles releases, the only problem we had with scp +
simple copy (we did not use rsync) is that this process breaks Maven
metadata.
I try to explain myself.
If you release to a staging directory, the Maven metadata (containg info
about previous releases) are not there, so they are created from scratch.
So, after releasing in the staging directory and voting, the copy method
simply overwrite the old metadata with the new one (remember, *without the
old versions*).
So in the end, we needed to use the Maven stage plugin (deprecated), that:
* downloads the staged artifacts;
* reuploads them to the final destination.

Inside Nexus, you simply "promote" the staged repository, without the
problem of downloading and uploading again.

Antonio

Reply via email to