You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stanilslav Spiridonov (JIRA)" <ji...@codehaus.org> on 2013/02/15 14:53:13 UTC
[jira] (MRELEASE-823) Check for local modifications works
incorrectly with Mercurial
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
[jira] (SCM-713) Check for local modifications works incorrectly
with Mercurial
Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/SCM-713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=319834#comment-319834 ]
Robert Scholte commented on SCM-713:
------------------------------------
It looks to be an issue with the working directory.
{{C:\Development\work\repo\JRS\open\base\manager\pom\}} is passed as the working directory and the results of {{hg status}} are assumed to be relative to this folder.
> Check for local modifications works incorrectly with Mercurial
> --------------------------------------------------------------
>
> Key: SCM-713
> URL: https://jira.codehaus.org/browse/SCM-713
> Project: Maven SCM
> Issue Type: Bug
> Components: maven-scm-provider-mercurial (hg)
> Affects Versions: 1.7
> Reporter: Stanilslav Spiridonov
>
> It just ignore modified files. In the log above the "impl\pom.xml" is modified
> {noformat}
> 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
> {noformat}
> {noformat}
> 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
> {noformat}
--
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
[jira] (SCM-713) Check for local modifications works incorrectly
with Mercurial
Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/SCM-713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte moved MRELEASE-823 to SCM-713:
---------------------------------------------
Complexity: Intermediate
Component/s: (was: Mercurial)
maven-scm-provider-mercurial (hg)
Affects Version/s: (was: 2.3.2)
1.7
Key: SCM-713 (was: MRELEASE-823)
Project: Maven SCM (was: Maven 2.x Release Plugin)
> Check for local modifications works incorrectly with Mercurial
> --------------------------------------------------------------
>
> Key: SCM-713
> URL: https://jira.codehaus.org/browse/SCM-713
> Project: Maven SCM
> Issue Type: Bug
> Components: maven-scm-provider-mercurial (hg)
> Affects Versions: 1.7
> 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
[jira] (SCM-713) Check for local modifications works incorrectly
with Mercurial
Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/SCM-713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte updated SCM-713:
-------------------------------
Description:
It just ignore modified files. In the log above the "impl\pom.xml" is modified
{noformat}
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
{noformat}
{noformat}
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
{noformat}
was:
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
> Check for local modifications works incorrectly with Mercurial
> --------------------------------------------------------------
>
> Key: SCM-713
> URL: https://jira.codehaus.org/browse/SCM-713
> Project: Maven SCM
> Issue Type: Bug
> Components: maven-scm-provider-mercurial (hg)
> Affects Versions: 1.7
> Reporter: Stanilslav Spiridonov
>
> It just ignore modified files. In the log above the "impl\pom.xml" is modified
> {noformat}
> 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
> {noformat}
> {noformat}
> 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
> {noformat}
--
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
[jira] (MRELEASE-823) Check for local modifications works
incorrectly with Mercurial
Posted by "Stanilslav Spiridonov (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MRELEASE-823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=319757#comment-319757 ]
Stanilslav Spiridonov commented on MRELEASE-823:
------------------------------------------------
plugin configuration:
<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<!-- All projects use the mercurial -->
<localCheckout>true</localCheckout>
<pushChanges>false</pushChanges>
<tagNameFormat>@{project.version}</tagNameFormat>
<autoVersionSubmodules>true</autoVersionSubmodules>
</configuration>
</plugin>
> 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