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/05/31 10:08:32 UTC

svn commit: r1344590 - in /maven/plugins/trunk/maven-compiler-plugin: pom.xml src/it/groovy-project-with-new-plexus-compiler/pom.xml

Author: olamy
Date: Thu May 31 08:08:31 2012
New Revision: 1344590

URL: http://svn.apache.org/viewvc?rev=1344590&view=rev
Log:
faster it with adding test dependencies

Modified:
    maven/plugins/trunk/maven-compiler-plugin/pom.xml
    maven/plugins/trunk/maven-compiler-plugin/src/it/groovy-project-with-new-plexus-compiler/pom.xml

Modified: maven/plugins/trunk/maven-compiler-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/pom.xml?rev=1344590&r1=1344589&r2=1344590&view=diff
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-compiler-plugin/pom.xml Thu May 31 08:08:31 2012
@@ -159,6 +159,12 @@ under the License.
     </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 @@ under the License.
   <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 @@ under the License.
           </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>
 

Modified: maven/plugins/trunk/maven-compiler-plugin/src/it/groovy-project-with-new-plexus-compiler/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/it/groovy-project-with-new-plexus-compiler/pom.xml?rev=1344590&r1=1344589&r2=1344590&view=diff
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/it/groovy-project-with-new-plexus-compiler/pom.xml (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/it/groovy-project-with-new-plexus-compiler/pom.xml Thu May 31 08:08:31 2012
@@ -37,7 +37,7 @@ xsi:schemaLocation="http://maven.apache.
           <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 @@ xsi:schemaLocation="http://maven.apache.
     <dependency>
       <groupId>org.codehaus.groovy</groupId>
       <artifactId>groovy-all</artifactId>
-      <version>1.8.0</version>
+      <version>@groovyVersion@</version>
     </dependency>
     <dependency>
       <groupId>junit</groupId>