Developing Maven 3.0 Plugin

Romain Linsolas picture Romain Linsolas · Feb 3, 2011 · Viewed 13k times · Source

I have developed few Maven plugins for Maven 2, but I am wondering what are the main changes when I want to develop a plugin (or migrate the existing ones) for Maven 3.0.

The documentation on the Maven site in not up-to-date (what a surprise!) and all related pages still deal with Maven 2.0, like this one:

This guide is intended to assist users in developing Java plugins for Maven 2.0.

As an example, in Maven 2 plugin, I defined a configuration parameter like this:

/**
 * Some parameter.
 * 
 * @parameter
 * @required
 */
private String foo;

So now, using the new Maven Plugin API, I expect real Java annotations...

Question: Where can I find documentation / information about the development of Maven 3 plugins?

Answer

Romain Linsolas picture Romain Linsolas · May 9, 2012

There is now a work-in-progress implementation of annotations for Maven plugins developments! Read the following links: