Saturday Aug 31

Key Concepts

Maven Plugins

PDFPrintE-mail
Friday, 06 May 2011 12:01
AddThis Social Bookmark Button

Maven Plugins List

Find below a table with a list of Maven plugin classified by core for Maven maintained plugins, outside and miscelanous for plugins not maintained by the Apache foundation.  

Maven core Plugins list

Plugin Plugin nameType*VersionRelease DateDescription
clean maven-clean-plugin Build 2.4.1 5/12/2010 Clean up after the build.
compiler

maven-compiler-plugin

Build

2.3.2 9/9/2010 Compiles Java sources.
deploy

maven-deploy-plugin

Build 2.5 12/24/2009 Deploy the built artifact to the remote repository.
failsafe

maven-failsafe-plugin

Build 2.8 3/13/2011 Run the Junit integration tests in an isolated classloader.
install

maven-install-plugin

Build 2.3.1 5/21/2010 Install the built artifact into the local repository.
resources

maven-resources-plugin

Build 2.5 2/27/2011 Copy the resources to the output directory for including in the JAR.
site for Maven 2

maven-site-plugin

Build 2.2 11/28/2010 Generate a site for the current project.
site for Maven 3

maven-site-plugin

Build 3.0-beta-3 10/18/2010

Generate a site for the current project.

surefire

maven-surefire-plugin

Build 2.8 3/13/2011 Run the Junit unit tests in an isolated classloader.
verifier

maven-verifier-plugin

Build 1 1/30/2010 Useful for integration tests - verifies the existence of certain conditions.
Packaging types / tools

These plugins relate to packaging respective artifact types.
ear

maven-ear-plugin

Build 2.5 1/29/2011 Generate an EAR from the current project.
ejb

maven-ejb-plugin

Build 2.3 9/18/2010 Build an EJB (and optional client) from the current project.
jar

maven-jar-plugin

Build

2.3.1 5/21/2010 Build a JAR from the current project.
rar

maven-rar-plugin

Build

2.2 2/28/2007 Build a RAR from the current project.
war

maven-war-plugin

Build

2.1.1 11/3/2010

Build a WAR from the current project.

app-client maven-app-client-plugin Build 1 3/31/2011 Build a JavaEE application client from the current project.
shade maven-shade-plugin Build 1.4 8/11/2010 Build an Uber-JAR from the current project, including dependencies.
Reporting plugins Plugins which generate reports, are configured as reports in the POM and run under the site generation lifecycle.
changelog maven-changelog-plugin Reporting 2.2 5/28/2010 Generate a list of recent changes from your SCM.
changes maven-changes-plugin Build and reporting 2.4 1/29/2011 Generate a report from issue tracking or a change document.
checkstyle maven-checkstyle-plugin

Build and reporting

2.6 9/25/2010 Generate a checkstyle report.
doap maven-doap-plugin Build 1.1 1/15/2011 Generate a Description of a Project (DOAP) file from a POM.
dock maven-dock-plugin Build 1 11/16/2008 Documentation checker plugin.
javadoc maven-javadoc-plugin

Build and reporting

2.7 5/4/2010 Generate Javadoc for the project.
jxr maven-jxr-plugin Reporting 2.2 6/5/2010 Generate a source cross reference.
linkcheck maven-linkcheck-plugin Reporting 1.1 11/13/2010 Generate a Linkcheck report of your project's documentation.
pmd maven-pmd-plugin

Build and reporting

2.5 5/4/2010 Generate a PMD report.
project-info-reports maven-project-info-reports-plugins Reporting 2.3.1 12/21/2010 Generate standard project reports.
surefire-report maven-surefire-report-plugin Reporting 2.8 3/13/2011 Generate a report based on the results of unit tests. 
Tools These are miscellaneous tools available through Maven by default.
ant maven-ant-plugin Build 2.3 11/11/2009 Generate an Ant build file for the project.
antrun

maven-antrun-plugin

Build 1.6 10/11/2010 Run a set of ant tasks from a phase of the build.
archetype

maven-archetype-plugin

Build 2 10/28/2010

Generate a skeleton project structure from an archetype.

assembly

maven-assembly-plugin

Build

2.2.1 2/27/2011

Build an assembly (distribution) of sources and/or binaries.

dependency

maven-dependency-plugin

Build and reporting 2.2 2/22/2011 Dependency manipulation (copy, unpack) and analysis.
enforcer

maven-enforcer-plugin

Build

1 11/8/2010 Environmental constraint checking (Maven Version, JDK etc), User Custom Rule Execution.
gpg

maven-gpg-plugin

Build

1.2 3/24/2011 Create signatures for the artifacts and poms.
help

maven-help-plugin

Build 2.1.1 3/26/2010 Get information about the working environment for the project.
invoker

maven-invoker-plugin

Build 1.5 10/26/2009 Run a set of Maven projects and verify the output.
jarsigner

maven-jarsigner-plugin

Build 1.2 9/30/2009 Signs or verifies project artifacts.
one

maven-one-plugin

Build 1.2 9/12/2007 A plugin for interacting with legacy Maven 1.x repositories and builds.
patch

maven-path-plugin

Build 1.1.1 1/6/2010 Use the gnu patch tool to apply patch files to source code.
pdf

maven-pdf-plugin

Build 1.1 12/13/2009 Generate a PDF version of your project's documentation.
plugin

maven-plugin-plugin

Build and reporting 2.7 2/9/2011 Create a Maven plugin descriptor for any mojos found in the source tree, to include in the JAR.
release

maven-release-plugin

Build 2.1 10/8/2010 Release the current project - updating the POM and tagging in the SCM.
reactor

maven-reacot-plugin

Build 1 9/27/2008 Build a subset of interdependent projects in a reactor
remote-resources

maven-remote-resources-plugin

Build 1.2 2/27/2011 Copy remote resources to the output directory for inclusion in the artifact.
repository

maven-repository-plugin

Build 2.3.1 7/21/2010 Plugin to help with repository-based tasks.
scm

maven-scm-plugin

Build 1.4 8/8/2010 Generate a SCM for the current project.
source

maven-source-plugin

Build 2.1.2 5/21/2010 Build a JAR of sources for use in IDEs and distribution to the repository.
stage

maven-stage-plugin

Build 1.0-alpha-2 7/14/2009 Assists with release staging and promotion.
toolchains

maven-toolchains-plugin

Build 1 11/1/2009 Allows to share configuration across plugins.
IDEs

Plugins that simplify integration with integrated developer environments.
eclipse

maven-eclipse-plugin

Build 2.8 2/25/2010

Generate an Eclipse project file for the current project.

idea

maven-idea-plugin

Build 2.2 8/8/2008 Create/update an IDEA workspace for the current project (individual modules are created as IDEA modules)

Build or Reporting plugin


List of plugins outside the Maven Land 

Plugin Description
animal-sniffer Build signatures of APIs (JDK for example) and checks your classes against them.
build-helper

Attach extra artifacts and source folders to build.

castor Generate sources from an XSD using Castor.
clirr Compare binaries or sources for compatibility using Clirr
javacc Generate sources from a JavaCC grammer.
jdepend Generate a report on code metrics using JDepend.
native Compiles C and C++ code with native compilers.
sql Executes SQL scripts from files or inline.
taglist Generate a list of tasks based on tags in your code.
versions Manage versions of your project, its modules, dependencies and plugins.

Miscelanous Maven plugins List

PluginMaintainerDescription
cargo Cargo Project

Start/stop/configure J2EE containers and deploy to them.

webstart codehaus

The Webstart Maven Plugin generates application bundles that can be deployed via Web Start

cobertura codehaus

This plugin provides the features of Cobertura within the Maven 2 environment

clover Atlassian Clover Generate a Clover report.
jaxme Apache Web Services Project Use the JaxMe JAXB implementation to generate Java sources from XML schema.
jetty Jetty Project Jetty Run a Jetty container for rapid webapp development.
jalopy Triemax Use Jalopy to format your source code.
rat Apache Incubator Project Release Audit Tool (RAT) to verify files.
Genesis Plugins Apache Geronimo Project Verify legal files in artifacts.

jaxws

Java.net project

jaxws-maven-plugin is a maven plugin for JAX-WS. It is now a Glassfish project
The original version of this was developed in the codehaus mojo project, but as of March 2007, the project is moved to jax-ws-commons.

Tags: maven, build, project, plugin, plugins, source, current, generate, reporting

Add comment


Security code
Refresh

Java Tutorial on Facebook