You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "L. Compère (JIRA)" <ji...@codehaus.org> on 2012/03/29 00:47:02 UTC
[jira] (MRELEASE-727) release plugin uses wrong checkout directory
[ https://jira.codehaus.org/browse/MRELEASE-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=295325#comment-295325 ]
L. Compère commented on MRELEASE-727:
-------------------------------------
Hi all!
I'm using maven 2.2.1 with maven-release-plugin in version 2.2.2 and am getting the problem initially mentioned "When performing a release build on a multi module project, the plugin uses a wrong checkout directory and therefore is unable to perform the release".
Is there a maven-release-plugin version I can use which fixes the problem?
I can't seem to find version 2.2.3.
thanks!
> release plugin uses wrong checkout directory
> --------------------------------------------
>
> Key: MRELEASE-727
> URL: https://jira.codehaus.org/browse/MRELEASE-727
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Components: perform
> Affects Versions: 2.2, 2.2.2
> Environment: mvn 3.0.3
> Reporter: Dominik Bartholdi
> Assignee: Olivier Lamy
> Priority: Blocker
> Fix For: 2.3
>
> Attachments: flat-project-layout.patch, release_failed.txt, testproject.zip
>
>
> When performing a release build on a multi module project, the plugin uses a wrong checkout directory and therefore is unable to perform the release.
> I tested this with both version 2.2 and 2.2.2
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.2.2:perform (default-cli) on project test_multi_parent: Error executing Maven. Working directory "/Users/domi/work/ws/sts_0/test_multi_parent/target/checkout/test_multi_parent/test_multi_parent" does not exist! -> [Help 1]
> We use flat project structure (where parent and modul project are in the same directory)
> The SVN Repo looks like this:
> .../svnrepos/KUQ/trunk/test_multi_parent
> .../svnrepos/KUQ/trunk/test_multi_module1
> I'll attache a minimal test project to reproduce it and a file containing the whole log output for release:prepare and release:perform
> To reproduce the problem:
> - adjust the SVN paths in the pom.xml
> - checkin to SVN
> - release:prepare
> - release:perform -Dgoals=install
--
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