Stanilslav Spiridonov created MRELEASE-823: ----------------------------------------------
Summary: Check for local modifications works incorrectly with Mercurial Key: MRELEASE-823 URL: https://jira.codehaus.org/browse/MRELEASE-823 Project: Maven 2.x Release Plugin Issue Type: Bug Components: Mercurial Affects Versions: 2.3.2 Reporter: Stanilslav Spiridonov It just ignore modified files. In the log above the "impl\pom.xml" is modified C:\Development\work\repo\JRS\open\base\manager\pom>mvn release:branch -DbranchName=my-branch -DupdateBranchVersions=true C:\Development\work\repo\JRS\open\base\manager\pom>set MAVEN_OPTS=-Dfile.encoding=UTF-8 [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] JRESEARCH-COMMONS: POM for base domain managers [INFO] JRS-COMMONS: Base service API [INFO] JRS-COMMONS: Base service implementation [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building JRESEARCH-COMMONS: POM for base domain managers 1.0.2-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-release-plugin:2.3.2:branch (default-cli) @ org.jresearch.commons.base.manager.pom --- [INFO] Verifying that there are no local modifications... [INFO] ignoring changes on: **\release.properties, **\pom.xml.next, **\pom.xml.releaseBackup, **\pom.xml.backup, **\pom.xml.branch, **\pom.xml.tag [INFO] EXECUTING: cmd.exe /X /C "hg status" [INFO] Not a file: C:\Development\work\repo\JRS\open\base\manager\pom\impl\pom.xml. Ignoring [INFO] Not a file: C:\Development\work\repo\JRS\open\base\manager\pom\api\pom.xml.releaseBackup. Ignoring [INFO] Not a file: C:\Development\work\repo\JRS\open\base\manager\pom\impl\pom.xml.releaseBackup. Ignoring [INFO] Not a file: C:\Development\work\repo\JRS\open\base\manager\pom\pom\pom.xml.releaseBackup. Ignoring What is the branch version for "JRESEARCH-COMMONS: POM for base domain managers"? (org.jresearch.commons.base.manager:org.jresearch.commons.base.manager.pom) 1.0.2-SNAPSHOT: : Terminate batch job (Y/N)? y C:\Development\work\repo\JRS\open\base\manager\impl>hg status M impl\pom.xml ? api\pom.xml.releaseBackup ? impl\pom.xml.releaseBackup ? pom\pom.xml.releaseBackup -- 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