2008-07-12 01:12:59 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2008-09-17 18:08:01 -04:00
|
|
|
|
2008-07-12 01:12:59 -04:00
|
|
|
<!--
|
2008-09-17 18:08:01 -04:00
|
|
|
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
|
2008-07-12 01:12:59 -04:00
|
|
|
|
2008-09-17 18:08:01 -04:00
|
|
|
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.
|
|
|
|
-->
|
|
|
|
|
2010-12-04 02:55:53 -05:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2006-10-26 01:00:09 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2008-09-17 18:08:01 -04:00
|
|
|
|
2007-01-03 08:29:04 -05:00
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.maven.its</groupId>
|
2011-07-08 16:37:00 -04:00
|
|
|
<artifactId>core-its</artifactId>
|
2007-09-23 21:31:02 -04:00
|
|
|
<version>2.1-SNAPSHOT</version>
|
2007-01-03 08:29:04 -05:00
|
|
|
</parent>
|
2008-09-17 18:08:01 -04:00
|
|
|
|
2008-09-23 11:48:07 -04:00
|
|
|
<artifactId>core-it-suite</artifactId>
|
2008-09-17 18:08:01 -04:00
|
|
|
|
2011-07-11 17:42:02 -04:00
|
|
|
<name>Maven ITs</name>
|
|
|
|
<description>The effective Maven Integration Tests suite.</description>
|
2008-09-17 18:08:01 -04:00
|
|
|
|
2009-10-09 19:24:55 -04:00
|
|
|
<!--
|
2009-12-04 10:51:18 -05:00
|
|
|
By default, the project just packages the tests in an artifact. To actually run them, activate the profile "run-its":
|
2010-07-12 06:48:09 -04:00
|
|
|
|
2009-12-04 10:51:18 -05:00
|
|
|
mvn clean test -Prun-its
|
|
|
|
|
|
|
|
This will subject the Maven version running the build to the integration tests. If you would like to test a different
|
|
|
|
Maven distribution, you can use the system property "mavenHome" to specify the path of the Maven distribution to test:
|
2010-07-12 06:48:09 -04:00
|
|
|
|
2009-12-04 10:51:18 -05:00
|
|
|
mvn clean test -Prun-its -DmavenHome=<maven-under-test>
|
|
|
|
|
2010-07-12 06:48:09 -04:00
|
|
|
Alternatively, you can just specify the version of a previously installed/deployed Maven distribution which will be
|
|
|
|
downloaded, unpacked and tested:
|
|
|
|
|
|
|
|
mvn clean test -Prun-its -DmavenVersion=2.2.1
|
|
|
|
|
2011-10-09 12:50:22 -04:00
|
|
|
It's also possible to point the ITs at an already downloaded Maven distribution:
|
|
|
|
|
|
|
|
mvn clean test -Prun-its -DmavenDistro=<path-to-bin-archive>
|
|
|
|
|
2010-07-12 06:48:09 -04:00
|
|
|
To run the ITs using embedded Maven 3.x, additionally activate the profile "embedded".
|
|
|
|
|
2009-10-12 09:52:04 -04:00
|
|
|
ITs that don't require to fork Maven can also be run from the IDE using the Maven projects from the workspace if the
|
|
|
|
Maven dependencies are added to the test class path.
|
2010-08-02 20:36:19 -04:00
|
|
|
|
|
|
|
If you're behind a proxy, use the system properties proxy.host, proxy.port, proxy.user and proxy.pass to specify the
|
2010-08-03 16:35:51 -04:00
|
|
|
required proxy setup for the ITs. Alternatively, set the system property maven.it.central to a URL of a local
|
|
|
|
repository manager that proxies the required artifacts.
|
2009-10-09 19:24:55 -04:00
|
|
|
-->
|
|
|
|
|
2008-12-11 14:24:23 -05:00
|
|
|
<properties>
|
2011-10-09 14:37:01 -04:00
|
|
|
<surefireMemory>-Xmx384m -XX:MaxPermSize=192m</surefireMemory>
|
2008-12-11 14:24:23 -05:00
|
|
|
<!-- The original Maven distribution to test. -->
|
|
|
|
<mavenHome>${maven.home}</mavenHome>
|
|
|
|
<!-- The (possibly instrumented copy of the) Maven distribution we actually use for the tests. -->
|
|
|
|
<preparedMavenHome>${mavenHome}</preparedMavenHome>
|
2010-08-02 20:36:19 -04:00
|
|
|
<!-- default properties used to filter the global settings -->
|
2011-06-28 10:31:38 -04:00
|
|
|
<maven.it.central>http://repo1.maven.org/maven2</maven.it.central>
|
2010-08-02 20:36:19 -04:00
|
|
|
<proxy.active>false</proxy.active>
|
|
|
|
<proxy.host>localhost</proxy.host>
|
|
|
|
<proxy.port>80</proxy.port>
|
|
|
|
<proxy.type>none</proxy.type>
|
|
|
|
<proxy.user></proxy.user>
|
|
|
|
<proxy.pass></proxy.pass>
|
2012-11-11 00:34:57 -05:00
|
|
|
<slf4jVersion>1.6.1</slf4jVersion>
|
2008-12-11 14:24:23 -05:00
|
|
|
</properties>
|
|
|
|
|
2008-09-17 18:08:01 -04:00
|
|
|
<dependencies>
|
2008-09-21 12:00:19 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2011-06-12 07:17:01 -04:00
|
|
|
<version>4.8.2</version>
|
2008-09-21 12:00:19 -04:00
|
|
|
<!-- NOTE: Use compile scope for transitivity. -->
|
2012-11-25 00:35:50 -05:00
|
|
|
</dependency>
|
2008-09-21 12:00:19 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-utils</artifactId>
|
2009-02-19 22:34:10 -05:00
|
|
|
<version>1.5.8</version>
|
2008-09-21 12:00:19 -04:00
|
|
|
<!-- NOTE: Use compile scope for transitivity. -->
|
|
|
|
</dependency>
|
2008-09-17 18:08:01 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.its</groupId>
|
2008-09-23 12:35:13 -04:00
|
|
|
<artifactId>maven-it-helper</artifactId>
|
2008-09-17 18:08:01 -04:00
|
|
|
<version>2.1-SNAPSHOT</version>
|
|
|
|
<!-- TODO: not transitive in tests artifact, so must be left in main scope
|
|
|
|
<scope>test</scope>
|
|
|
|
-->
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.shared</groupId>
|
|
|
|
<artifactId>maven-verifier</artifactId>
|
2012-12-29 14:57:22 -05:00
|
|
|
<version>1.4</version>
|
2008-09-17 18:08:01 -04:00
|
|
|
<!-- TODO: not transitive in tests artifact, so must be left in main scope
|
|
|
|
<scope>test</scope>
|
|
|
|
-->
|
|
|
|
</dependency>
|
|
|
|
<!--
|
|
|
|
Should be fine to introduce this here, even if we use the embedder as it should be using an isolated classloader
|
|
|
|
Used to simplify tests that provide a test HTTP server.
|
|
|
|
-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
|
|
<artifactId>jetty</artifactId>
|
2008-12-09 13:58:50 -05:00
|
|
|
<version>6.1.14</version>
|
2008-09-17 18:08:01 -04:00
|
|
|
<!-- TODO: not transitive in tests artifact, so must be left in main scope
|
|
|
|
<scope>test</scope>
|
|
|
|
-->
|
|
|
|
</dependency>
|
2012-11-25 00:35:50 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.shared</groupId>
|
|
|
|
<artifactId>maven-shared-utils</artifactId>
|
|
|
|
<version>0.1</version>
|
|
|
|
</dependency>
|
2008-09-17 18:08:01 -04:00
|
|
|
</dependencies>
|
|
|
|
|
2006-10-26 01:00:09 -04:00
|
|
|
<build>
|
2010-08-02 20:36:19 -04:00
|
|
|
<testResources>
|
|
|
|
<testResource>
|
|
|
|
<directory>src/test/resources</directory>
|
|
|
|
</testResource>
|
|
|
|
<testResource>
|
|
|
|
<directory>src/test/resources-filtered</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</testResource>
|
|
|
|
</testResources>
|
2006-10-26 01:00:09 -04:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<includes>
|
|
|
|
<include>**/IntegrationTestSuite.java</include>
|
|
|
|
</includes>
|
|
|
|
<forkMode>never</forkMode>
|
2007-09-23 21:31:02 -04:00
|
|
|
<skip>true</skip>
|
2008-07-31 11:42:31 -04:00
|
|
|
<systemProperties>
|
|
|
|
<property>
|
|
|
|
<name>maven.version</name>
|
|
|
|
<value>${maven.version}</value>
|
|
|
|
</property>
|
2008-12-11 14:24:23 -05:00
|
|
|
<property>
|
|
|
|
<name>maven.home</name>
|
|
|
|
<value>${preparedMavenHome}</value>
|
|
|
|
</property>
|
2010-08-02 20:36:19 -04:00
|
|
|
<property>
|
2010-08-03 16:35:51 -04:00
|
|
|
<name>maven.it.global-settings.dir</name>
|
|
|
|
<value>${project.build.testOutputDirectory}</value>
|
2010-08-02 20:36:19 -04:00
|
|
|
</property>
|
2008-07-31 11:42:31 -04:00
|
|
|
</systemProperties>
|
2006-10-26 01:00:09 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2007-09-23 21:31:02 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>test-jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2006-10-26 01:00:09 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2008-09-17 18:08:01 -04:00
|
|
|
|
2007-09-23 21:31:02 -04:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>run-its</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>false</skip>
|
|
|
|
</configuration>
|
2008-09-23 11:48:07 -04:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
2007-09-23 21:31:02 -04:00
|
|
|
</build>
|
2011-09-29 18:06:03 -04:00
|
|
|
<dependencies>
|
|
|
|
<!-- not really used but will force download in the local repo used -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
|
|
<artifactId>wagon-webdav-jackrabbit</artifactId>
|
|
|
|
<version>2.0</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
2012-11-10 23:36:28 -05:00
|
|
|
<version>${slf4jVersion}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-simple</artifactId>
|
|
|
|
<version>${slf4jVersion}</version>
|
2011-09-29 18:06:03 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2007-09-23 21:31:02 -04:00
|
|
|
</profile>
|
2009-07-22 17:37:30 -04:00
|
|
|
<profile>
|
|
|
|
<id>maven-repo-local</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>maven.repo.local</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemProperties combine.children="append">
|
|
|
|
<property>
|
|
|
|
<!-- Pass this through to the tests (if set!) to have them pick the right repository -->
|
|
|
|
<name>maven.repo.local</name>
|
|
|
|
<value>${maven.repo.local}</value>
|
|
|
|
</property>
|
|
|
|
</systemProperties>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2010-12-17 11:06:59 -05:00
|
|
|
<profile>
|
|
|
|
<id>maven-repo-local-layout</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>maven.repo.local.layout</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemProperties combine.children="append">
|
|
|
|
<property>
|
|
|
|
<!-- Pass this through to the tests (if set!) to have them pick the right repository layout -->
|
|
|
|
<name>maven.repo.local.layout</name>
|
|
|
|
<value>${maven.repo.local.layout}</value>
|
|
|
|
</property>
|
|
|
|
</systemProperties>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2010-02-14 18:44:20 -05:00
|
|
|
<profile>
|
|
|
|
<id>embedded</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
2010-08-03 16:43:23 -04:00
|
|
|
<skip>false</skip>
|
2010-02-14 18:44:20 -05:00
|
|
|
<forkMode>once</forkMode>
|
2011-01-06 10:53:56 -05:00
|
|
|
<argLine>${surefireMemory} -Dcom.sun.management.jmxremote=true</argLine>
|
2010-08-04 17:10:25 -04:00
|
|
|
<!-- NOTE: Maven plugins have access to the system class path so keep it clean -->
|
|
|
|
<useSystemClassLoader>false</useSystemClassLoader>
|
2010-02-14 18:44:20 -05:00
|
|
|
<systemProperties combine.children="append">
|
|
|
|
<property>
|
|
|
|
<name>verifier.forkMode</name>
|
|
|
|
<value>auto</value>
|
|
|
|
</property>
|
2010-02-15 12:15:24 -05:00
|
|
|
<property>
|
|
|
|
<name>emma.rt.control</name>
|
|
|
|
<value>false</value>
|
|
|
|
</property>
|
2010-02-14 18:44:20 -05:00
|
|
|
</systemProperties>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2010-07-12 06:48:09 -04:00
|
|
|
<profile>
|
2011-10-09 12:50:22 -04:00
|
|
|
<id>maven-from-repo</id>
|
2010-07-12 06:48:09 -04:00
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>mavenVersion</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<mavenHome>${project.build.directory}/apache-maven</mavenHome>
|
|
|
|
</properties>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>false</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<version>2.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>download-maven-distro</id>
|
|
|
|
<phase>process-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>apache-maven</artifactId>
|
|
|
|
<version>${mavenVersion}</version>
|
|
|
|
<classifier>bin</classifier>
|
|
|
|
<type>zip</type>
|
|
|
|
<destFileName>maven-bin.zip</destFileName>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
<outputDirectory>${project.build.directory}</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<version>1.3</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>unpack-maven-distro</id>
|
|
|
|
<phase>process-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
|
|
|
<delete dir="${mavenHome}"/>
|
|
|
|
<unzip src="${project.build.directory}/maven-bin.zip" dest="${mavenHome}">
|
|
|
|
<globmapper from="apache-maven-${mavenVersion}/*" to="*" handledirsep="true" />
|
|
|
|
</unzip>
|
|
|
|
<chmod dir="${mavenHome}/bin" perm="ugo+rx" includes="mvn,mvnDebug"/>
|
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2011-10-09 12:50:22 -04:00
|
|
|
<profile>
|
|
|
|
<id>maven-distro</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>mavenDistro</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<mavenHome>${project.build.directory}/apache-maven</mavenHome>
|
|
|
|
</properties>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>false</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<version>1.6</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>unpack-maven-distro</id>
|
|
|
|
<phase>process-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
|
|
|
<delete dir="${mavenHome}"/>
|
|
|
|
<unzip src="${mavenDistro}" dest="${mavenHome}">
|
|
|
|
<regexpmapper from="^([^/]+)/(.*)$" to="\2" handledirsep="true" />
|
|
|
|
</unzip>
|
|
|
|
<chmod dir="${mavenHome}/bin" perm="ugo+rx" includes="mvn,mvnDebug"/>
|
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2008-12-11 14:24:23 -05:00
|
|
|
<profile>
|
|
|
|
<id>emma</id>
|
|
|
|
<properties>
|
|
|
|
<preparedMavenHome>${project.build.directory}/distro</preparedMavenHome>
|
|
|
|
</properties>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>false</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<version>1.3</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-maven-distro</id>
|
|
|
|
<phase>process-test-classes</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
2009-04-12 06:50:26 -04:00
|
|
|
<delete dir="${preparedMavenHome}"/>
|
|
|
|
<copy todir="${preparedMavenHome}" overwrite="true">
|
2008-12-11 14:24:23 -05:00
|
|
|
<fileset dir="${mavenHome}"/>
|
|
|
|
</copy>
|
2009-04-12 06:50:26 -04:00
|
|
|
<chmod dir="${preparedMavenHome}/bin" perm="ugo+rx" includes="mvn,mvnDebug"/>
|
2008-12-11 14:24:23 -05:00
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<version>2.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>inject-emma-into-core-realm</id>
|
|
|
|
<phase>process-test-classes</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>emma</groupId>
|
|
|
|
<artifactId>emma</artifactId>
|
2009-02-25 14:46:56 -05:00
|
|
|
<version>2.1.5320</version>
|
2008-12-11 14:24:23 -05:00
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
2009-04-12 06:50:26 -04:00
|
|
|
<outputDirectory>${preparedMavenHome}/lib</outputDirectory>
|
2008-12-11 14:24:23 -05:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.sonatype.maven.plugin</groupId>
|
|
|
|
<artifactId>emma4it-maven-plugin</artifactId>
|
2009-02-25 14:46:56 -05:00
|
|
|
<version>1.2</version>
|
2008-12-11 14:24:23 -05:00
|
|
|
<configuration>
|
2009-01-04 12:45:32 -05:00
|
|
|
<jarSets>
|
|
|
|
<jarSet>
|
2009-04-12 06:50:26 -04:00
|
|
|
<directory>${preparedMavenHome}/lib</directory>
|
2009-01-04 12:45:32 -05:00
|
|
|
<includes>
|
|
|
|
<include>maven*.jar</include>
|
|
|
|
</includes>
|
|
|
|
</jarSet>
|
|
|
|
</jarSets>
|
|
|
|
<includes>
|
|
|
|
<include>org.apache.maven.*</include>
|
|
|
|
</includes>
|
2010-09-01 05:21:05 -04:00
|
|
|
<excludes>
|
|
|
|
<exclude>*.io.xpp3.*</exclude>
|
|
|
|
<exclude>*Exception</exclude>
|
|
|
|
</excludes>
|
2009-01-04 12:45:32 -05:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>instrument</id>
|
|
|
|
<phase>process-test-classes</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>instrument</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>report</id>
|
|
|
|
<phase>test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>report</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<filesets>
|
|
|
|
<fileset>
|
|
|
|
<directory>${basedir}</directory>
|
|
|
|
<includes>
|
|
|
|
<include>coverage.ec</include>
|
|
|
|
</includes>
|
|
|
|
</fileset>
|
|
|
|
</filesets>
|
2008-12-11 14:24:23 -05:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
2009-01-04 12:45:32 -05:00
|
|
|
</build>
|
2008-12-11 14:24:23 -05:00
|
|
|
</profile>
|
2010-08-02 20:36:19 -04:00
|
|
|
<profile>
|
|
|
|
<id>proxy</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>proxy.host</name>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<proxy.type>http</proxy.type>
|
|
|
|
<proxy.active>true</proxy.active>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
2007-09-23 21:31:02 -04:00
|
|
|
</profiles>
|
2006-10-26 01:00:09 -04:00
|
|
|
</project>
|