You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Apache Wiki <wi...@apache.org> on 2006/01/23 17:50:39 UTC

[Maven Wiki] Update of "M2StandardBuildPhases" by cseg

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Maven Wiki" for change notification.

The following page has been changed by cseg:
http://wiki.apache.org/maven/M2StandardBuildPhases

New page:
= Maven2 Standard Build Phases =

[http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html]

The following lists all build lifecycle phases, which are executed in the order given up to the point of the one specified.  The '''major''' built points are bolded.

||'''validate'''||validate the project is correct and all necessary information is available||
||generate-sources||generate any source code for inclusion in compilation||
||process-sources||process the source code, for example to filter any values||
||generate-resources||generate resources for inclusion in the package||
||process-resources||copy and process the resources into the destination directory, ready for packaging||
||'''compile'''||compile the source code of the project||
||process-classes||post-process the generated files from compilation, for example to do bytecode enhancement on Java classes||
||generate-test-sources||generate any test source code for inclusion in compilation||
||process-test-sources||process the test source code, for example to filter any values||
||generate-test-resources||create resources for testing||
||process-test-resources||copy and process the resources into the test destination directory||
||test-compile||compile the test source code into the test destination directory||
||'''test'''||run tests using a suitable unit testing framework. These tests should not require the code be packaged or deployed.||
||'''package'''||take the compiled code and package it in its distributable format, such as a JAR||
||before-integration-test||perform actions required before integratiob tests are executed. This may involve things such as setting up the required environment||
||'''integration-test'''||process and deploy the package if necessary into an environment where integration tests can be run||
||after-integration-test||perform actions required after integration tests have been executed. This may including cleaning up the environment||
||'''verify'''||run any checks to verify the package is valid and meets quality criteria||
||'''install'''||install the package into the local repository, for use as a dependency in other projects locally||
||'''deploy'''||done in an integration or release environment, copies the final package to the remote repository for sharing with other developers and projects||

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org