The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Maven profile could not be activated error

Govindaraj Ramaraj
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 20, 2015

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 5, 2015

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

TAGS
AUG Leaders

Atlassian Community Events