I used the release plugin to successfully release version 2.0.2.1 of our
project.  We continued working on the HEAD targeting version 2.0.3 while
QA tested 2.0.2.1.  To address bugs reported against that release, we
created a 2.0.2 branch in CVS.  We applied our fixes there.

Now it's time to create version 2.0.2.2 from that 2.0.2 branch.  When I
attempt to run release:prepare, it immediately fails because the version
is not a SNAPSHOT.  Of course it's not a snapshot.  It's a released
version requiring bug fixes.

What did I do wrong?  Is the maven release model such that releases are
only ever cut from the HEAD?  How do you account for
"bugfixes-without-new-features" then?

Do I need to manually update the versions of all the subprojects myself
and then manually tag it?  It seems kinda silly to change all the
versions to 2.0.2.1-SNAPSHOT just so I can have the release plugin
change them to 2.0.2.2!  I may as well do that myself and eliminate the
middle man, right?

Having the release plugin automatically update all the versions of my
multi-module project is a beautiful thing.  It seems kind of arbitrary
to me that the feature only works when the existing version contains the
suffix, "-SNAPSHOT", doesn't it?

Thanks,
Jim

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to