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:
Brett Leslie Porter 2005-06-18 03:16:52 +00:00
parent 54d1ee227a
commit d82ab9aed6
1 changed files with 3 additions and 0 deletions

View File

@ -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