Author: vmassol Date: Thu Dec 29 10:19:31 2005 New Revision: 359866 URL: http://svn.apache.org/viewcvs?rev=359866&view=rev Log: Adding 2 new phases related to integration tests: - before-integration-test: perform actions required before integratiob tests are executed. This may involve things such as setting up the required environment. - after-integration-test: perform actions required after integration tests have been executed. This may including cleaning up the environment.
Modified: maven/components/trunk/maven-core/src/main/resources/META-INF/plexus/components.xml maven/site/trunk/src/site/apt/guides/introduction/introduction-to-the-lifecycle.apt Modified: maven/components/trunk/maven-core/src/main/resources/META-INF/plexus/components.xml URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-core/src/main/resources/META-INF/plexus/components.xml?rev=359866&r1=359865&r2=359866&view=diff ============================================================================== --- maven/components/trunk/maven-core/src/main/resources/META-INF/plexus/components.xml (original) +++ maven/components/trunk/maven-core/src/main/resources/META-INF/plexus/components.xml Thu Dec 29 10:19:31 2005 @@ -221,7 +221,9 @@ <phase>test-compile</phase> <phase>test</phase> <phase>package</phase> + <phase>before-integration-test</phase> <phase>integration-test</phase> + <phase>after-integration-test</phase> <phase>verify</phase> <phase>install</phase> <phase>deploy</phase> Modified: maven/site/trunk/src/site/apt/guides/introduction/introduction-to-the-lifecycle.apt URL: http://svn.apache.org/viewcvs/maven/site/trunk/src/site/apt/guides/introduction/introduction-to-the-lifecycle.apt?rev=359866&r1=359865&r2=359866&view=diff ============================================================================== --- maven/site/trunk/src/site/apt/guides/introduction/introduction-to-the-lifecycle.apt (original) +++ maven/site/trunk/src/site/apt/guides/introduction/introduction-to-the-lifecycle.apt Thu Dec 29 10:19:31 2005 @@ -194,7 +194,11 @@ *-------------------------------+--------------------------------------------------------------------------------------+ | <<<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. *-------------------------------+--------------------------------------------------------------------------------------+