As the subject alludes to, my git root is a folder called /Development and my
pom.xml is actually _in_ the /Development folder. 

release:prepare works fine, but when release:perform is executed, it
attempts to checkout the project from git (which completes successfully).
Then it attempts to go to the working directory and run a Maven command. 


This is where the problem occurs, since the pom.xml is not in the working
directory.



[INFO] Executing: /bin/sh -c cd
/Users/jcook/Projects/RoundTable/RT1002/Development/target && git clone
g...@github.com:tracerdigital/RT1002.git
/Users/jcook/Projects/RoundTable/RT1002/Development/target/checkout
[INFO] Working directory:
/Users/jcook/Projects/RoundTable/RT1002/Development/target
[INFO] Executing: /bin/sh -c cd
/Users/jcook/Projects/RoundTable/RT1002/Development/target/checkout && git
fetch g...@github.com:tracerdigital/RT1002.git
[INFO] Working directory:
/Users/jcook/Projects/RoundTable/RT1002/Development/target/checkout
[INFO] Executing: /bin/sh -c cd
/Users/jcook/Projects/RoundTable/RT1002/Development/target/checkout && git
checkout hazelcast-store-parent-1.2.1
[INFO] Working directory:
/Users/jcook/Projects/RoundTable/RT1002/Development/target/checkout
[INFO] Executing: /bin/sh -c cd
/Users/jcook/Projects/RoundTable/RT1002/Development/target/checkout && git
ls-files
[INFO] Working directory:
/Users/jcook/Projects/RoundTable/RT1002/Development/target/checkout
[INFO] Executing goals 'deploy'...
[WARNING] Maven will be executed in interactive mode, but no input stream
has been configured for this MavenInvoker instance.
[INFO] [INFO] Scanning for projects...
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO] BUILD FAILURE
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO] Total time: 0.091s
[INFO] [INFO] Finished at: Tue Nov 01 16:55:48 EDT 2011
[INFO] [INFO] Final Memory: 2M/81M
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [ERROR] The goal you specified requires a project to execute but
there is no POM in this directory
(/Users/jcook/Projects/RoundTable/RT1002/Development/target/checkout).
Please verify you invoked Maven from the correct directory. -> [Help 1]




I can't be the first person facing this problem, but I cannot find any help
online. Anyone have a suggestion?

--
View this message in context: 
http://maven.40175.n5.nabble.com/Release-plugin-when-POM-is-not-in-root-directory-tp4956364p4956364.html
Sent from the Maven - Users mailing list archive at Nabble.com.

Reply via email to