Hi,
I have a problem releasing a multi-module project with the following
structure:
\---project-master
| pom.xml
+---project-api
| pom.xml
\---project-app
pom.xml
release:prepare creates the tag under
http://svn_host/my/project/tags/project-master-1.0.3/project-master
release:perform checkouts the tagged sources under
target/checkout/project-mster, but release:perform complains that it
cannot find the pom.xml .
The problem is that the working directory for the deploy goals is
target/checkout but should be target/checkout/project-master :
[INFO] Checking out the project to perform the release ...
[INFO] Executing: cmd.exe /X /C "svn --non-interactive checkout
http://svn_host/my/project/tags/project-master-1.0.3
C:\workspace\co\svn\project-1.0.x\project-master\target\checkout"
[INFO] Working directory:
C:\workspace\co\svn\project\project-master\target
[INFO] Executing goals 'deploy'...
[WARNING] Maven will be executed in interactive mode, but no input stream
has been configured for this MavenInvoker inst
ance.
[INFO] [INFO] Scanning for projects...
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO] Building Maven Default Project
[INFO] [INFO] task-segment: [deploy]
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [ERROR] BUILD ERROR
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO] Cannot execute mojo: resources. It requires a project with
an existing pom.xml, but the build is not using
Is there any configuration that we missed in order to perform the release
correctly?
Your help is highly appreciated.
--
Ivan BOGOUCHEV