I have this rule set up running under 3.0 and it works fine:
<rules>
<requireJavaVersion>
<version>1.6</version>
</requireJavaVersion>
...
</rules>
What's the tag for the rule that is failing for you?
---
Nayan Hajratwala
http://agileshrugged.com
http://twitter.com/nhajratw
734.658.6032
On Oct 8, 2010, at 6:00 PM, Jason Chaffee wrote:
> So is there documentation on how I can configure that rule in 3.0? I
> looked around the site, couldn't find anything.
>
> Thanks.
>
> -----Original Message-----
> From: Brian Fox [mailto:[email protected]]
> Sent: Friday, October 08, 2010 2:53 PM
> To: Maven Users List
> Subject: Re: maven 3.0
>
> It's telling you the rule doesn't work in 3.x, that's the current
> state. 3.x has similar functionality built in
>
> Sent from my iPad
>
> On Oct 8, 2010, at 4:33 PM, Jason Chaffee <[email protected]> wrote:
>
>> Does maven-enforcer-plugin with maven 3.0? The same rules are working
>> correctly in 2.0.
>>
>>
>>
>> I have the following error:
>>
>>
>>
>> [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-versions)
> @
>> cbsp ---
>>
>> [WARNING] This rule is not compatible with the current version of
> Maven.
>> The rule is not able to perform any checks.
>>
>> [WARNING] Rule 1: org.apache.maven.plugins.enforcer.RequireJavaVersion
>> failed with message:
>>
>> Java version: 1.6.0_20 is required
>>
>> [INFO] --------------------------------
>>
>>
>>
>> Thanks.
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]