Hi,

"Running IT's requires Maven 2.2.1 and Java 1.6"

This is not exactly how it works.
Now you have defined it for the build as well, not only the ITs.

Better is to configure the maven-invoker-plugin, preferred an invoker.properties per test like:
invoker.maven.version = 2.2.1+
invoker.java.version = 1.6+

See http://maven.apache.org/plugins/maven-invoker-plugin/run-mojo.html#invokerPropertiesFile

Robert

Op Tue, 31 Dec 2013 13:20:14 +0100 schreef <[email protected]>:

Revision:

19160
Author:

rickard.v.essen
Date:

2013-12-31 06:20:11 -0600 (Tue, 31 Dec 2013)

Log Message

[MRPM-151] Running IT's requires Maven 2.2.1 and Java 1.6

Added requirements
- Maven 2.2.1
- Java 1.6
and dependency:
- org.codehaus.plexus:plexus-interpolation:1.13

Modified Paths

trunk/mojo/rpm-maven-plugin/pom.xml

Diff

Modified: trunk/mojo/rpm-maven-plugin/pom.xml (19159 => 19160)



--- trunk/mojo/rpm-maven-plugin/pom.xml 2013-12-31 08:51:21 UTC (rev 19159) +++ trunk/mojo/rpm-maven-plugin/pom.xml 2013-12-31 12:20:11 UTC (rev 19160)

@@ -88,6 +88,9 @@

     </contributor>

     <contributor>

       <name>Rickard von Essen</name>

+      <email>[email protected]</email>
+      <organization>Diabol AB</organization>
+      <organizationUrl>http://www.diabol.se</organizationUrl>

       <roles>

         <role>Java Developer</role>

       </roles>

@@ -135,6 +138,11 @@

     </dependency>

     <dependency>

       <groupId>org.codehaus.plexus</groupId>

+      <artifactId>plexus-interpolation</artifactId>
+      <version>1.13</version>
+    </dependency>
+    <dependency>
+      <groupId>org.codehaus.plexus</groupId>

       <artifactId>plexus-archiver</artifactId>

       <version>2.1.2</version>

     </dependency>

@@ -146,7 +154,8 @@

   </dependencies>


   <properties>

-    <mavenVersion>2.0.6</mavenVersion>

+    <mavenVersion>2.2.1</mavenVersion>
+    <mojo.java.target>1.6</mojo.java.target>

   </properties>


   <reporting>

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to