maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Latombe <>
Subject Re: Can't specify distributionManagement in settings.xml
Date Wed, 06 Oct 2010 22:18:30 GMT
In Maven/Nexus terminology, you deploy a release candidate to a staging area
(#2) in your example. This artifact (or group of artifacts) is then made
available to a group of people for validation (it can be automated or
manual). Once it's validated it is promoted and copied to the release

In most Maven artifacts you'll find the version embedded within the artifact
itself (by default, in java archives it will embed the pom.xml). It is also
useful to fill in files like MANIFEST.MF with the artifact information so
these can be retrieved at runtime. That's why once deployed, an artifact
coordinates are immutable.

I hope it answers your question,


2010/10/7 Phillip Hellewell <>

> On Wed, Oct 6, 2010 at 3:50 PM, Phillip Hellewell <>
> wrote:
> >
> > No, there are basically there types of builds I want to do.  Most
> > people don't have a stage between snapshot and release, so I'm
> > guessing that is why I am not getting any clear direction about the
> > best way to do this.
> > 1. A snapshot build made by a developer that can be deployed to a
> > snapshot repo.  Ver = "1.0-SNAPSHOT".
> > 2. A "staging" build made by a build machine.  Can this go into the
> > snapshot repo?  Ver = "1.0-tag-TAGNAME".
> > 3. A release build.  Will be deployed to a release repo. Ver =
> > "1.0-tag-TAGNAME".
> Sorry to reply to myself, but I have a guess what you are all
> thinking.  #2 builds are snapshots so just name them as such, e.g.,
> I think that does make the most sense, since it makes it more clear
> that these are not release artifacts.
> So I'm only left with one question.  Once a snapshot is approved for
> release, why should I have to go check out the project and rebuild it
> and everything with the -SNAPSHOT removed?  Is there a mechanism or
> tool (Nexus Pro perhaps?) that can copy an artifact from the snapshot
> repo to the release repo while removing the -SNAPSHOT from the
> version?
> Phillip
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:


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