I have a maven pom.xml file with multiple instances of a same goal defined (inside <execution> with different <id>s).
I’m wondering how I can run a specific goal via maven command line. I’ve tried mvn –help, but I couldn’t find an entry regarding this.
Answering my own question is always fun, especially the answer is “no, you can’t do it.”
After many Google searches, I’ve encountered the following article:
http://docs.codehaus.org/display/MAVENUSER/Default+Plugin+Execution+IDs