Hi Lee,
 
I did already notice you were moving this project to M3. IMHO I think we should 
try to support as many Maven versions as possible. It's not just up to us to 
force developers to move to the most recent version of Maven. For instance: 
companies might have locked their Maven version for certain projects. 
Reasons to move to a newer version of Maven would be: 
- Bugs in Maven which might cause the plugin to fail.
- Maven-API changes which are required for certain fixes/improvements of the 
plugin.
btw, this counts for any type of newer versions (major-updates, minor-updates, 
incremental-updates).
I hope you have good reason to switch to M3, but I'd suggest to depend on Maven 
3.0 instead of 3.0.1 (unless one of the above reasons forces you to use 3.0.1)
 
-Robert
 


Date: Mon, 3 Jan 2011 10:56:01 -0800
From: bm...@yahoo.com
To: dev@mojo.codehaus.org
Subject: Re: [mojo-dev] Mojo Developer Cookbook and v3.0






Yeah, my environment is all maven 3.0.1.  I just converted all my plugins to 
use as little the maven-compat aspects as possible.  Any other mojos doing this 
yet?  If not, it might explain the lack of docs.





From: Anders Hammar <and...@hammar.net>
To: dev@mojo.codehaus.org
Sent: Mon, January 3, 2011 12:31:04 PM
Subject: Re: [mojo-dev] Mojo Developer Cookbook and v3.0

Using Aether directly will make your plugin require Maven 3.x.

/Anders


On Mon, Jan 3, 2011 at 19:18, Lee Thompson <bm...@yahoo.com> wrote:




ArtifactFactory out, Aether in?  Long live Aether?
http://www.sonatype.com/people/2010/08/introducing-aether/




From: Lee Thompson <bm...@yahoo.com>
To: dev@mojo.codehaus.org
Sent: Thu, December 30, 2010 8:28:07 PM
Subject: [mojo-dev] Mojo Developer Cookbook and v3.0


So, a bunch of the API's used in the Mojo Developers Cookbook have been marked 
"deprecated" in maven 3.0.  ArtifactFactory and ArtifactMetadataSource for 
instance.

    http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook

Another one I use a lot is WagonManager. 

I poked around the maven source code for about an hour and couldn't figure out 
what replaces ArtifactFactory.  Anyone else going to Maven 3.0 run into this or 
just ignore the warnings...



                                          

Reply via email to