[
http://jira.codehaus.org/browse/MVERSIONS-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Lewis updated MVERSIONS-71:
--------------------------------
Attachment: example.zip
Example project
> versions:set changes both parent and module version
> ---------------------------------------------------
>
> Key: MVERSIONS-71
> URL: http://jira.codehaus.org/browse/MVERSIONS-71
> Project: Maven 2.x Versions Plugin
> Issue Type: Bug
> Affects Versions: 1.0
> Reporter: Eric Lewis
> Attachments: example.zip, expected-result.zip
>
>
> When using verions:set, my understanding is that setting a version on a
> project sets the version in that project and sets the same as parent version
> in each module.
> However, it also sets the specified version into the module version.
> Imagine the following constellation:
> project A: version 1.2.0-SNAPSHOT
> module A1: version 2.0.7-SNAPSHOT, parent is A with 1.2.0-SNAPSHOT
> Now, using versions:set -DnewVersion=1.2.0 gives me the following result:
> project A: version 1.2.0
> module A1: version 1.2.0, parent is A with 1.2.0
> The version of the module has been altered, but it shouldn't.
> The versions plugin should have an option "ignoreModuleVersion" to prevent
> this.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email