Re: [mojo-dev] Required Maven version for a plugin

2011-01-10 Thread Anders Hammar
On Mon, Jan 10, 2011 at 12:01, Benjamin Bentmann wrote: > Anders Hammar wrote: > > How any plugin could be marked with a lower Maven >> version is somewhat strange... Maybe it's more focused on what Maven >> version >> is required to use the plugin, than to build the plugin project? >> > > Yes, o

Re: [mojo-dev] Required Maven version for a plugin

2011-01-10 Thread Anders Hammar
You're right. I was trying all different versions of m-compiler-p, and I didn't notice that when I came down to 2.0.x Maven wasn't complaining about maven-compiler-plugin but about maven-surefire-plugin instead. This explains how we could compile code in the days before maven 2.0.9. I was kind of w

Re: [mojo-dev] Required Maven version for a plugin

2011-01-10 Thread Benjamin Bentmann
Anders Hammar wrote: Secondly, when checking other plugins I see that many required Maven 2.0.6+. Was there any specific change between 2.0.5 and 2.0.6 that has an impact on plugins? http://maven.apache.org/plugin-developers/common-bugs.html#Depending_on_Plexus_Utilities_1.1 Benjamin --

Re: [mojo-dev] Required Maven version for a plugin

2011-01-10 Thread Brett Porter
On 10/01/2011, at 9:23 PM, Anders Hammar wrote: > Great, thanks! > > Ran into a new thing. All existing versions of maven-compiler-plugin at > central require Maven 2.0.9+. I'm not sure where you are getting that info from? For example: http://repo2.maven.org/maven2/org/apache/maven/plugins/m

Re: [mojo-dev] Required Maven version for a plugin

2011-01-10 Thread Benjamin Bentmann
Anders Hammar wrote: How any plugin could be marked with a lower Maven version is somewhat strange... Maybe it's more focused on what Maven version is required to use the plugin, than to build the plugin project? Yes, one needs to distinguish between the Maven version used to a) build the plug

Re: [mojo-dev] Required Maven version for a plugin

2011-01-10 Thread Anders Hammar
Great, thanks! Ran into a new thing. All existing versions of maven-compiler-plugin at central require Maven 2.0.9+. So it's in fact not possible to build with any Maven version below that. How any plugin could be marked with a lower Maven version is somewhat strange... Maybe it's more focused on

Re: [mojo-dev] Required Maven version for a plugin

2011-01-10 Thread Nick Stolwijk
I can't answer your first question, but the other two I know. You can download older versions here: http://archive.apache.org/dist/maven/binaries/ Before 2.0.6 there were a few nasty bugs with dependency resolution, so those are discouraged to use nowadays. Hth, Nick Stolwijk ~Senior Java Devel

[mojo-dev] Required Maven version for a plugin

2011-01-10 Thread Anders Hammar
I'm trying to figure out the required Maven version for jboss-packaging-maven-plugin (MJBOSSPACK-38), as the stated prerequisites version does not align with the Maven dependencies. I'm not sure of the easiest way to do this, but I'm thinking that trying it out with some old version could be at lea