mirror of https://github.com/apache/maven.git
clarification of order
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191261 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
54d1ee227a
commit
d82ab9aed6
|
@ -102,6 +102,9 @@ m2 clean:clean install
|
||||||
enough information - you must also specify the goals you want run as part of your build.
|
enough information - you must also specify the goals you want run as part of your build.
|
||||||
|
|
||||||
The goals that are configured will be added to the goals already bound to the lifecycle from the packaging selected.
|
The goals that are configured will be added to the goals already bound to the lifecycle from the packaging selected.
|
||||||
|
If more than one goal is bound to a particular phase, the order used is that those from the packaging are executed
|
||||||
|
first, followed by those configured in the POM. Note that you can use the <<<executions>>> element to gain more
|
||||||
|
control over the order of particular goals.
|
||||||
|
|
||||||
For example, the Modello plugin always binds <<<modello:java>>> to the <<<generate-sources>>> phase. So to use the
|
For example, the Modello plugin always binds <<<modello:java>>> to the <<<generate-sources>>> phase. So to use the
|
||||||
Modello plugin and have it generate sources from a model and incorporate that into the build, you would add the
|
Modello plugin and have it generate sources from a model and incorporate that into the build, you would add the
|
||||||
|
|
Loading…
Reference in New Issue