Article Figure 1 Figure 2 Listing 1 Listing 2
Listing 3 Listing 4 Listing 5 Sidebar 1 Sidebar 2 aug2006.tar

Some Useful Maven Plug-ins

These are some of the commonly used Maven plug-ins. See Ibibilio (http://www.ibiblio.org/maven2/plugins/org/apache/maven/plugins/) for the latest complete list.

Plug-in Description
ant Generate an Ant build file for the project
archetype Generate a skeleton project structure from an archetype
clean Clean up after the build (deletes the target directory)
compile Compiles Java sources
deploy Deploy the built artifact to the remote repository
ear Generate an EAR from the current project
eclipse Generate an Eclipse project file for the current project
ejb Build an EJB (and optional client) from the current project
idea Create/update an IDEA workspace for the current project (individual modules are created as IDEA modules)
install Install the built artifact into the local repository
jar Build a JAR from the current project
javadoc Generate Javadoc for the project
site Generate a site for the current project
source Build a JAR of sources for use in IDEs and distribution to the repository
war Build a WAR from the current project