It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

812 views 2 7
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you