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: 

Bamboo error on using Maven Profile

Deepak Khanna
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!
January 22, 2015

I'm using Maven 3.2.3 executable in one of my bamboo task. and in the goal I've specified :

clean package -Ptest -DskipTests

Bamboo is complaining about [ERROR] Unknown lifecycle phase "–Ptest".  In order to create build I need to execute using this profile defined in my POM file, how & where I can specify my build to use this profile.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Krystian Brazulewicz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 22, 2015

Please make sure you entered a correct dash character before P. It happens often if you copy-paste command from documentation or web page.

TAGS
AUG Leaders

Atlassian Community Events