Description
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
Attachments
Attachments
Issue Links
- duplicates
-
MRELEASE-725 Releasing a specific module-based project fails (Regression from 2.1)
- Closed
- relates to
-
MRELEASE-740 release:perform in subdirectories fails if localCheckout=true
- Closed