[jboss-dev] Enforcing JDK6 in AS trunk
Jaikiran Pai
jpai at redhat.com
Wed Sep 9 11:43:00 EDT 2009
Stan Silvert wrote:
> Is it possible to require a certain revision (or higher) of 1.6? I
> can remember that the build wouldn't work with some older revisions of
> 1.6.
>
> Stan
That should be possible
http://maven.apache.org/enforcer/enforcer-rules/requireJavaVersion.html
-Jaikiran
>
> Jaikiran Pai wrote:
>> Resending, since the previous mail never made it to the list.
>>
>> -Jaikiran
>>
>> Jaikiran Pai wrote:
>>
>>> Hello everyone,
>>>
>>> Half way while building a clean AS trunk today, the build failed with
>>> incompatible class versions. With the recent changes to AS trunk, JDK6
>>> is now mandatory for the build to complete successfully. If no one has
>>> any objections, i'll update the parent pom.xml in AS trunk to enforce
>>> this through the enforcer plugin:
>>>
>>>
>>> Index: pom.xml
>>> ===================================================================
>>> --- pom.xml (revision 93223)
>>> +++ pom.xml (working copy)
>>> @@ -609,7 +609,7 @@
>>> <version>2.0.9</version>
>>> </requireMavenVersion>
>>> <requireJavaVersion>
>>> - <version>1.5</version>
>>> + <version>1.6</version>
>>> </requireJavaVersion>
>>> </rules>
>>> </configuration>
>>>
>>>
>>> regards,
>>> -Jaikiran
>>>
>>>
>>
>> _______________________________________________
>> jboss-development mailing list
>> jboss-development at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-development
>>
>
More information about the jboss-development
mailing list