Given a <plugin> element in a pom.xml, how do I find the default phase that it binds to?
For example, I’d like to know which phase of the Maven lifecycle does the maven-war-plugin gets executed.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The best way to see what’s really happening in your project along those lines is with
mvn help:effective-pom. It doesn’t just show the defaults; it shows what actually is according to your current pom.