Hi,

Yes I realise I changed the build to use Java 1.6. But that was my point.
If we only build and test the plugin with 1.6/2.2.1 we will not be sure
that it works for 1.5/2.0.6. Since maven recommends 2.2.1 if you don't need
Java 1.4 compat, and Java 1.5 is nearly 10 years old and was EOL 4 years
ago. I thought it was about time to drop (official) support for those.

If someone objects to the dropping support for Maven 2.0.6 and Java 1.5 in
rpm-maven-plugin 2.1-alpha-4 I'm open for a discussion.

Also see http://jira.codehaus.org/browse/MRPM-140

// Rickard von Essen




On Tue, Dec 31, 2013 at 1:26 PM, Robert Scholte
<codeh...@sourcegrounds.com>wrote:

> 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 <rickard.v.es...@codehaus.org>:
>
>  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>rickard.von.es...@gmail.com</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