Available Plugins
Maven is - at its heart - a plugin execution framework; all work is done by plugins. Looking for a specific goal to execute? This page lists the core plugins and others. There are the build and the reporting plugins:
- Build plugins will be executed during the build and they should be configured in the
<build/>element from the POM. - Reporting plugins will be executed during the site generation and they should be configured in the
<reporting/>element from the POM. Because the result of a Reporting plugin is part of the generated site, Reporting plugins should be both internationalized and localized. You can read more about the localization of our plugins and how you can help.
Supported By The Maven Project
To see the most up-to-date list browse the Maven repository, specifically the org/apache/maven/plugins subdirectory. (Plugins are organized according to a directory structure that resembles the standard Java package naming convention)
| Plugin | Type* | Version | Release Date | Description | Source Repository | Issue Tracking |
|---|---|---|---|---|---|---|
| Core plugins | Plugins corresponding to default core phases (ie. clean, compile). They may have multiple goals as well. | |||||
clean |
B | 3.5.0 | 2025年05月27日 | Clean up after the build. | Git / GitHub | GitHub Issues |
compiler |
B | 3.14.1 | 2025年09月18日 | Compiles Java sources. | Git / GitHub | GitHub Issues |
compiler 4.x |
B | 4.0.0-beta-3 | 2025年10月15日 | Compiles Java sources. | Git / GitHub | GitHub Issues |
deploy |
B | 3.1.4 | 2025年02月23日 | Deploy the built artifact to the remote repository. | Git / GitHub | GitHub Issues |
failsafe |
B | 3.5.4 | 2025年09月14日 | Run the JUnit integration tests in an isolated classloader. | Git / GitHub | GitHub Issues |
install |
B | 3.1.4 | 2025年02月24日 | Install the built artifact into the local repository. | Git / GitHub | GitHub Issues |
resources |
B | 3.3.1 | 2023年03月21日 | Copy the resources to the output directory for including in the JAR. | Git / GitHub | GitHub Issues |
site |
B | 3.21.0 | 2024年10月18日 | Generate a site for the current project. | Git / GitHub | GitHub Issues |
surefire |
B | 3.5.4 | 2025年09月14日 | Run the JUnit unit tests in an isolated classloader. | Git / GitHub | GitHub Issues |
verifier |
B | 1.1 | 2015年04月14日 | Useful for integration tests - verifies the existence of certain conditions. | Git / GitHub | GitHub Issues |
| Packaging types/tools | These plugins relate to packaging respective artifact types. | |||||
ear |
B | 3.4.0 | 2025年06月16日 | Generate an EAR from the current project. | Git / GitHub | GitHub Issues |
ejb |
B | 3.3.0 | 2025年11月16日 | Build an EJB (and optional client) from the current project. | Git / GitHub | GitHub Issues |
jar |
B | 3.5.0 | 2025年11月11日 | Build a JAR from the current project. | Git / GitHub | GitHub Issues |
rar |
B | 3.1.0 | 2025年11月15日 | Build a RAR from the current project. | Git / GitHub | GitHub Issues |
war |
B | 3.5.0 | 2025年10月22日 | Build a WAR from the current project. | Git / GitHub | GitHub Issues |
app-client/acr |
B | 3.1.0 | 2018年06月19日 | Build a JavaEE application client from the current project. | Git / GitHub | GitHub Issues |
shade |
B | 3.6.1 | 2024年09月14日 | Build an Uber-JAR from the current project, including dependencies. | Git / GitHub | GitHub Issues |
source |
B | 3.3.1 | 2024年04月02日 | Build a source-JAR from the current project. | Git / GitHub | GitHub Issues |
jlink |
B | 3.2.0 | 2024年02月01日 | Build Java Run Time Image. | Git / GitHub | GitHub Issues |
jmod |
B | 3.0.0-alpha-1 | 2017年09月17日 | Build Java JMod files. | Git / GitHub | GitHub Issues |
| Reporting plugins | Plugins which generate reports, are configured as reports in the POM and run under the site generation lifecycle. | |||||
changelog |
R | 3.0.0-M1 | 2024年12月30日 | Generate a list of recent changes from your SCM. | Git / GitHub | GitHub Issues |
changes |
B+R | 3.0.0-M3 | 2025年05月12日 | Generate a report from an issue tracker or a change document. | Git / GitHub | GitHub Issues |
checkstyle |
B+R | 3.6.0 | 2024年10月22日 | Generate a Checkstyle report. | Git / GitHub | GitHub Issues |
doap |
B | 1.2 | 2015年03月17日 | Generate a Description of a Project (DOAP) file from a POM. | Git / GitHub | GitHub Issues |
javadoc |
B+R | 3.12.0 | 2025年09月16日 | Generate Javadoc for the project. | Git / GitHub | GitHub Issues |
jdeps |
B | 3.1.2 | 2019年06月12日 | Run JDK's JDeps tool on the project. | Git / GitHub | GitHub Issues |
jxr |
R | 3.6.0 | 2024年10月22日 | Generate a source cross reference. | Git / GitHub | GitHub Issues |
pmd |
B+R | 3.28.0 | 2025年10月07日 | Generate a PMD/CPD report. | Git / GitHub | GitHub Issues |
plugin-report |
R | 3.15.2 | 2025年10月20日 | Create a plugin documentation for any mojos found in the source tree. | Git / GitHub | GitHub Issues |
project-info-reports |
R | 3.9.0 | 2025年02月23日 | Generate standard project reports. | Git / GitHub | GitHub Issues |
surefire-report |
R | 3.5.4 | 2025年09月10日 | Generate a report based on the results of unit tests. | Git / GitHub | GitHub Issues |
| Tools | These are miscellaneous tools available through Maven by default. | |||||
antrun |
B | 3.2.0 | 2025年10月17日 | Run a set of ant tasks from a phase of the build. | Git / GitHub | GitHub Issues |
artifact |
B | 3.6.1 | 2025年09月29日 | Manage artifacts tasks like buildinfo. | Git / GitHub | GitHub Issues |
archetype |
B | 3.4.1 | 2025年10月03日 | Generate a skeleton project structure from an archetype. | Git / GitHub | GitHub Issues |
assembly |
B | 3.7.1 | 2024年03月15日 | Build an assembly (distribution) of sources and/or binaries. | Git / GitHub | GitHub Issues |
dependency |
B+R | 3.9.0 | 2025年09月29日 | Dependency manipulation (copy, unpack) and analysis. | Git / GitHub | GitHub Issues |
enforcer |
B | 3.6.2 | 2025年09月28日 | Environmental constraint checking (Maven Version, JDK etc), User Custom Rule Execution. | Git / GitHub | GitHub Issues |
gpg |
B | 3.2.8 | 2025年06月28日 | Create signatures for the artifacts and poms. | Git / GitHub | GitHub Issues |
help |
B | 3.5.1 | 2024年10月18日 | Get information about the working environment for the project. | Git / GitHub | GitHub Issues |
invoker |
B+R | 3.9.1 | 2025年06月23日 | Run a set of Maven projects and verify the output. | Git / GitHub | GitHub Issues |
jarsigner |
B | 3.1.0 | 2024年09月03日 | Signs or verifies project artifacts. | Git / GitHub | GitHub Issues |
jdeprscan |
B | 3.0.0-alpha-1 | 2017年11月15日 | Run JDK's JDeprScan tool on the project. | Git / GitHub | GitHub Issues |
plugin |
B | 3.15.2 | 2025年10月20日 | Create a Maven plugin descriptor for any mojos found in the source tree, to include in the JAR. | Git / GitHub | GitHub Issues |
release |
B | 3.2.0 | 2025年11月04日 | Release the current project - updating the POM and tagging in the SCM. | Git / GitHub | GitHub Issues |
remote-resources |
B | 3.3.0 | 2024年12月30日 | Copy remote resources to the output directory for inclusion in the artifact. | Git / GitHub | GitHub Issues |
scm |
B | 2.2.1 | 2025年09月19日 | Execute SCM commands for the current project. | Git / GitHub | GitHub Issues |
scm-publish |
B | 3.3.0 | 2024年06月16日 | Publish your Maven website to a scm location. | Git / GitHub | GitHub Issues |
scripting |
B | 3.0.0 | 2021年03月01日 | The Maven Scripting Plugin wraps the Scripting API according to JSR223. | Git / GitHub | GitHub Issues |
stage |
B | 1.0 | 2015年03月03日 | Assists with release staging and promotion. | Git / GitHub | GitHub Issues |
toolchains |
B | 3.2.0 | 2024年04月21日 | Allows to share configuration across plugins. | Git / GitHub | GitHub Issues |
wrapper |
B | 3.3.4 | 2025年09月08日 | Download and unpack the maven wrapper distribution | Git / GitHub | GitHub Issues |
* Build or Reporting plugin
There are also some sandbox plugins into our source repository.
Previous archived versions of plugins reference documentations are located here.
Retired
| Plugin | Type* | Version | Retired Date | Description |
|---|---|---|---|---|
ant |
B | 2.4 | 2019年06月02日 | Generate an Ant build file for the project. |
docck |
B | 1.2 | 2023年10月22日 | Documentation checker plugin. |
eclipse |
B | 2.10 | 2015年10月07日 | Generate an Eclipse project files for the current project. |
idea |
B | 2.2.1 | 2013年07月26日 | Create/update an IDEA workspace for the current project (individual modules are created as IDEA modules) |
linkcheck |
R | 1.2 | 2025年09月16日 | Generate a Linkcheck report of your project's documentation. |
one |
B | 1.3 | 2013年07月30日 | A plugin for interacting with legacy Maven 1.x repositories and builds. |
patch |
B | 1.3 | 2024年12月10日 | Use the gnu patch tool to apply patch files to source code. |
pdf |
B | 1.6.2 | 2025年03月04日 | Generate a PDF version of your project's documentation. |
reactor |
B | 1.1 | 2014年03月24日 | Build a subset of interdependent projects in a reactor (Maven 2 only). |
repository |
B | 2.4 | 2019年04月30日 | Plugin to help with repository-based tasks. |
Outside The Maven Land
At MojoHaus (formerly known as codehaus.org)
There are also many plug-ins available at the MojoHaus project at GitHub.
Here are a few common ones:
| Plugin (see complete list with version) | Description |
|---|---|
animal-sniffer |
Build signatures of APIs (JDK for example) and checks your classes against them. |
build-helper |
Attach extra artifacts and source directories to build. |
buildplan |
Inspect the lifecycle of your build. |
castor |
Generate sources from an XSD using Castor. |
clirr |
Compare binaries or sources for compatibility using Clirr |
javacc |
Generate sources from a JavaCC grammar. |
jdepend |
Generate a report on code metrics using JDepend. |
nar-maven-plugin |
Compiles C, C++, Fortran for different architectures. |
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. |
Misc
A number of other projects provide their own Maven plugins. This includes:
| Plugin | Maintainer | Description |
|---|---|---|
cargo |
Cargo Project | Start/stop/configure J2EE containers and deploy to them. |
clover |
Atlassian Clover | Generate a Clover report. |
jetty |
Jetty Project | Jetty Run a Jetty container for rapid webapp development. |
jalopy |
Triemax | Use Jalopy to format your source code. |
rat |
Apache Creadur Project | Release Audit Tool (RAT) to verify files. |
Genesis Plugins |
Apache Geronimo Project | Verify legal files in artifacts. |
Apache Tomcat |
Apache Tomcat Project | Run an Apache Tomcat container for rapid webapp development. |
OWASP dependency-check |
OWASP Dependency-check Project | Run OWASP Dependency-Check, a utility that identifies project dependencies and checks if there are any known, publicly disclosed, vulnerabilities. |
CycloneDX |
CycloneDX Project | Generate Software Bill of Materials (SBOM) in CycloneDX format. |
pgpverify |
Simplify4U | Verify PGP signature of all project dependencies. |