Problem with Proj MAVEN 2 in Bamboo 4.3 MAVEN 3

I have a project created in maven 2 and when I try to take my job within maven 3.x to run the clean task the following error:

06-Nov-2012 16:34:45 [INFO] BUILD FAILURE
06-Nov-2012 16:34:45 [INFO] ------------------------------------------------------------------------
06-Nov-2012 16:34:45 [INFO] Total time: 0.089s
06-Nov-2012 16:34:45 [INFO] Finished at: Tue Nov 06 16:34:45 BOT 2012
06-Nov-2012 16:34:45 [INFO] Final Memory: 12M/724M
06-Nov-2012 16:34:45 [INFO] ------------------------------------------------------------------------
06-Nov-2012 16:34:45 [ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/opt/atlassian/bamboo-home/xml-data/build-dir/PSP2-PM2001-JOB1). Please verify you invoked Maven from the correct directory. -> [Help 1]
06-Nov-2012 16:34:45 org.apache.maven.lifecycle.MissingProjectException: The goal you specified requires a project to execute but there is no POM in this directory (/opt/atlassian/bamboo-home/xml-data/build-dir/PSP2-PM2001-JOB1). Please verify you invoked Maven from the correct directory.
06-Nov-2012 16:34:45 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:89)
06-Nov-2012 16:34:45 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
06-Nov-2012 16:34:45 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
06-Nov-2012 16:34:45 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
06-Nov-2012 16:34:45 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
06-Nov-2012 16:34:45 at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
06-Nov-2012 16:34:45 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
06-Nov-2012 16:34:45 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
06-Nov-2012 16:34:45 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
06-Nov-2012 16:34:45 at java.lang.reflect.Method.invoke(Method.java:601)
06-Nov-2012 16:34:45 at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
06-Nov-2012 16:34:45 at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
06-Nov-2012 16:34:45 at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
06-Nov-2012 16:34:45 at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
06-Nov-2012 16:34:45 [ERROR]
06-Nov-2012 16:34:45 [ERROR]
06-Nov-2012 16:34:45 [ERROR] For more information about the errors and possible solutions, please read the following articles:
06-Nov-2012 16:34:45

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException

HELPME PLEASE

SEE YOU

1 answer

1 accepted

From the looks of your log, there is no maven project to run the command with.

The goal you specified requires a project to execute but there is no POM in this directory (/opt/atlassian/bamboo-home/xml-data/build-dir/PSP2-PM2001-JOB1). Please verify you invoked Maven from the correct directory. ->

within this project if there is a pom.xml ... but for some reason when you check out does not copy the pom.xml in the route you mention

thanks

Check the logs as your checkout needs to be happening in the same directory as where maven is running. If you have problems finding this out, best to contact support :)

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,801 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you