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.
Please make sure you entered a correct dash character before P. It happens often if you copy-paste command from documentation or web page.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.