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

Bamboo error on using Maven Profile

Deepak Khanna 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

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events