faster it with adding test dependencies

git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk@1344590 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index 520323a..95d1bda 100644
--- a/pom.xml
+++ b/pom.xml
@@ -159,6 +159,12 @@
     </dependency>
 
     <dependency>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus-container-default</artifactId>
+      <version>1.0-alpha-9-stable-1</version>
+    </dependency>
+
+    <dependency>
       <groupId>org.apache.maven.shared</groupId>
       <artifactId>maven-plugin-testing-harness</artifactId>
       <version>1.1</version>
@@ -169,6 +175,10 @@
   <profiles>
     <profile>
       <id>run-its</id>
+      <properties>
+        <groovyVersion>1.8.0</groovyVersion>
+        <groovyEclipseCompilerVersion>2.6.0-01</groovyEclipseCompilerVersion>
+      </properties>
       <build>
         <pluginManagement>
           <plugins>
@@ -195,6 +205,24 @@
           </plugins>
         </pluginManagement>
       </build>
+      <!--
+      add those dependency just to have faster it test (for folks who doesn't have those locally
+      they will be downloaded from local repo rather than central
+      -->
+      <dependencies>
+        <dependency>
+          <groupId>org.codehaus.groovy</groupId>
+          <artifactId>groovy-eclipse-compiler</artifactId>
+          <version>${groovyEclipseCompilerVersion}</version>
+          <scope>test</scope>
+        </dependency>
+        <dependency>
+          <groupId>org.codehaus.groovy</groupId>
+          <artifactId>groovy-all</artifactId>
+          <version>${groovyVersion}</version>
+          <scope>test</scope>
+        </dependency>
+      </dependencies>
     </profile>
   </profiles>
 
diff --git a/src/it/groovy-project-with-new-plexus-compiler/pom.xml b/src/it/groovy-project-with-new-plexus-compiler/pom.xml
index 5e297df..57949e5 100755
--- a/src/it/groovy-project-with-new-plexus-compiler/pom.xml
+++ b/src/it/groovy-project-with-new-plexus-compiler/pom.xml
@@ -37,7 +37,7 @@
           <dependency>

             <groupId>org.codehaus.groovy</groupId>

             <artifactId>groovy-eclipse-compiler</artifactId>

-            <version>2.6.0-01</version>

+            <version>@groovyEclipseCompilerVersion@</version>

           </dependency>

         </dependencies>

       </plugin>

@@ -80,7 +80,7 @@
     <dependency>

       <groupId>org.codehaus.groovy</groupId>

       <artifactId>groovy-all</artifactId>

-      <version>1.8.0</version>

+      <version>@groovyVersion@</version>

     </dependency>

     <dependency>

       <groupId>junit</groupId>