Appendix A. Maven Plug-ins
Plug-ins Reference
The following table lists all the Maven plug-ins that we covered
in this book, and the chapters containing labs describing how to use
them. In order to follow the labs you'll need to ensure that you have
the plug-in versions mentioned in the table. Most of the time the labs
will also work if your plug-in versions are greater than the ones
mentioned, and may work if you have another version, although that is
not guaranteed. Type maven
-i
in a command shell to check the versions of
your installed plug-ins.
For your convenience the table also mentions in the third column whether the plug-in version mentioned is distributed in the Maven 1.0.2 release (the one that was available at the time of this writing). Thus, if you're using Maven 1.0.2 you should only install plug-ins that have an "N" in this column. If you're using Maven 1.1 or greater, you'll only need to install the plug-ins that are not part of the Maven distribution. They are:
The Axis plug-in
The Findbugs plug-in
If you need to install a new plug-in version, there are three ways you can make it available to a Maven project:
By installing it in your local Maven installation using the Plugin plug-in
By installing it manually in your local Maven installation
By adding a dependency to the plug-in in your project's Project Object Model (POM)
These three methods are described later in this appendix. Table A-1 gives more information about plug-ins.
Table A-1. Plug-ins
Plug-in name | Minimal plug-in ... |
---|
Get Maven: A Developer's Notebook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.