[ http://jira.codehaus.org/browse/MPSCM-77?page=comments#action_57951 ]
Arnaud Heritier commented on MPSCM-77: -------------------------------------- I'm agree to have a new goal to allow us to see what is changed. We can add this goal as a prerequisite for the tag scm:prepare-release, thus it's transparent . > It should be possible to check changes made by prepare-release before they > are checked in and tagged > ---------------------------------------------------------------------------------------------------- > > Key: MPSCM-77 > URL: http://jira.codehaus.org/browse/MPSCM-77 > Project: maven-scm-plugin > Type: Improvement > Environment: m11b3, scm plugin > Reporter: Lukas Theussl > Priority: Critical > Fix For: 1.6 > > > See MRELEASE-77 for the equivalent m2 problem. > Currently, the scm:prepare-release goal modifies the files project.xml and > changes.xml, then commits the changes and tags the entire source tree, all in > one step. If there is a problem with updating the files, we have a faulty > version checked in and tagged in the repository. And usually, there are > problems (see MPSCM-1, MPSCM-12, MPSCM-43, MPSCM-67, ...?). > Given this immature state of the plugin, I think it is necessary that we > provide the possibility to undo any unwanted modifications before anything > gets checked in and tagged. I'm just not sure about the best way to do that: > - move the check-in and tagging into the scm:perform-release goal, so prepare > release only updates project.xml and changes.xml > - add a new goal for updating project.xml and changes.xml > - add a property 'testmode' like in m2, that skips the check-in and tagging > (not sure how that would help when there are problems though) > I'd prefer the second choice, what do others think? -- 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, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]