[ http://jira.codehaus.org/browse/MRELEASE-188?page=comments#action_83774 ] Baerrach bonDierne commented on MRELEASE-188: ---------------------------------------------
I think it may be because of the formatting of the pom... Here is a copy of my pom with names changed to protect the guilty... {noformat} <dependency> <groupId>abc</groupId> <artifactId> abc-abcdefgh-abcdefghijklm-ancdefg </artifactId> <version>0.4-SNAPSHOT</version> <type>ejb</type> </dependency> <dependency> <groupId>abc</groupId> <artifactId>abc-abcde-abcdefgh</artifactId> <version>0.4</version> </dependency> {noformat} The one that is multi-line is the one that always appears to have the problem. > release:perform is not updating some modules to the next version identifier > correctly. > -------------------------------------------------------------------------------------- > > Key: MRELEASE-188 > URL: http://jira.codehaus.org/browse/MRELEASE-188 > Project: Maven 2.x Release Plugin > Issue Type: Bug > Reporter: Baerrach bonDierne > > For some reason the release:prepare is not correctly removing -SNAPSHOT from > some module files, most of them have been correctly transformed only one has > not been. > I am manually double checking whether the tagged version of the file has been > modified correctly prior to running release:perform. > I hope to put together a test case for this problem. I'm not sure why it is > occurring and without a test case it will be impossible for someone else to > resolve. > Work around: > If there is an error, copy the pom.xml to a safe place. > From the CVS History get the contents of the tagged version for release and > then make the necessary modifications and commit them. The file then needs to > be retagged to use the release tag. > Now copy back the contents of the saved pom.xml, which contains the version > id's updated to the next snapshot identifiers. Make sure to fix the same > versions that had problems as above to the correct new snapshot value. -- 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