Hi,

I am really puzzled about how 'Build in life-cycle bindings' works in Maven.


For example, 'jar' packaging, the default life-cycle bindings contains nine
phases - *process-resources,compile,process-test-resources,test-compile, test,
package, **install, deploy*. Actually, each phases 'build-in' binds to a
goal of plug-in. Moreover, Considering executing a goal of plug-in in Maven.


As far as I know, we should add the specify plugin into <build> element with
the specify execution goal(s). So I think such build-in life-cycle maybe
were defined in the super pom.xml, then I refer to it (
https://svn.apache.org/repos/asf/maven/components/branches/maven-2.0.x/maven-project/src/main/resources/org/apache/maven/project/pom-4.0.0.xml
)<https://svn.apache.org/repos/asf/maven/components/branches/maven-2.0.x/maven-project/src/main/resources/org/apache/maven/project/pom-4.0.0.xml>,
however,  I have not found anything I want. Could someone shed some light on
this? Or pull me out if I made mistake here.

Thanks.

Linghua.

Reply via email to