tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Petrelli <>
Subject Re: Publishing process for JARs for Maven Central
Date Sat, 17 Dec 2011 18:08:07 GMT
2011/12/16 Mark Thomas <>

> 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
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.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message