Prevent snapshot version bumping does not seem to work
------------------------------------------------------
Key: MRELEASE-714
URL: https://jira.codehaus.org/browse/MRELEASE-714
Project: Maven 2.x Release Plugin
Issue Type: Bug
Affects Versions: 2.2.1
Reporter: Paul S
I want to use the release plugin within our company, and I want to create a
tags for multi-module projects, such as the following example:
tags/parent-1.0.0
- child1 (1.0.0)
- child2 (1.0.0)
When I do "release: prepare", snapshots with an increased version are created
and committed for every parent/child module, so:
parent-1.0.0-SNAPSHOT, child1-1.0.0-SNAPSHOT, child2-1.0.0-SNAPSHOT
becomes:
parent-1.0.1-SNAPSHOT, child1-1.0.1-SNAPSHOT, child2-1.0.1-SNAPSHOT
However, when I create a release I don't want to automatically create snapshot
versions for every child module, so I'd like to bump the version number to
1.0.1-SNAPSHOT manually. Sometimes we create a new release in which for
instance 3 of the 10 child modules have actually been updated, so we want to
just set those 3 version numbers to an increased SNAPSHOT version. I tried
accomplishing this by setting the following properties to false:
<updateWorkingCopyVersions>false</updateWorkingCopyVersions>
<updateDependencies>false</updateDependencies>
However, whatever I try, it doesn't work. The 1.0.0-SNAPSHOT versions keep
getting bumped to 1.0.1-SNAPSHOT.
Furthermore, a little off topic, but is it possible to have version numbers
created for sub modules? E.g.:
tags/parent-1.0.0
- child1-1.0.0
- child2-1.0.0)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira