Section A.1. Plug-ins Reference


A.1. 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 version

In Maven 1.0.2?

Covered in chapter(s)

Announcement

1.3

Y

4

Ant

1.8.1

Y

1

Artifact

1.4.1

Y

4

Axis

0.7

N

2

Changelog

1.8

N

4

Changes

1.5.1

Y

4

Checkstyle

2.5

Y

4

Clover

1.8

Y

4

Console

1.1

Y

1

CruiseControl

1.7

N

5

Dashboard

1.8

N

4

Developer-Activity

1.5.1

Y

4

Eclipse

1.9

Y

1

FAQ

1.4

Y

2

File-Activity

1.5.1

Y

4

Findbugs

0.8.4

N

4

Genapp

2.2

Y

1

JAR

1.7

N

1, 6

Java

1.5

Y

1

JavaDoc

1.7

Y

1

Jetty

1.1

Y

3

Multiproject

1.4

N

3, 4

Plugin

1.6

N

2, 6

PMD

1.6

Y

4

SCM

1.5

N

5

Site

1.5.2

Y

1, 4

StatCVS-XML

2.6

Y

4

Test

1.6.2

Y

1, 3

War

1.6.1

Y

3

XDoc

1.8

Y

2, 4, 6


You can obtain reference documentation about the Maven plug-ins at:

  • http://maven.apache.org/reference/plugins/index.html for all plug-ins included in the Maven distribution

  • http://maven-plugins.sourceforge.net/ for plug-ins provided by the Maven-Plugins SourceForge project (Findbugs, Javaapp, etc.)

  • http://maven.apache.org/reference/3rdparty.html for other third-party plug-ins



Maven. A Developer's Notebook
Maven: A Developers Notebook (Developers Notebooks)
ISBN: 0596007507
EAN: 2147483647
Year: 2003
Pages: 125

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net