-
Bug
-
Resolution: Incomplete
-
Major
-
None
-
Mac OS X 10.6.7
I have a multi-module maven project. It successfully builds, and the release:prepare successfully competes. However, after all of the steps (looking at console output) have completed, the whole thing fails when it tries to do something with an extra workspace directory that doesn't exist.
Here's the last part of the exception.
Caused by: org.codehaus.plexus.util.cli.CommandLineException: Working directory "/Users/dallwardt/.jenkins/jobs/Vault-test6/workspace/target/checkout/workspace" does not exist!
at org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:644)
at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:118)
at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:93)
at org.apache.maven.shared.invoker.DefaultInvoker.executeCommandLine(DefaultInvoker.java:149)
at org.apache.maven.shared.invoker.DefaultInvoker.execute(DefaultInvoker.java:102)
at org.apache.maven.shared.release.exec.InvokerMavenExecutor.executeGoals(InvokerMavenExecutor.java:387)
... 36 more
channel stopped
Finished: FAILURE
Here's what the file system looks like:
dallwardt$ pwd
/Users/dallwardt/.jenkins/jobs/Vault-test6/workspace
dallwardt$ ls
Common WzlDocs pom.xml pom.xml.releaseBackup release.properties target
dallwardt$ pwd
/Users/dallwardt/.jenkins/jobs/Vault-test6/workspace/target/checkout
dallwardt$ ls
dev tags trunk
Notice there is no workspace directory under target/checkout. Who is supposed to create an extra workspace folder under target/checkout ?
Downgrading to maven 2.2.1 produced a successful release. So what does that mean for Maven 3x?