Re: [m2] How to exclude goal from a phase of the standard life-cycle ?

2005-11-09 Thread Pablo
Christophe DENEUX wrote: Hi friends, When starting the package lifecycle (mvn package), the goal test of the plugin surefire is run. Is it possible to exclude this goal from the lifecycle ? H http://maven.apache.org/maven2/plugins/maven-surefire-plugin/test-mojo.html Use skip

Re: [m2] How to exclude goal from a phase of the standard life-cycle ?

2005-11-09 Thread Emmanuel Venisse
you can't exclude a goal from a phase, but you can disable test compilation and execution (it isn't a best practice) mvn -Dmaven.test.skip=true package http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html Emmanuel Christophe DENEUX a écrit : Hi friends, When starting the

Re: [m2] How to exclude goal from a phase of the standard life-cycle ?

2005-11-09 Thread Christophe DENEUX
If I can't exclude a goal from a phase, is it possible to use a specific plugin configuration for a phase ? I have try the following configuration in the pom.xml of my module, but it does not work: project ... build ... plugins