You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2012/08/03 20:15:15 UTC

svn commit: r1369138 - /maven/surefire/trunk/surefire-integration-tests/pom.xml

Author: olamy
Date: Fri Aug  3 18:15:14 2012
New Revision: 1369138

URL: http://svn.apache.org/viewvc?rev=1369138&view=rev
Log:
add a profile to be able to run surefire it test with maven 2.2.1

Modified:
    maven/surefire/trunk/surefire-integration-tests/pom.xml

Modified: maven/surefire/trunk/surefire-integration-tests/pom.xml
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/surefire-integration-tests/pom.xml?rev=1369138&r1=1369137&r2=1369138&view=diff
==============================================================================
--- maven/surefire/trunk/surefire-integration-tests/pom.xml (original)
+++ maven/surefire/trunk/surefire-integration-tests/pom.xml Fri Aug  3 18:15:14 2012
@@ -163,5 +163,43 @@
       </dependencies>
     </profile>
 
+    <profile>
+      <id>maven-2.2.1</id>
+      <properties>
+        <mavenHomeUsed>${project.build.directory}/maven-extract/apache-maven-2.2.1</mavenHomeUsed>
+      </properties>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-dependency-plugin</artifactId>
+            <version>2.4</version>
+            <executions>
+              <execution>
+                <id>unpack</id>
+                <phase>package</phase>
+                <goals>
+                  <goal>unpack</goal>
+                </goals>
+                <configuration>
+                  <artifactItems>
+                    <artifactItem>
+                      <groupId>org.apache.maven</groupId>
+                      <artifactId>apache-maven</artifactId>
+                      <version>2.2.1</version>
+                      <type>tar.gz</type>
+                      <classifier>bin</classifier>
+                      <overWrite>false</overWrite>
+                      <outputDirectory>${project.build.directory}/maven-extract</outputDirectory>
+                    </artifactItem>
+                  </artifactItems>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+
   </profiles>
 </project>