The prereq will work but isn't inherited since it's meant for tools. The enforcer (http://maven.apache.org/plugins/maven-enforcer-plugin) is a more flexible solution.
-----Original Message----- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Monday, September 10, 2007 8:38 PM To: Maven Users List Subject: Re: Can Maven 2 check its version and fail? <prerequisites> <maven>2.0.7</maven> </prerequisites> I think the Enforcer plugin can also do this. - Brett On 11/09/2007, Andreas Guther <[EMAIL PROTECTED]> wrote: > I am looking for some means (pom configuration) that makes the Maven > build checking the Maven version and fails the build if the Maven > version is less than expected. Somehow I think I saw that somewhere, > but since my friend Google seems not to know as well I am not sure if I > was just dreaming. > > -- Brett Porter Blog: http://www.devzuz.org/blogs/bporter/ --------------------------------------------------------------------- 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]