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:
...
...
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 "pa
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" config