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

Maria Catherine Tan updated MRELEASE-486:
-----------------------------------------

    Attachment: MRELEASE-486.patch

Attached patch that corrects the baseWorkingDirectory and baseScmUrl based on 
the longest relative path of modules.

> Unable to release project with nested path
> ------------------------------------------
>
>                 Key: MRELEASE-486
>                 URL: http://jira.codehaus.org/browse/MRELEASE-486
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: perform, prepare
>    Affects Versions: 2.0-beta-9
>            Reporter: Maria Catherine Tan
>         Attachments: MRELEASE-486.patch
>
>
> Releasing a multi-module project with "/" in it's module name fails with this 
> error:
> {noformat}
> [ERROR] org.apache.maven.shared.release.scm.ReleaseScmCommandException: 
> Unable to tag SCM
> Provider message:
> The svn tag command failed.
> Command output:
> svn: '/home/user/project/working-directory' is not a working copy
> at 
> org.apache.maven.shared.release.phase.ScmTagPhase.execute(ScmTagPhase.java:139)
> at 
> org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:210)
> at 
> org.apache.maven.shared.release.DefaultReleaseManager.prepareWithResult(DefaultReleaseManager.java:123)
> at 
> org.apache.maven.continuum.release.executors.PrepareReleaseTaskExecutor.execute(PrepareReleaseTaskExecutor.java:60)
> at 
> org.apache.maven.continuum.release.executors.AbstractReleaseTaskExecutor.executeTask(AbstractReleaseTaskExecutor.java:84)
> at 
> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
> at 
> edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
> at 
> edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
> at 
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
> at 
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
> at java.lang.Thread.run(Unknown Source)
> {noformat}
> The correct working directory should be 
> '/home/user/project/working-directory/1'

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