perform does not honor updateWorkingCopiesVersion setting
---------------------------------------------------------

                 Key: MRELEASE-635
                 URL: http://jira.codehaus.org/browse/MRELEASE-635
             Project: Maven 2.x Release Plugin
          Issue Type: Bug
          Components: perform
    Affects Versions: 2.1
            Reporter: Scott Carey


release:perform modifies the working copies version when configured not to.  
This was a tag directly from trunk. 

<configuration>
  <autoVersionSubmodules>true</autoVersionSubmodules>
  <remoteTagging>false</remoteTagging>
  <suppressCommitBeforeTag>true</suppressCommitBeforeTag>
  <suppressCommitBeforeBranch>true</suppressCommitBeforeBranch>
  <updateBranchVersions>true</updateBranchVersions>
  <updateWorkingCopyVersions>false</updateWorkingCopyVersions>
</configuration>

Happens in both dryRun mode and normal.

After a non-dryRun pom.xml.releaseBackup files are left behind as well.

The desired behavior is to leave the working copy alone and only modify the 
tag.  Currently, with suppressCommitBeforeTag true, this is possible by 
reverting the local changes left behind by running release:perform.

-- 
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

        

Reply via email to