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?
There is now a work-in-progress implementation of annotations for Maven plugins developments! Read the following links:
for the record you can have a look http://maven.apache.org/plugin-tools/maven-plugin-plugin/examples/using-annotations.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With