[ 
https://jira.codehaus.org/browse/MRELEASE-581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benson Margulies updated MRELEASE-581:
--------------------------------------

    Fix Version/s:     (was: 2.5)
                   Backlog

> Git relative pathing broken with release plugin
> -----------------------------------------------
>
>                 Key: MRELEASE-581
>                 URL: https://jira.codehaus.org/browse/MRELEASE-581
>             Project: Maven Release Plugin
>          Issue Type: Bug
>          Components: Git, prepare
>    Affects Versions: 2.0
>         Environment: windows xp, service pack 2
>            Reporter: Matthew Sandoz
>            Assignee: Mark Struberg
>             Fix For: Backlog
>
>         Attachments: gitexe.zip, MRELEASE-581.patch
>
>
> i have a multimodule project, and when i try to do a release, i get 
> everything working fine until the end. It seems to think for some reason that 
> I am at the root of my scm tree. The repo i have to work in has several 
> projects, and mine is in a subdirectory - domains/redemption. the plugin 
> appears to try to check in my submodules at my current location instead of my 
> scm root.
> COMMAND:
> {{mvn release:prepare -DpreparationGoals="clean install" -DskipTests 
> -DautoVersionSubmodules=true}}
> {noformat}
> END OF OUTPUT:
> [INFO] [INFO] Reactor Summary:
> [INFO] [INFO] 
> ------------------------------------------------------------------------
> [INFO] [INFO] Redemption Parent POM ................................. SUCCESS 
> [2.595s]
> [INFO] [INFO] Redemption Runtime Confguration ....................... SUCCESS 
> [3.531s]
> [INFO] [INFO] Redemption Service Metadata ........................... SUCCESS 
> [18.816s]
> [INFO] [INFO] Redemption Model ...................................... SUCCESS 
> [35.693s]
> [INFO] [INFO] Redemption DAO ........................................ SUCCESS 
> [41.770s]
> [INFO] [INFO] Redemption Service Implementation ..................... SUCCESS 
> [17.517s]
> [INFO] [INFO] crm :: guest :: redemption :: ESB :: Parent POM ....... SUCCESS 
> [0.016s]
> [INFO] [INFO] crm :: guest :: redemption :: ESB :: XSLT ............. SUCCESS 
> [5.469s]
> [INFO] [INFO] crm :: guest :: redemption :: ESB :: EIP .............. SUCCESS 
> [0.343s]
> [INFO] [INFO] crm :: guest :: redemption :: ESB :: Version Router ... SUCCESS 
> [3.157s]
> [INFO] [INFO] crm :: guest :: redemption :: ESB :: Binding Component :: 
> Service Unit  SUCCESS [3.656s]
> [INFO] [INFO] crm :: guest :: redemption :: ESB :: Service Assembly . SUCCESS 
> [3.516s]
> [INFO] [INFO] 
> ------------------------------------------------------------------------
> [INFO] [INFO] 
> ------------------------------------------------------------------------
> [INFO] [INFO] BUILD SUCCESSFUL
> [INFO] [INFO] 
> ------------------------------------------------------------------------
> [INFO] [INFO] Total time: 2 minutes 26 seconds
> [INFO] [INFO] Finished at: Tue Jul 27 17:18:02 EDT 2010
> [INFO] [INFO] Final Memory: 116M/254M
> [INFO] [INFO] 
> ------------------------------------------------------------------------
> [INFO] Checking in modified POMs...
> [INFO] Executing: cmd.exe /X /C "git add pom.xml redemption-conf\pom.xml 
> redemption-metadata\pom.xml redemption-model\pom.xml rede
> mption-dao\pom.xml redemption-impl\pom.xml redemption-esb\pom.xml 
> redemption-esb\redemption-xslt\pom.xml redemption-esb\redemption
> -eip\pom.xml redemption-esb\redemption-router\pom.xml 
> redemption-esb\redemption-bc-su\pom.xml redemption-esb\redemption-sa\pom.xml
> "
> [INFO] Working directory: D:\workspaces\crm-dev\domains\redemption
> [INFO] Executing: cmd.exe /X /C "git status"
> [INFO] Working directory: D:\workspaces\crm-dev\domains\redemption
> [INFO] Executing: cmd.exe /X /C "git commit --verbose -F 
> D:\DOCUME~1\sandozm\LOCALS~1\Temp\maven-scm-1862033505.commit pom.xml red
> emption-conf\pom.xml redemption-metadata\pom.xml redemption-model\pom.xml 
> redemption-dao\pom.xml redemption-impl\pom.xml redemptio
> n-esb\pom.xml redemption-esb\redemption-xslt\pom.xml 
> redemption-esb\redemption-eip\pom.xml redemption-esb\redemption-router\pom.xm
> l redemption-esb\redemption-bc-su\pom.xml 
> redemption-esb\redemption-sa\pom.xml"
> [INFO] Working directory: D:\workspaces\crm-dev\domains\redemption
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Unable to commit files
> Provider message:
> The git-commit command failed.
> Command output:
> error: pathspec 'redemption-conf\pom.xml' did not match any file(s) known to 
> git.
> error: pathspec 'redemption-metadata\pom.xml' did not match any file(s) known 
> to git.
> error: pathspec 'redemption-model\pom.xml' did not match any file(s) known to 
> git.
> error: pathspec 'redemption-dao\pom.xml' did not match any file(s) known to 
> git.
> error: pathspec 'redemption-impl\pom.xml' did not match any file(s) known to 
> git.
> error: pathspec 'redemption-esb\pom.xml' did not match any file(s) known to 
> git.
> error: pathspec 'redemption-esb\redemption-xslt\pom.xml' did not match any 
> file(s) known to git.
> error: pathspec 'redemption-esb\redemption-eip\pom.xml' did not match any 
> file(s) known to git.
> error: pathspec 'redemption-esb\redemption-router\pom.xml' did not match any 
> file(s) known to git.
> error: pathspec 'redemption-esb\redemption-bc-su\pom.xml' did not match any 
> file(s) known to git.
> error: pathspec 'redemption-esb\redemption-sa\pom.xml' did not match any 
> file(s) known to git.
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 3 minutes 27 seconds
> [INFO] Finished at: Tue Jul 27 17:18:09 EDT 2010
> [INFO] Final Memory: 43M/254M
> [INFO] 
> ------------------------------------------------------------------------
> D:\workspaces\crm-dev\domains\redemption>
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to