Hi,
I've added some extra text, hopefully the usage of prerequisites is now
clear.
@Tony, you can have a second go.
thanks,
Robert
Op Fri, 10 Jan 2014 10:56:45 +0100 schreef Anders Hammar
<[email protected]>:
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+).
/Anders
[1]
http://maven.apache.org/enforcer/enforcer-rules/requirePrerequisites.html
Is that alright Robert.
If so I will respin a release; otherwise just tell me what else to do.
Thanks,
tony.
--
Tony Chemit
--------------------
tél: +33 (0) 2 40 50 29 28
http://www.codelutin.com
email: [email protected]
twitter: https://twitter.com/tchemit
---------------------------------------------------------------------
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