Requiring a specific version of maven to build a project?

2007-05-23 Thread Alex Karasulu
Hi, Just wondering if there is a POM directive that I can use to enforce the use of a specific version of maven for it's modules to be built. Over at Apache Directory we have run into situations where users are trying to build old tagged releases with versions of maven that do not build

Re: Requiring a specific version of maven to build a project?

2007-05-23 Thread Henry Isidro
I think there was talk of an enforcer plugin somewhere, you might want to search for that. HTH, Henry On 5/23/07, Alex Karasulu [EMAIL PROTECTED] wrote: Hi, Just wondering if there is a POM directive that I can use to enforce the use of a specific version of maven for it's modules to be

Re: Requiring a specific version of maven to build a project?

2007-05-23 Thread Roland Asmann
Not sure if maven checks this, but I've seen these in a couple of POMs: prerequisites maven2.0.3/maven /prerequisites E.g. this one is from Tobago 1.0.10. On Wednesday 23 May 2007 17:37, Henry Isidro wrote: I think there was talk of an enforcer plugin somewhere, you might want to

Re: Requiring a specific version of maven to build a project?

2007-05-23 Thread Roland Asmann
I just found it: http://maven.apache.org/ref/current/maven-model/maven.html#class_prerequisites It is the MINIMUM version of maven that is required... But it's better than nothing I suppose... On Wednesday 23 May 2007 17:41, Roland Asmann wrote: Not sure if maven checks this, but I've seen

Re: Requiring a specific version of maven to build a project?

2007-05-23 Thread Wendy Smoak
On 5/23/07, Roland Asmann [EMAIL PROTECTED] wrote: Not sure if maven checks this, but I've seen these in a couple of POMs: prerequisites maven2.0.3/maven /prerequisites Based on some recent discussion, that apparently only works for plugins. That's exactly why the enforcer plugin

RE: Requiring a specific version of maven to build a project?

2007-05-23 Thread Brian E. Fox
Maven-enforcer-plugin. The discussions where on the dev list, if you search for the votes on the enforcer plugin, there are some nabble links to the discussions. -Original Message- From: Roland Asmann [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 23, 2007 12:02 PM To: Maven Users

Re: Requiring a specific version of maven to build a project?

2007-05-23 Thread Stefano Bagnara
Alex Karasulu ha scritto: Hi, Just wondering if there is a POM directive that I can use to enforce the use of a specific version of maven for it's modules to be built. Over at Apache Directory we have run into situations where users are trying to build old tagged releases with versions