Maven profile could not be activated error

Hi,

I started the setup of bamboo for the deployment on the QA Server as well on the Dev Server. We have dev branch for devs, once it gets merge with the master after current iteration, I want to deploy the code on the QA server. I have my deployment project here. When i deploy it it gives an error like  :

The requested profile "autoInstallPackage" could not be activated because it does not exist.
21-Jul-2015 12:05:43[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (C:\Users\test\bamboo-home\xml-data\build-dir\786433-851969). Please verify you invoked Maven from the correct directory. -> [Help 1]

How can i solve this.

Thanks

1 answer

0 votes

Hello Govindaraj,

It looks like Maven can't find pom.xml file at working dir. To confirm it you can create Script task and execute ls -l or dir command. Then in logs you can see list of files at working dir. Then you can configure Maven task to run at correct folder which contains pom.xml file required by Maven

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Dec 10, 2018 in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

204 views 6 7
Join discussion

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