On Fri, 10 Jan 2014 10:56:45 +0100
Anders Hammar <and...@hammar.net> wrote:

> >
> > And add the enforcer rule
> >
> > <requirePrerequisite>
> >   <message>Mojo projects need at least Maven 2.2.1</message>
> >   <mavenVersion>2.2.1</mavenVersion>
> > </requirePrerequisite>
> >
> 
> I think it should be <requirePrerequisites>. See [1] for an example.
> If done properly it will make all mojos using the parent to require Maven
> 2.2.1, which in my experience is a requirement anyways due to the plugin
> versions being used (some of them require Maven 2.2.1+).

Nope, there is a typo on enforcer-rules doc. The rule is RequirePrerequisite 
[1] ;)

Tony.


[1] 
http://maven.apache.org/enforcer/enforcer-rules/xref/org/apache/maven/plugins/enforcer/RequirePrerequisite.html
 
-- 
Tony Chemit
--------------------
tél: +33 (0) 2 40 50 29 28
http://www.codelutin.com
email: che...@codelutin.com
twitter: https://twitter.com/tchemit

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

    http://xircles.codehaus.org/manage_email


Reply via email to