From 89523769f5d9976a1286cc5696bb6c42124d3215 Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Sun, 9 Oct 2011 16:50:22 +0000 Subject: [PATCH] o Added profile to point ITs at already downloaded but unpacked Maven distro git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@1180647 13f79535-47bb-0310-9956-ffa450edef68 --- its/core-it-suite/pom.xml | 50 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 49 insertions(+), 1 deletion(-) diff --git a/its/core-it-suite/pom.xml b/its/core-it-suite/pom.xml index 95003949ef..8d8fb8992f 100644 --- a/its/core-it-suite/pom.xml +++ b/its/core-it-suite/pom.xml @@ -48,6 +48,10 @@ under the License. mvn clean test -Prun-its -DmavenVersion=2.2.1 + It's also possible to point the ITs at an already downloaded Maven distribution: + + mvn clean test -Prun-its -DmavenDistro= + To run the ITs using embedded Maven 3.x, additionally activate the profile "embedded". ITs that don't require to fork Maven can also be run from the IDE using the Maven projects from the workspace if the @@ -273,7 +277,7 @@ under the License. - maven-distro + maven-from-repo mavenVersion @@ -343,6 +347,50 @@ under the License. + + maven-distro + + + mavenDistro + + + + ${project.build.directory}/apache-maven + + + + + maven-surefire-plugin + + false + + + + org.apache.maven.plugins + maven-antrun-plugin + 1.6 + + + unpack-maven-distro + process-test-resources + + run + + + + + + + + + + + + + + + + emma