You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dominik Bartholdi (JIRA)" <ji...@codehaus.org> on 2012/01/22 15:47:20 UTC

[jira] (MRELEASE-727) release plugin uses wrong checkout directory

Dominik Bartholdi created MRELEASE-727:
------------------------------------------

             Summary: 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
            Priority: Blocker
         Attachments: 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

        

[jira] (MRELEASE-727) release plugin uses wrong checkout directory

Posted by "slaurent (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MRELEASE-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=299942#comment-299942 ] 

slaurent commented on MRELEASE-727:
-----------------------------------

It still does not work with CVS : only the current project is checked out directly in "target/checkout" (so, the tagged pom.xml is created in target/checkout). And then mvn complains that the directory target/checkout/parentproject does not exist.

I cannot reopen this issue, it seems I don't have the rights in JIRA... Should I create a new issue ?
                
> 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, MRELEASE-727.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

        

[jira] (MRELEASE-727) release plugin uses wrong checkout directory

Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MRELEASE-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=295510#comment-295510 ] 

Robert Scholte commented on MRELEASE-727:
-----------------------------------------

Latest release was 2.2.2, 2.3 hasn't been released yet. You could try the 2.3-SNAPSHOT
                
> 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

        

[jira] (MRELEASE-727) release plugin uses wrong checkout directory

Posted by "Marc (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MRELEASE-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=296638#comment-296638 ] 

Marc edited comment on MRELEASE-727 at 4/17/12 9:05 AM:
--------------------------------------------------------

Is there a release date yet?

I configured our nexus to use apache-snapshots but I cannot find 2.3-SNAPSHOT. Is this plugin hosted somewhere else?
Thanks
                
      was (Author: lostiniceland):
    Is there a release date yet?
                  
> 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

        

[jira] (MRELEASE-727) release plugin uses wrong checkout directory

Posted by "Mark Struberg (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MRELEASE-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Struberg closed MRELEASE-727.
----------------------------------

    Resolution: Fixed

should now finally be fixed. Please reopen if there is still a scenario left which we didn't think about carefully enough.
                
> 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, MRELEASE-727.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

        

[jira] (MRELEASE-727) release plugin uses wrong checkout directory

Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MRELEASE-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=296663#comment-296663 ] 

Robert Scholte commented on MRELEASE-727:
-----------------------------------------

Snapshot is available at https://repository.apache.org/content/repositories/snapshots/org/apache/maven/plugins/maven-release-plugin/
There are some critical issues related to SCM, so I'd like to wait to scm-1.7
                
> 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

        

[jira] (MRELEASE-727) release plugin uses wrong checkout directory

Posted by "L. Compère (JIRA)" <ji...@codehaus.org>.
    [ 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

       

[jira] (MRELEASE-727) release plugin uses wrong checkout directory

Posted by "Mark Struberg (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MRELEASE-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Struberg reopened MRELEASE-727:
------------------------------------


unfortunately this breaks SCMs which don't support sparse checkout, like hg and GIT. 
We need to find a solution which works for both.
                
> 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

        

[jira] (MRELEASE-727) release plugin uses wrong checkout directory

Posted by "Marc (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MRELEASE-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=296638#comment-296638 ] 

Marc commented on MRELEASE-727:
-------------------------------

Is there a release date yet?
                
> 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

        

[jira] (MRELEASE-727) release plugin uses wrong checkout directory

Posted by "Dominik Bartholdi (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MRELEASE-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dominik Bartholdi updated MRELEASE-727:
---------------------------------------

    Attachment: flat-project-layout.patch

This patch fixes the issue for flat project layouts.
All tests still run successfully.

All I did was to remove a line in the current RunPerformGoalsPhase code. It was assumed, that if the parent pom was in a subdirectory, then the SCM checkout directory would be in the parent directory if that pom, but for flat projects, that's not right... :)
                
> 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
>            Priority: Blocker
>         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

        

[jira] (MRELEASE-727) release plugin uses wrong checkout directory

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MRELEASE-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy closed MRELEASE-727.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3
         Assignee: Olivier Lamy

fixed r1245192.
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

        

[jira] (MRELEASE-727) release plugin uses wrong checkout directory

Posted by "Mark Struberg (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MRELEASE-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=297575#comment-297575 ] 

Mark Struberg commented on MRELEASE-727:
----------------------------------------

fix committed in r1332385.

I'll now only do the pom scan if the SCM itself doesn't offer a relativePath.
                
> 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, MRELEASE-727.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

        

[jira] (MRELEASE-727) release plugin uses wrong checkout directory

Posted by "Mark Struberg (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MRELEASE-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Struberg updated MRELEASE-727:
-----------------------------------

    Attachment: MRELEASE-727.patch

Hi folks!

Could you please try the attached patch?
This version works with GIT and hg again and should also do for SVN. txs!
                
> 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, MRELEASE-727.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

        

[jira] (MRELEASE-727) release plugin uses wrong checkout directory

Posted by "Mark Struberg (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MRELEASE-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=300032#comment-300032 ] 

Mark Struberg commented on MRELEASE-727:
----------------------------------------

yes, please create a new one. Do you folks really still use CVS? :) CVS is dead since 2006 ^^
                
> 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, MRELEASE-727.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