You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "werner mueller (JIRA)" <ji...@codehaus.org> on 2010/11/08 14:47:03 UTC
[jira] Updated: (MRELEASE-611) The update-versions goal fails when
project is not at a SNAPSHOT version
[ http://jira.codehaus.org/browse/MRELEASE-611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
werner mueller updated MRELEASE-611:
------------------------------------
Attachment: maven-release-plugin-2.1.patch
patch introduces a new option: updateOnlySnapshots (defaults to true)
{code}
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.1.1-SNAPSHOT</version>
<configuration>
<!--
<branchCreation>true</branchCreation>
-->
<updateOnlySnapshots>false</updateOnlySnapshots>
<autoVersionSubmodules>true</autoVersionSubmodules>
</configuration>
</plugin>
{code}
> The update-versions goal fails when project is not at a SNAPSHOT version
> ------------------------------------------------------------------------
>
> Key: MRELEASE-611
> URL: http://jira.codehaus.org/browse/MRELEASE-611
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Reporter: Karl M. Davis
> Priority: Minor
> Attachments: maven-release-plugin-2.1.patch
>
>
> Trying to use the {{update-versions}} goal fails if the project is not at a {{SNAPSHOT}} version. This is a little silly, as one of the reasons for using this goal is to fix that exact problem.
> It currently fails with:
> {noformat}
> [INFO] [release:update-versions {execution: default-cli}]
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] You don't have a SNAPSHOT project in the reactor projects list.
> [INFO] ------------------------------------------------------------------------
> {noformat}
--
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