Re: Maven Enforcer Plugin, requirePluginVersions, and Maven 3.0

2010-09-09 Thread Brian Fox
True. When I have time, I'll implement a Maven3 Specific rule to have the same functionality. On Wed, Sep 8, 2010 at 2:34 PM, Anders Hammar wrote: > The difference is that the enforcer rule will prevent a build if plugin > versions aren't locked down. Maven will only give warnings. My experience

Re: Maven Enforcer Plugin, requirePluginVersions, and Maven 3.0

2010-09-09 Thread Brian Fox
No, those are still covered by the enforcer as intended. On Wed, Sep 8, 2010 at 2:37 PM, Trevor Harmon wrote: > On Sep 8, 2010, at 11:14 AM, Brian Fox wrote: > >> The workaround is to not use >> this rule in M3 anymore since the core will throw warnings at you >> anyway. > > For the requireMavenV

Re: Maven Enforcer Plugin, requirePluginVersions, and Maven 3.0

2010-09-08 Thread Trevor Harmon
On Sep 8, 2010, at 11:14 AM, Brian Fox wrote: > The workaround is to not use > this rule in M3 anymore since the core will throw warnings at you > anyway. For the requireMavenVersion and requireJavaVersion rules, should I continue using Enforcer, or is there a Maven 3 analog for them as well? Th

Re: Maven Enforcer Plugin, requirePluginVersions, and Maven 3.0

2010-09-08 Thread Anders Hammar
The difference is that the enforcer rule will prevent a build if plugin versions aren't locked down. Maven will only give warnings. My experience is that users don't care about warnings... /Anders On Wed, Sep 8, 2010 at 20:14, Brian Fox wrote: > This is coming from the enforcer rule itself, sin

Re: Maven Enforcer Plugin, requirePluginVersions, and Maven 3.0

2010-09-08 Thread Brian Fox
This is coming from the enforcer rule itself, since it is coded using bits from M2 that aren't present in M3. The workaround is to not use this rule in M3 anymore since the core will throw warnings at you anyway. On Wed, Sep 8, 2010 at 12:22 PM, Trevor Harmon wrote: > Hi, > > I'm trying out Maven

Maven Enforcer Plugin, requirePluginVersions, and Maven 3.0

2010-09-08 Thread Trevor Harmon
Hi, I'm trying out Maven 3.0-beta-3, and one of the first things I noticed is a new warning message: [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-rules) @ MyApp --- [WARNING] This rule is not compatible with the current version of Maven. The rule is not able to perform any check