Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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
TAGS
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

912 views 4 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