blob: a736fde437f734248dc7cb48c510b2d0efdb9a23 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.maven.its.it0144</groupId>
<artifactId>test</artifactId>
<version>1.0</version>
<packaging>jar</packaging>
<name>Maven Integration Test :: it0144</name>
<description>
Test that the lifecycle phases execute in proper order.
</description>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.its.plugins</groupId>
<artifactId>maven-it-plugin-log-file</artifactId>
<version>2.1-SNAPSHOT</version>
<executions>
<!-- default lifecycle -->
<execution>
<id>validate</id>
<phase>validate</phase>
<goals>
<goal>log-string</goal>
</goals>
<configuration>
<logFile>target/phases.log</logFile>
<string>validate</string>
</configuration>
</execution>
<execution>
<id>initialize</id>
<phase>initialize</phase>
<goals>
<goal>log-string</goal>
</goals>
<configuration>
<logFile>target/phases.log</logFile>
<string>initialize</string>
</configuration>
</execution>
<execution>
<id>generate-sources</id>
<phase>generate-sources</phase>
<goals>
<goal>log-string</goal>
</goals>
<configuration>
<logFile>target/phases.log</logFile>
<string>generate-sources</string>
</configuration>
</execution>
<execution>
<id>process-sources</id>
<phase>process-sources</phase>
<goals>
<goal>log-string</goal>
</goals>
<configuration>
<logFile>target/phases.log</logFile>
<string>process-sources</string>
</configuration>
</execution>
<execution>
<id>generate-resources</id>
<phase>generate-resources</phase>
<goals>
<goal>log-string</goal>
</goals>
<configuration>
<logFile>target/phases.log</logFile>
<string>generate-resources</string>
</configuration>
</execution>
<execution>
<id>process-resources</id>
<phase>process-resources</phase>
<goals>
<goal>log-string</goal>
</goals>
<configuration>
<logFile>target/phases.log</logFile>
<string>process-resources</string>
</configuration>
</execution>
<execution>
<id>compile</id>
<phase>compile</phase>
<goals>
<goal>log-string</goal>
</goals>
<configuration>
<logFile>target/phases.log</logFile>
<string>compile</string>
</configuration>
</execution>
<execution>
<id>process-classes</id>
<phase>process-classes</phase>
<goals>
<goal>log-string</goal>
</goals>
<configuration>
<logFile>target/phases.log</logFile>
<string>process-classes</string>
</configuration>
</execution>
<execution>
<id>generate-test-sources</id>
<phase>generate-test-sources</phase>
<goals>
<goal>log-string</goal>
</goals>
<configuration>
<logFile>target/phases.log</logFile>
<string>generate-test-sources</string>
</configuration>
</execution>
<execution>
<id>process-test-sources</id>
<phase>process-test-sources</phase>
<goals>
<goal>log-string</goal>
</goals>
<configuration>
<logFile>target/phases.log</logFile>
<string>process-test-sources</string>
</configuration>
</execution>
<execution>
<id>generate-test-resources</id>
<phase>generate-test-resources</phase>
<goals>
<goal>log-string</goal>
</goals>
<configuration>
<logFile>target/phases.log</logFile>
<string>generate-test-resources</string>
</configuration>
</execution>
<execution>
<id>process-test-resources</id>
<phase>process-test-resources</phase>
<goals>
<goal>log-string</goal>
</goals>
<configuration>
<logFile>target/phases.log</logFile>
<string>process-test-resources</string>
</configuration>
</execution>
<execution>
<id>test-compile</id>
<phase>test-compile</phase>
<goals>
<goal>log-string</goal>
</goals>
<configuration>
<logFile>target/phases.log</logFile>
<string>test-compile</string>
</configuration>
</execution>
<execution>
<id>process-test-classes</id>
<phase>process-test-classes</phase>
<goals>
<goal>log-string</goal>
</goals>
<configuration>
<logFile>target/phases.log</logFile>
<string>process-test-classes</string>
</configuration>
</execution>
<execution>
<id>test</id>
<phase>test</phase>
<goals>
<goal>log-string</goal>
</goals>
<configuration>
<logFile>target/phases.log</logFile>
<string>test</string>
</configuration>
</execution>
<execution>
<id>prepare-package</id>
<phase>prepare-package</phase>
<goals>
<goal>log-string</goal>
</goals>
<configuration>
<logFile>target/phases.log</logFile>
<string>prepare-package</string>
</configuration>
</execution>
<execution>
<id>package</id>
<phase>package</phase>
<goals>
<goal>log-string</goal>
</goals>
<configuration>
<logFile>target/phases.log</logFile>
<string>package</string>
</configuration>
</execution>
<execution>
<id>pre-integration-test</id>
<phase>pre-integration-test</phase>
<goals>
<goal>log-string</goal>
</goals>
<configuration>
<logFile>target/phases.log</logFile>
<string>pre-integration-test</string>
</configuration>
</execution>
<execution>
<id>integration-test</id>
<phase>integration-test</phase>
<goals>
<goal>log-string</goal>
</goals>
<configuration>
<logFile>target/phases.log</logFile>
<string>integration-test</string>
</configuration>
</execution>
<execution>
<id>post-integration-test</id>
<phase>post-integration-test</phase>
<goals>
<goal>log-string</goal>
</goals>
<configuration>
<logFile>target/phases.log</logFile>
<string>post-integration-test</string>
</configuration>
</execution>
<execution>
<id>verify</id>
<phase>verify</phase>
<goals>
<goal>log-string</goal>
</goals>
<configuration>
<logFile>target/phases.log</logFile>
<string>verify</string>
</configuration>
</execution>
<execution>
<id>install</id>
<phase>install</phase>
<goals>
<goal>log-string</goal>
</goals>
<configuration>
<logFile>target/phases.log</logFile>
<string>install</string>
</configuration>
</execution>
<execution>
<id>deploy</id>
<phase>deploy</phase>
<goals>
<goal>log-string</goal>
</goals>
<configuration>
<logFile>target/phases.log</logFile>
<string>deploy</string>
</configuration>
</execution>
<!-- clean lifecycle -->
<execution>
<id>pre-clean</id>
<phase>pre-clean</phase>
<goals>
<goal>log-string</goal>
</goals>
<configuration>
<logFile>target/phases.log</logFile>
<string>pre-clean</string>
</configuration>
</execution>
<execution>
<id>clean</id>
<phase>clean</phase>
<goals>
<goal>log-string</goal>
</goals>
<configuration>
<logFile>target/phases.log</logFile>
<string>clean</string>
</configuration>
</execution>
<execution>
<id>post-clean</id>
<phase>post-clean</phase>
<goals>
<goal>log-string</goal>
</goals>
<configuration>
<logFile>target/phases.log</logFile>
<string>post-clean</string>
</configuration>
</execution>
<!-- site lifecycle -->
<execution>
<id>pre-site</id>
<phase>pre-site</phase>
<goals>
<goal>log-string</goal>
</goals>
<configuration>
<logFile>target/phases.log</logFile>
<string>pre-site</string>
</configuration>
</execution>
<execution>
<id>site</id>
<phase>site</phase>
<goals>
<goal>log-string</goal>
</goals>
<configuration>
<logFile>target/phases.log</logFile>
<string>site</string>
</configuration>
</execution>
<execution>
<id>post-site</id>
<phase>post-site</phase>
<goals>
<goal>log-string</goal>
</goals>
<configuration>
<logFile>target/phases.log</logFile>
<string>post-site</string>
</configuration>
</execution>
<execution>
<id>site-deploy</id>
<phase>site-deploy</phase>
<goals>
<goal>log-string</goal>
</goals>
<configuration>
<logFile>target/phases.log</logFile>
<string>site-deploy</string>
</configuration>
</execution>
</executions>
</plugin>
<!-- NOTE: Be sure to use stub plugins here to avoid interferences from the production plugins. -->
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>0.1-stub-SNAPSHOT</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>0.1-stub-SNAPSHOT</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>0.1-stub-SNAPSHOT</version>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>0.1-stub-SNAPSHOT</version>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>0.1-stub-SNAPSHOT</version>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>0.1-stub-SNAPSHOT</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>0.1-stub-SNAPSHOT</version>
</plugin>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>0.1-stub-SNAPSHOT</version>
</plugin>
</plugins>
</build>
</project>