You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by Ken Gilmer <kg...@gmail.com> on 2011/11/21 02:54:20 UTC

Release Question

Hi, I'm following the documentation provided at
http://felix.apache.org/site/release-management-nexus.html with the goal of
pushing an initial release of the "Light HTTP Service" bundle.  In my POM
the version specified is 0.1.1-SNAPSHOT.  In the docs it says "make sure
there are no snapshots in the POMs to be released". If I remove the
SNAPSHOT label the dry run fails with "You don't have a SNAPSHOT project in
the reactor projects list."  I am guessing that "snapshots in the POM"
refers to something other than the version.  Am I alright to proceed with
<version>0.1.1-SNAPSHOT</version>?

thx!
ken

Re: Release Question

Posted by Stuart McCulloch <mc...@gmail.com>.
On 21 Nov 2011, at 01:54, Ken Gilmer wrote:

> Hi, I'm following the documentation provided at
> http://felix.apache.org/site/release-management-nexus.html with the goal of
> pushing an initial release of the "Light HTTP Service" bundle.  In my POM
> the version specified is 0.1.1-SNAPSHOT.  In the docs it says "make sure
> there are no snapshots in the POMs to be released". If I remove the
> SNAPSHOT label the dry run fails with "You don't have a SNAPSHOT project in
> the reactor projects list."  I am guessing that "snapshots in the POM"
> refers to something other than the version.  Am I alright to proceed with
> <version>0.1.1-SNAPSHOT</version>?

Yes, it means external dependency or plugin snapshots - the internal project versions (such as your 0.1.1-SNAPSHOT) will be automatically replaced by the release plugin:

   http://maven.apache.org/plugins/maven-release-plugin/examples/prepare-release.html

Also note that the "mvn release:prepare -DdryRun=true" step will check for any snapshots that need fixing and explicitly warn you.

> thx!
> ken