Maven plugins

Creating plugins for Maven is quite simple, after some initial hurdles, and fun. Most Mojo:s I've done so far are rather small in size. The Maven Core API:s and the like are quite rich in functionality.

How to start? Check out this Beta version of the "Maven, the definitive guide". There is a good chapter on how to start creating your own specialized plugin doing a task not yet supported by one of the existing Maven plugins. Also, you might need some special thing done in your unique build process. Also, check out the "Plugin Developer's center" on the Maven site.

The only thing I can complain about is the lack of JavaDoc. But that is compensated by taking a peek at the existing source code of Maven and some of its plugins. Remember; the ultimate documentation is the code, after all ...

No comments: