[
https://jira.codehaus.org/browse/MRELEASE-699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Scholte updated MRELEASE-699:
------------------------------------
Component/s: update-versions
Description:
The documentation
http://maven.apache.org/plugins/maven-release-plugin/examples/update-versions.html
states "The update-versions goal can use the same properties used by the
prepare goal for specifying the versions to be used."
That's not true, as releaseVersion is not supported:
http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html#releaseVersion
This means, that if you do this:
{{mvn --batch-mode release:update-versions -DdevelopmentVersion=1.2.0}}
that the set version is not 1.2.0, but in fact 1.2.0-SNAPSHOT.
was:
The documentation
http://maven.apache.org/plugins/maven-release-plugin/examples/update-versions.html
states "The update-versions goal can use the same properties used by the
prepare goal for specifying the versions to be used."
That's not true, as releaseVersion is not supported:
http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html#releaseVersion
This means, that if you do this:
mvn --batch-mode release:update-versions -DdevelopmentVersion=1.2.0
that the set version is not 1.2.0, but in fact 1.2.0-SNAPSHOT.
> release:update-versions should support -DreleaseVersion too (not only
> -DdevelopmentVersion), so it also supports not suffixing the version with
> -SNAPSHOT
> ---------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: MRELEASE-699
> URL: https://jira.codehaus.org/browse/MRELEASE-699
> Project: Maven 2.x Release Plugin
> Issue Type: Improvement
> Components: update-versions
> Reporter: Geoffrey De Smet
> Attachments:
> 0001-MRELEASE-699-release-update-versions-should-support-.patch
>
>
> The documentation
>
> http://maven.apache.org/plugins/maven-release-plugin/examples/update-versions.html
> states "The update-versions goal can use the same properties used by the
> prepare goal for specifying the versions to be used."
> That's not true, as releaseVersion is not supported:
>
> http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html#releaseVersion
> This means, that if you do this:
> {{mvn --batch-mode release:update-versions -DdevelopmentVersion=1.2.0}}
> that the set version is not 1.2.0, but in fact 1.2.0-SNAPSHOT.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira