You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by bu...@apache.org on 2012/12/10 09:17:44 UTC

svn commit: r841370 [39/47] - in /websites/staging/maven/trunk/content: ./ ant/ background/ css/ developers/ developers/conventions/ developers/release/ developers/website/ docs/ docs/2.0.1/ docs/2.0.10/ docs/2.0.11/ docs/2.0.2/ docs/2.0.3/ docs/2.0.4/...

Added: websites/staging/maven/trunk/content/plugin-developers/plugin-testing.html
==============================================================================
--- websites/staging/maven/trunk/content/plugin-developers/plugin-testing.html (added)
+++ websites/staging/maven/trunk/content/plugin-developers/plugin-testing.html Mon Dec 10 08:17:24 2012
@@ -0,0 +1,591 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ | Generated by Apache Maven Doxia at Dec 10, 2012
+ | Rendered using Apache Maven Stylus Skin 1.5
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <title>Maven - Developers centre - Testing Plugins Strategies</title>
+    <style type="text/css" media="all">
+      @import url("../css/maven-base.css");
+      @import url("../css/maven-theme.css");
+      @import url("../css/site.css");
+    </style>
+    <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" />
+        <meta name="author" content="Vincent Siveton" />
+        <meta name="Date-Revision-yyyymmdd" content="20121210" />
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+                                                    
+<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
+                                                        
+<script type="text/javascript">_uacct = "UA-140879-1";
+        urchinTracker();</script>
+                              </head>
+  <body class="composite">
+    <div id="banner">
+                                      <a href=".././" id="bannerLeft">
+                                                <img src="../images/apache-maven-project-2.png" alt="" />
+                </a>
+                        <span id="bannerRight">
+                                                <img src="../images/maven-logo-2.gif" alt="" />
+                </span>
+            <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="breadcrumbs">
+            
+                                   <div class="xleft">
+                          <a href="http://www.apache.org/" class="externalLink">Apache</a>
+        &gt;
+                  <a href="../index.html">Maven</a>
+        &gt;
+        Developers centre - Testing Plugins Strategies
+        </div>
+            <div class="xright">        
+                                    Last Published: 2012-12-10
+            </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="leftColumn">
+      <div id="navcolumn">
+             
+                                                   <h5>Main</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="../index.html">Welcome</a>
+            </li>
+          </ul>
+                       <h5>Get Maven</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="../download.html">Download</a>
+            </li>
+                  <li class="none">
+                  <a href="../docs/3.0.4/release-notes.html">Release Notes (3.0.4)</a>
+            </li>
+                  <li class="none">
+                  <a href="../docs/2.2.1/release-notes.html">Release Notes (2.2.1)</a>
+            </li>
+                  <li class="none">
+                  <a href="../docs/2.0.11/release-notes.html">Release Notes (2.0.11)</a>
+            </li>
+                  <li class="none">
+                  <a href="../license.html">License</a>
+            </li>
+          </ul>
+                       <h5>IDE Integration</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="../eclipse-plugin.html">Eclipse</a>
+            </li>
+                  <li class="none">
+                  <a href="../netbeans-module.html">NetBeans</a>
+            </li>
+          </ul>
+                       <h5>About Maven</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="../what-is-maven.html">What is Maven?</a>
+            </li>
+                  <li class="none">
+                  <a href="../maven-features.html">Features</a>
+            </li>
+                  <li class="none">
+                  <a href="../general.html">FAQ (official)</a>
+            </li>
+                  <li class="none">
+                  <a href="http://docs.codehaus.org/display/MAVENUSER/FAQs-1" class="externalLink">FAQ (unofficial)</a>
+            </li>
+          </ul>
+                       <h5>Documentation</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="../plugins/index.html">Maven Plugins</a>
+            </li>
+                  <li class="none">
+                  <a href="../guides/index.html">Index (category)</a>
+            </li>
+                  <li class="none">
+                  <a href="../run-maven/index.html">Running Maven</a>
+            </li>
+                                                                                                                                            <li class="collapsed">
+                  <a href="../users/index.html">User Centre</a>
+                  </li>
+                                                                                                        <li class="collapsed">
+                  <a href="../plugin-developers/index.html">Plugin Developer Centre</a>
+                  </li>
+                  <li class="none">
+                  <a href="../repository/index.html">Maven Repository Centre</a>
+            </li>
+                  <li class="none">
+                  <a href="../developers/index.html">Maven Developer Centre</a>
+            </li>
+                  <li class="none">
+                  <a href="../articles.html">Books and Resources</a>
+            </li>
+                  <li class="none">
+                  <a href="http://docs.codehaus.org/display/MAVENUSER/Home" class="externalLink">Wiki</a>
+            </li>
+          </ul>
+                       <h5>Community</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="../community.html">Community Overview</a>
+            </li>
+                  <li class="none">
+                  <a href="../guides/development/guide-helping.html">How to Contribute</a>
+            </li>
+                  <li class="none">
+                  <a href="../guides/mini/guide-maven-evangelism.html">Maven Repository</a>
+            </li>
+                  <li class="none">
+                  <a href="../users/getting-help.html">Getting Help</a>
+            </li>
+                  <li class="none">
+                  <a href="../issue-tracking.html">Issue Tracking</a>
+            </li>
+                  <li class="none">
+                  <a href="../source-repository.html">Source Repository</a>
+            </li>
+                  <li class="none">
+                  <a href="../team-list.html">The Maven Team</a>
+            </li>
+          </ul>
+                       <h5>Project Documentation</h5>
+                  <ul>
+                                                                                                                          <li class="collapsed">
+                  <a href="../project-info.html">Project Information</a>
+                  </li>
+          </ul>
+                       <h5>Maven Projects</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="../ant-tasks/index.html">Ant Tasks</a>
+            </li>
+                  <li class="none">
+                  <a href="../archetype/index.html">Archetype</a>
+            </li>
+                  <li class="none">
+                  <a href="../doxia/index.html">Doxia</a>
+            </li>
+                  <li class="none">
+                  <a href="../jxr/index.html">JXR</a>
+            </li>
+                  <li class="none">
+                  <a href="../maven-1.x/index.html">Maven 1.x</a>
+            </li>
+                  <li class="none">
+                  <a href="../index.html">Maven 2 & 3</a>
+            </li>
+                  <li class="none">
+                  <a href="../pom/index.html">Parent POMs</a>
+            </li>
+                  <li class="none">
+                  <a href="../plugins/index.html">Plugins</a>
+            </li>
+                  <li class="none">
+                  <a href="../plugin-tools/index.html">Plugin Tools</a>
+            </li>
+                  <li class="none">
+                  <a href="../scm/index.html">SCM</a>
+            </li>
+                  <li class="none">
+                  <a href="../shared/index.html">Shared Components</a>
+            </li>
+                  <li class="none">
+                  <a href="../skins/index.html">Skins</a>
+            </li>
+                  <li class="none">
+                  <a href="../surefire/index.html">Surefire</a>
+            </li>
+                  <li class="none">
+                  <a href="../wagon/index.html">Wagon</a>
+            </li>
+          </ul>
+                       <h5>ASF</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink">How Apache Works</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/" class="externalLink">Foundation</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink">Sponsoring Apache</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/thanks.html" class="externalLink">Thanks</a>
+            </li>
+          </ul>
+                                 <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+          <img alt="Built by Maven" src="../images/logos/maven-feather.png"/>
+        </a>
+                       
+                               </div>
+    </div>
+    <div id="bodyColumn">
+      <div id="contentBox">
+        <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements.  See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership.  The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License.  You may obtain a copy of the License at --><!--  --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!--  --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied.  See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/referen
 ces/apt-format.html --><div class="section"><h2>Introduction<a name="Introduction"></a></h2><p>Currently, Maven only supports unit testing out of the box. This document is intended to help Maven Developers to test Plugins with Unit Tests, Integration Tests or Functional tests.</p><p><b>Note: There are a lot of different ways to test a Maven plugin.</b> For a review of different strategies and tools, please refer to <a class="externalLink" href="http://docs.codehaus.org/display/MAVENUSER/Review+of+Plugin+Testing+Strategies">Review of Plugin Testing Strategies</a></p></div><div class="section"><h2>Testing Styles: Unit Testing vs. Functional/Integration Testing<a name="Testing_Styles:_Unit_Testing_vs._FunctionalIntegration_Testing"></a></h2><p>A unit test attempts to verify a mojo as an isolated unit, by mocking out the rest of the Maven environment. A mojo unit test does not attempt to run your plugin in the context of a real Maven build. Unit tests are designed to be fast.</p
 ><p>A functional/integration test attempts to use a mojo in a real Maven build, by launching a real instance of Maven in a real project. Normally this requires you to construct special dummy Maven projects with real POM files. Often this requires you to have already installed your plugin into your local repository so it can be used in a real Maven build. Functional tests run much more slowly than unit tests, but they can catch bugs that you may not catch with unit tests.</p><p>The general wisdom is that your code should be mostly tested with unit tests, but should also have some functional tests.</p></div><div class="section"><h2>Unit Tests<a name="Unit_Tests"></a></h2><div class="section"><h3>Using JUnit alone<a name="Using_JUnit_alone"></a></h3><p>In principle, you can write a unit test of a plugin Mojo the same way you'd write any other JUnit test case, by writing a class that <tt>extends TestCase</tt>.</p><p>However, most mojos need more information to work properly. For
  example, you'll probably need to inject a reference to a MavenProject, so your mojo can query project variables.</p></div><div class="section"><h3>Using PlexusTestCase<a name="Using_PlexusTestCase"></a></h3><p>Mojo variables are injected using Plexus, and many Mojos are written to take specific advantage of the Plexus container (by executing a lifecycle or having various injected dependencies).</p><p>If you all you need is Plexus container services, you can write your class with <tt>extends PlexusTestCase</tt> instead of TestCase.</p><p>With that said, if you need to inject Maven objects into your mojo, you'll probably prefer to use the maven-plugin-testing-harness.</p></div><div class="section"><h3>maven-plugin-testing-harness<a name="maven-plugin-testing-harness"></a></h3><p>The <a href="/plugin-testing/maven-plugin-testing-harness/">maven-plugin-testing-harness</a> is explicitly intended to test the <tt>org.apache.maven.reporting.AbstractMavenReport#execute()</tt> implem
 entation.</p><p>In general, you need to include <tt>maven-plugin-testing-harness</tt> as dependency, and create a *MojoTest (by convention) class which <tt>extends AbstractMojoTestCase</tt>.</p><div class="source"><pre>...
+  &lt;dependencies&gt;
+    ...
+    &lt;dependency&gt;
+      &lt;groupId&gt;org.apache.maven.shared&lt;/groupId&gt;
+      &lt;artifactId&gt;maven-plugin-testing-harness&lt;/artifactId&gt;
+      &lt;version&gt;1.0-beta-1&lt;/version&gt;
+      &lt;scope&gt;test&lt;/scope&gt;
+    &lt;/dependency&gt;
+    ...
+  &lt;/dependencies&gt;
+...</pre></div><div class="source"><pre>public class YourMojoTest
+    extends AbstractMojoTestCase
+{
+    /**
+     * @see junit.framework.TestCase#setUp()
+     */
+    protected void setUp() throws Exception {
+
+        // required for mojo lookups to work
+        super.setUp();
+    }
+
+    /**
+     * @throws Exception
+     */
+    public void testMojoGoal() throws Exception
+    {
+        File testPom = new File( getBasedir(),
+          &quot;src/test/resources/unit/basic-test/basic-test-plugin-config.xml&quot; );
+
+        YourMojo mojo = (YourMojo) lookupMojo ( &quot;yourGoal&quot;, testPom );
+
+        assertNotNull( mojo );
+    }
+}</pre></div><p>For more information, please refer to <a class="externalLink" href="http://cwiki.apache.org/confluence/display/MAVENOLD/Maven+Plugin+Harness">Maven Plugin Harness Wiki</a></p></div></div><div class="section"><h2>Integration/Functional testing<a name="IntegrationFunctional_testing"></a></h2><div class="section"><h3>maven-verifier<a name="maven-verifier"></a></h3><p>maven-verifier tests are run using JUnit or TestNG, and provide a simple class allowing you to launch Maven and assert on its log file and built artifacts. It also provides a ResourceExtractor, which extracts a Maven project from your src/test/resources directory into a temporary working directory where you can do tricky stuff with it.</p><p>Maven itself uses maven-verifier to run its core integration tests. For more information, please refer to <a class="externalLink" href="http://cwiki.apache.org/confluence/display/MAVENOLD/Creating+a+Maven+Integration+Test">Creating a Maven Integration Test</a>.<
 /p><div class="source"><pre>public class TrivialMavenVerifierTest extends TestCase
+{
+    public void testMyPlugin ()
+        throws Exception
+    {
+        // Check in your dummy Maven project in /src/test/resources/...
+        // The testdir is computed from the location of this
+        // file.
+        File testDir = ResourceExtractor.simpleExtractResources( getClass(), &quot;/my-dummy-maven-project&quot; );
+
+        Verifier verifier;
+
+        /*
+         * We must first make sure that any artifact created
+         * by this test has been removed from the local
+         * repository. Failing to do this could cause
+         * unstable test results. Fortunately, the verifier
+         * makes it easy to do this.
+         */
+        verifier = new Verifier( testDir.getAbsolutePath() );
+        verifier.deleteArtifact( &quot;org.apache.maven.its.itsample&quot;, &quot;parent&quot;, &quot;1.0&quot;, &quot;pom&quot; );
+        verifier.deleteArtifact( &quot;org.apache.maven.its.itsample&quot;, &quot;checkstyle-test&quot;, &quot;1.0&quot;, &quot;jar&quot; );
+        verifier.deleteArtifact( &quot;org.apache.maven.its.itsample&quot;, &quot;checkstyle-assembly&quot;, &quot;1.0&quot;, &quot;jar&quot; );
+
+        /*
+         * The Command Line Options (CLI) are passed to the
+         * verifier as a list. This is handy for things like
+         * redefining the local repository if needed. In
+         * this case, we use the -N flag so that Maven won't
+         * recurse. We are only installing the parent pom to
+         * the local repo here.
+         */
+        List cliOptions = new ArrayList();
+        cliOptions.add( &quot;-N&quot; );
+        verifier.executeGoal( &quot;install&quot; );
+
+        /*
+         * This is the simplest way to check a build
+         * succeeded. It is also the simplest way to create
+         * an IT test: make the build pass when the test
+         * should pass, and make the build fail when the
+         * test should fail. There are other methods
+         * supported by the verifier. They can be seen here:
+         * http://maven.apache.org/shared/maven-verifier/apidocs/index.html
+         */
+        verifier.verifyErrorFreeLog();
+
+        /*
+         * Reset the streams before executing the verifier
+         * again.
+         */
+        verifier.resetStreams();
+
+        /*
+         * The verifier also supports beanshell scripts for
+         * verification of more complex scenarios. There are
+         * plenty of examples in the core-it tests here:
+         * http://svn.apache.org/repos/asf/maven/core-integration-testing/trunk
+         */
+    }</pre></div><p><b>Note</b>: maven-verifier and maven-verifier-plugin sound similar, but are totally different unrelated pieces of code. maven-verifier-plugin simply verifies the existence/absence of files on the filesystem. You could use it for functional testing, but you may need more features than maven-verifier-plugin provides.</p></div><div class="section"><h3>maven-invoker-plugin<a name="maven-invoker-plugin"></a></h3><p>You can use <a class="externalLink" href="https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-invoker-plugin/">maven-invoker-plugin</a> to invoke Maven and to provide some BeanShell tests. Tests written in this way don't run under JUnit/TestNG; instead, they're run by Maven itself.</p><div class="source"><pre>&lt;project
+  xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot;
+  xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
+  xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0
+                      http://maven.apache.org/xsd/maven-4.0.0.xsd&quot;&gt;
+  ...
+  &lt;build&gt;
+    &lt;plugins&gt;
+      &lt;plugin&gt;
+        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
+        &lt;artifactId&gt;maven-invoker-plugin&lt;/artifactId&gt;
+        &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
+        &lt;configuration&gt;
+          &lt;debug&gt;true&lt;/debug&gt;
+          &lt;projectsDirectory&gt;src/it&lt;/projectsDirectory&gt;
+          &lt;pomIncludes&gt;
+            &lt;pomInclude&gt;**/pom.xml&lt;/pomInclude&gt;
+          &lt;/pomIncludes&gt;
+          &lt;postBuildHookScript&gt;verify.bsh&lt;/postBuildHookScript&gt;
+        &lt;/configuration&gt;
+        &lt;executions&gt;
+          &lt;execution&gt;
+            &lt;phase&gt;integration-test&lt;/phase&gt;
+            &lt;goals&gt;
+              &lt;goal&gt;run&lt;/goal&gt;
+            &lt;/goals&gt;
+          &lt;/execution&gt;
+        &lt;/executions&gt;
+      &lt;/plugin&gt;
+      ...
+    &lt;/plugins&gt;
+  &lt;/build&gt;
+  ...
+&lt;/project&gt;</pre></div></div><div class="section"><h3>shitty-maven-plugin<a name="shitty-maven-plugin"></a></h3><p>The <a class="externalLink" href="http://mojo.codehaus.org/shitty-maven-plugin/">shitty-maven-plugin</a> (Super Helpful Integration Testing ThingY) provides a simple way to run integration tests for a project (single module or multi-module).</p><p>shitty-maven-plugin does many of the same things as the maven-invoker-plugin (it supports Groovy tests instead of BeanShell tests), though it has some features that aren't available in maven-invoker-plugin. Notably, it provides some advanced setup steps to automatically install your plugin using a special version name (&quot;TESTING&quot;), so your dummy projects can depend on that version explicitly.</p></div><div class="section"><h3>maven-it-plugin<a name="maven-it-plugin"></a></h3><p><b>Note</b>: maven-it-plugin is not at 1.0 yet. Use it at your own risk.</p><p>The <a class="externalLink" href="https://svn.apac
 he.org/repos/asf/maven/sandbox/trunk/plugins/maven-it-plugin/">maven-it-plugin</a> is used directly in the <tt>integration-test</tt> phase.</p><p><b>Note</b>: this it plugin can not be used to test a plugin that is being built for the first time (i.e. with no release). In this case, you could, for instance, defined an it-snapshot of the plugin with <tt>maven-install-plugin</tt>. during the <tt>pre-integration-test</tt> phase.</p><div class="source"><pre>&lt;project
+  xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot;
+  xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
+  xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0
+                      http://maven.apache.org/xsd/maven-4.0.0.xsd&quot;&gt;
+  ...
+  &lt;artifactId&gt;maven-XXX-plugin&lt;/artifactId&gt;
+  &lt;packaging&gt;maven-plugin&lt;/packaging&gt;
+  &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
+  &lt;description&gt;Test Report plugin in the site phase&lt;/description&gt;
+  ...
+  &lt;build&gt;
+    &lt;plugins&gt;
+      ...
+      &lt;plugin&gt;
+        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
+        &lt;artifactId&gt;maven-it-plugin&lt;/artifactId&gt;
+        &lt;version&gt;1.0-alpha-1-SNAPSHOT&lt;/version&gt;
+        &lt;configuration&gt;
+          &lt;integrationTestsDirectory&gt;${basedir}/src/it&lt;/integrationTestsDirectory&gt;
+          &lt;includes&gt;
+            &lt;include&gt;**/pom.xml&lt;/include&gt;
+          &lt;/includes&gt;
+          &lt;goals&gt;site&lt;/goals&gt;
+        &lt;/configuration&gt;
+        &lt;executions&gt;
+          &lt;execution&gt;
+            &lt;phase&gt;integration-test&lt;/phase&gt;
+            &lt;goals&gt;
+              &lt;goal&gt;test&lt;/goal&gt;
+            &lt;/goals&gt;
+          &lt;/execution&gt;
+        &lt;/executions&gt;
+      &lt;/plugin&gt;
+
+      &lt;!-- Need to install IT snapshot of maven-XXX-plugin --&gt;
+      &lt;plugin&gt;
+        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
+        &lt;artifactId&gt;maven-install-plugin&lt;/artifactId&gt;
+        &lt;version&gt;2.2-SNAPSHOT&lt;/version&gt;
+        &lt;executions&gt;
+          &lt;execution&gt;
+            &lt;id&gt;it-test&lt;/id&gt;
+            &lt;phase&gt;pre-integration-test&lt;/phase&gt;
+            &lt;goals&gt;
+              &lt;goal&gt;install-file&lt;/goal&gt;
+            &lt;/goals&gt;
+            &lt;configuration&gt;
+              &lt;file&gt;${basedir}/target/maven-XXX-plugin-1.0-SNAPSHOT.jar&lt;/file&gt;
+              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
+              &lt;artifactId&gt;maven-XXX-plugin&lt;/artifactId&gt;
+              &lt;version&gt;1.0-it-SNAPSHOT&lt;/version&gt; &lt;!-- IT SNAPSHOT --&gt;
+              &lt;packaging&gt;maven-plugin&lt;/packaging&gt;
+              &lt;pomFile&gt;${basedir}/pom.xml&lt;/pomFile&gt;
+            &lt;/configuration&gt;
+          &lt;/execution&gt;
+        &lt;/executions&gt;
+      &lt;/plugin&gt;
+
+      &lt;!-- Testing the result of the it pom.xml --&gt;
+      &lt;plugin&gt;
+        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
+        &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
+        &lt;version&gt;2.4.2&lt;/version&gt;
+        &lt;executions&gt;
+          &lt;execution&gt;
+            &lt;id&gt;it-test&lt;/id&gt;
+            &lt;phase&gt;post-integration-test&lt;/phase&gt;
+            &lt;goals&gt;
+              &lt;goal&gt;test&lt;/goal&gt;
+            &lt;/goals&gt;
+            &lt;configuration&gt;
+              &lt;includes&gt;
+                &lt;include&gt;**/*TestIt.class&lt;/include&gt;
+              &lt;/includes&gt;
+            &lt;/configuration&gt;
+          &lt;/execution&gt;
+        &lt;/executions&gt;
+      &lt;/plugin&gt;
+    &lt;/plugins&gt;
+  &lt;/build&gt;
+  ...
+&lt;/project&gt;</pre></div><p>The it pom should use the it snapshot:</p><div class="source"><pre>&lt;project xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot;
+    xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
+  xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0
+                      http://maven.apache.org/xsd/maven-4.0.0.xsd&quot;&gt;
+...
+  &lt;reporting&gt;
+    &lt;outputDirectory&gt;
+      ${basedir}/../../../../../target/it/it1/target/site
+    &lt;/outputDirectory&gt;
+    &lt;plugins&gt;
+      &lt;plugin&gt;
+        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
+        &lt;artifactId&gt;maven-XXX-plugin&lt;/artifactId&gt;
+        &lt;version&gt;1.0-it-SNAPSHOT&lt;/version&gt;
+      &lt;/plugin&gt;
+    &lt;/plugins&gt;
+  &lt;/reporting&gt;
+...
+&lt;/project&gt;</pre></div></div><div class="section"><h3>maven-plugin-management-plugin<a name="maven-plugin-management-plugin"></a></h3><p>The <a class="externalLink" href="https://svn.apache.org/repos/asf/maven/sandbox/trunk/plugins/maven-plugin-management-plugin/">maven-plugin-management-plugin</a> is to stage/unstage a plugin into the local repository for pre/post-integration-test.</p><p>You need to configure the <tt>maven-plugin-test-plugin</tt> and the <tt>maven-surefire-plugin</tt>:</p><div class="source"><pre>&lt;project
+  xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot;
+  xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
+  xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0
+                      http://maven.apache.org/xsd/maven-4.0.0.xsd&quot;&gt;
+  ...
+  &lt;artifactId&gt;maven-XXX-plugin&lt;/artifactId&gt;
+  &lt;packaging&gt;maven-plugin&lt;/packaging&gt;
+  &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
+  &lt;description&gt;Test Report plugin in the site phase&lt;/description&gt;
+  &lt;prerequisites&gt;
+    &lt;maven&gt;2.0.4&lt;/maven&gt;
+  &lt;/prerequisites&gt;
+  ...
+  &lt;dependencies&gt;
+    ...
+    &lt;!-- Due to the Maven 2.0.4 prerequisites.
+    By default, maven-plugin-test-plugin uses 2.0.1 --&gt;
+    &lt;dependency&gt;
+      &lt;groupId&gt;org.apache.maven&lt;/groupId&gt;
+      &lt;artifactId&gt;maven-embedder&lt;/artifactId&gt;
+      &lt;version&gt;2.0.4&lt;/version&gt;
+      &lt;scope&gt;test&lt;/scope&gt;
+    &lt;/dependency&gt;
+    &lt;dependency&gt;
+      &lt;groupId&gt;org.apache.maven&lt;/groupId&gt;
+      &lt;artifactId&gt;maven-core&lt;/artifactId&gt;
+      &lt;version&gt;2.0.4&lt;/version&gt;
+      &lt;scope&gt;test&lt;/scope&gt;
+    &lt;/dependency&gt;
+  &lt;/dependencies&gt;
+  &lt;build&gt;
+    &lt;plugins&gt;
+      ...
+      &lt;plugin&gt;
+        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
+        &lt;artifactId&gt;maven-plugin-management-plugin&lt;/artifactId&gt;
+        &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
+        &lt;executions&gt;
+          &lt;execution&gt;
+            &lt;id&gt;pre-it-test&lt;/id&gt;
+            &lt;phase&gt;pre-integration-test&lt;/phase&gt;
+            &lt;goals&gt;
+              &lt;goal&gt;stage&lt;/goal&gt;
+            &lt;/goals&gt;
+          &lt;/execution&gt;
+          &lt;execution&gt;
+            &lt;id&gt;post-it-test&lt;/id&gt;
+            &lt;phase&gt;post-integration-test&lt;/phase&gt;
+            &lt;goals&gt;
+              &lt;goal&gt;unstage&lt;/goal&gt;
+            &lt;/goals&gt;
+          &lt;/execution&gt;
+        &lt;/executions&gt;
+      &lt;/plugin&gt;
+
+      &lt;!-- Testing the result of the it pom.xml --&gt;
+      &lt;plugin&gt;
+        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
+        &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
+        &lt;version&gt;2.4.2&lt;/version&gt;
+        &lt;executions&gt;
+          &lt;execution&gt;
+            &lt;id&gt;it-test&lt;/id&gt;
+            &lt;phase&gt;integration-test&lt;/phase&gt;
+            &lt;goals&gt;
+              &lt;goal&gt;test&lt;/goal&gt;
+            &lt;/goals&gt;
+            &lt;configuration&gt;
+              &lt;includes&gt;
+                &lt;include&gt;**/*TestIt.class&lt;/include&gt;
+              &lt;/includes&gt;
+            &lt;/configuration&gt;
+          &lt;/execution&gt;
+        &lt;/executions&gt;
+      &lt;/plugin&gt;
+    &lt;/plugins&gt;
+  &lt;/build&gt;
+  ...
+&lt;/project&gt;</pre></div><p>The *TestIt classes could use the Maven Embedder to provide tests:</p><div class="source"><pre>public class MyMojoTestIt
+    extends PlexusTestCase
+{
+    /**
+     * @throws Exception
+     */
+    public void testDefaultProject()
+        throws Exception
+    {
+        MavenEmbedder maven = new MavenEmbedder();
+        ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
+        maven.setClassLoader( classLoader );
+        maven.setLogger( new MavenEmbedderConsoleLogger() );
+        maven.setOffline( true );
+        maven.setLocalRepositoryDirectory( getTestFile( &quot;target/local-repo&quot; ) );
+        maven.start();
+
+        File itbasedir = new File( getBasedir(), &quot;src/it/it1&quot; );
+        MavenProject pom =
+          maven.readProjectWithDependencies( new File( itbasedir, &quot;pom.xml&quot; ) );
+
+        EventMonitor eventMonitor =
+          new DefaultEventMonitor(
+            new PlexusLoggerAdapter(
+              new MavenEmbedderConsoleLogger() ) );
+        maven.execute( pom,
+          Collections.singletonList(
+            &quot;org.apache.maven.plugins:maven-XXX-plugin:1.0-SNAPSHOT:yourGoal&quot; ),
+          eventMonitor,
+          new ConsoleDownloadMonitor(),
+          null,
+          itbasedir );
+
+        maven.stop();
+    }
+}</pre></div><p><b>Note</b>: The <a class="externalLink" href="https://svn.apache.org/repos/asf/maven/sandbox/trunk/plugins/maven-it-plugin/">maven-plugin-management-plugin</a> is similar to <tt>maven-plugin-test-plugin</tt>.</p></div></div>
+      </div>
+    </div>
+    <div class="clear">
+      <hr/>
+    </div>
+    <div id="footer">
+      <div class="xright">
+        &#169;            2002-2012
+              The Apache Software Foundation
+            
+                          - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>.
+        Apache Maven, Maven, Apache, the Apache feather logo, and the Apache Maven project logos are trademarks of The Apache Software Foundation.
+      </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+  </body>
+</html>

Added: websites/staging/maven/trunk/content/plugins/index.html
==============================================================================
--- websites/staging/maven/trunk/content/plugins/index.html (added)
+++ websites/staging/maven/trunk/content/plugins/index.html Mon Dec 10 08:17:24 2012
@@ -0,0 +1,253 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ | Generated by Apache Maven Doxia at Dec 10, 2012
+ | Rendered using Apache Maven Stylus Skin 1.5
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <title>Maven - Available Plugins</title>
+    <style type="text/css" media="all">
+      @import url("../css/maven-base.css");
+      @import url("../css/maven-theme.css");
+      @import url("../css/site.css");
+    </style>
+    <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" />
+        <meta name="author" content="Brett Porter
+Jason van Zyl
+Dennis Lundberg" />
+        <meta name="Date-Creation-yyyymmdd" content="20121119" />
+    <meta name="Date-Revision-yyyymmdd" content="20121210" />
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+                                                    
+<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
+                                                        
+<script type="text/javascript">_uacct = "UA-140879-1";
+        urchinTracker();</script>
+                              </head>
+  <body class="composite">
+    <div id="banner">
+                                      <a href=".././" id="bannerLeft">
+                                                <img src="../images/apache-maven-project-2.png" alt="" />
+                </a>
+                        <span id="bannerRight">
+                                                <img src="../images/maven-logo-2.gif" alt="" />
+                </span>
+            <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="breadcrumbs">
+            
+                                   <div class="xleft">
+                          <a href="http://www.apache.org/" class="externalLink">Apache</a>
+        &gt;
+                  <a href="../index.html">Maven</a>
+        &gt;
+        Available Plugins
+        </div>
+            <div class="xright">        
+                                    Last Published: 2012-12-10
+            </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="leftColumn">
+      <div id="navcolumn">
+             
+                                                   <h5>Main</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="../index.html">Welcome</a>
+            </li>
+          </ul>
+                       <h5>Get Maven</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="../download.html">Download</a>
+            </li>
+                  <li class="none">
+                  <a href="../docs/3.0.4/release-notes.html">Release Notes (3.0.4)</a>
+            </li>
+                  <li class="none">
+                  <a href="../docs/2.2.1/release-notes.html">Release Notes (2.2.1)</a>
+            </li>
+                  <li class="none">
+                  <a href="../docs/2.0.11/release-notes.html">Release Notes (2.0.11)</a>
+            </li>
+                  <li class="none">
+                  <a href="../license.html">License</a>
+            </li>
+          </ul>
+                       <h5>IDE Integration</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="../eclipse-plugin.html">Eclipse</a>
+            </li>
+                  <li class="none">
+                  <a href="../netbeans-module.html">NetBeans</a>
+            </li>
+          </ul>
+                       <h5>About Maven</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="../what-is-maven.html">What is Maven?</a>
+            </li>
+                  <li class="none">
+                  <a href="../maven-features.html">Features</a>
+            </li>
+                  <li class="none">
+                  <a href="../general.html">FAQ (official)</a>
+            </li>
+                  <li class="none">
+                  <a href="http://docs.codehaus.org/display/MAVENUSER/FAQs-1" class="externalLink">FAQ (unofficial)</a>
+            </li>
+          </ul>
+                       <h5>Documentation</h5>
+                  <ul>
+                  <li class="none">
+            <strong>Maven Plugins</strong>
+          </li>
+                  <li class="none">
+                  <a href="../guides/index.html">Index (category)</a>
+            </li>
+                  <li class="none">
+                  <a href="../run-maven/index.html">Running Maven</a>
+            </li>
+                                                                                                                                            <li class="collapsed">
+                  <a href="../users/index.html">User Centre</a>
+                  </li>
+                                                                                                        <li class="collapsed">
+                  <a href="../plugin-developers/index.html">Plugin Developer Centre</a>
+                  </li>
+                  <li class="none">
+                  <a href="../repository/index.html">Maven Repository Centre</a>
+            </li>
+                  <li class="none">
+                  <a href="../developers/index.html">Maven Developer Centre</a>
+            </li>
+                  <li class="none">
+                  <a href="../articles.html">Books and Resources</a>
+            </li>
+                  <li class="none">
+                  <a href="http://docs.codehaus.org/display/MAVENUSER/Home" class="externalLink">Wiki</a>
+            </li>
+          </ul>
+                       <h5>Community</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="../community.html">Community Overview</a>
+            </li>
+                  <li class="none">
+                  <a href="../guides/development/guide-helping.html">How to Contribute</a>
+            </li>
+                  <li class="none">
+                  <a href="../guides/mini/guide-maven-evangelism.html">Maven Repository</a>
+            </li>
+                  <li class="none">
+                  <a href="../users/getting-help.html">Getting Help</a>
+            </li>
+                  <li class="none">
+                  <a href="../issue-tracking.html">Issue Tracking</a>
+            </li>
+                  <li class="none">
+                  <a href="../source-repository.html">Source Repository</a>
+            </li>
+                  <li class="none">
+                  <a href="../team-list.html">The Maven Team</a>
+            </li>
+          </ul>
+                       <h5>Project Documentation</h5>
+                  <ul>
+                                                                                                                          <li class="collapsed">
+                  <a href="../project-info.html">Project Information</a>
+                  </li>
+          </ul>
+                       <h5>Maven Projects</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="../ant-tasks/index.html">Ant Tasks</a>
+            </li>
+                  <li class="none">
+                  <a href="../archetype/index.html">Archetype</a>
+            </li>
+                  <li class="none">
+                  <a href="../doxia/index.html">Doxia</a>
+            </li>
+                  <li class="none">
+                  <a href="../jxr/index.html">JXR</a>
+            </li>
+                  <li class="none">
+                  <a href="../maven-1.x/index.html">Maven 1.x</a>
+            </li>
+                  <li class="none">
+                  <a href="../index.html">Maven 2 & 3</a>
+            </li>
+                  <li class="none">
+                  <a href="../pom/index.html">Parent POMs</a>
+            </li>
+                  <li class="none">
+            <strong>Plugins</strong>
+          </li>
+                  <li class="none">
+                  <a href="../plugin-tools/index.html">Plugin Tools</a>
+            </li>
+                  <li class="none">
+                  <a href="../scm/index.html">SCM</a>
+            </li>
+                  <li class="none">
+                  <a href="../shared/index.html">Shared Components</a>
+            </li>
+                  <li class="none">
+                  <a href="../skins/index.html">Skins</a>
+            </li>
+                  <li class="none">
+                  <a href="../surefire/index.html">Surefire</a>
+            </li>
+                  <li class="none">
+                  <a href="../wagon/index.html">Wagon</a>
+            </li>
+          </ul>
+                       <h5>ASF</h5>
+                  <ul>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink">How Apache Works</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/" class="externalLink">Foundation</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink">Sponsoring Apache</a>
+            </li>
+                  <li class="none">
+                  <a href="http://www.apache.org/foundation/thanks.html" class="externalLink">Thanks</a>
+            </li>
+          </ul>
+                                 <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+          <img alt="Built by Maven" src="../images/logos/maven-feather.png"/>
+        </a>
+                       
+                               </div>
+    </div>
+    <div id="bodyColumn">
+      <div id="contentBox">
+        <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements.  See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership.  The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License.  You may obtain a copy of the License at --><!--  --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!--  --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied.  See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/referen
 ces/apt-format.html --><div class="section"><h2>Available Plugins<a name="Available_Plugins"></a></h2><p>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:</p><ul><li><b>Build plugins</b> will be executed during the build and they should be configured in the <tt>&lt;build/&gt;</tt> element from the POM.</li><li><b>Reporting plugins</b> will be executed during the site generation and they should be configured in the <tt>&lt;reporting/&gt;</tt> 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 <a href="./localization.html">localization of our plugins</a> and how you can help.</li></ul><div class="section"><h3>Supported By The Maven Project<a name="Supported_By_The_Maven_Project"
 ></a></h3><p>To see the most up-to-date list browse the Maven repository at <a class="externalLink" href="http://repo.maven.apache.org/maven2/">http://repo.maven.apache.org/maven2/</a>, specifically the <a class="externalLink" href="http://repo.maven.apache.org/maven2/org/apache/maven/plugins/"> <tt>org/apache/maven/plugins</tt></a> subfolder. <i>(Plugins are organized according to a directory structure that resembles the standard Java package naming convention)</i></p><!-- TODO: the repository manager should be able to produce a page like this. Ensure all descriptions are in the POM of these plugins. --><!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --><!-- The release dates in this table must follow the ISO-8601 standard: yyyy-MM-dd --><!-- See http://maven.apache.org/guides/development/guide-documentation-style.html --><!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --><table border="1" class="bodyTabl
 e"><tr class="a"><th align="left"><b>Plugin</b></th><th align="left"><b>Type*</b></th><th align="left"><b>Version</b></th><th align="left"><b>Release Date</b></th><th align="left"><b>Description</b></th><th align="left"><b>Source Repository</b></th><th align="left"><b>Issue Tracking</b></th></tr><tr class="b"><td align="left"><b>Core plugins</b></td><td align="left"></td><td align="left"></td><td align="left"></td><td align="left"><b>Plugins corresponding to default core phases (ie. clean, compile). They may have multiple goals as well.</b></td><td align="left"></td><td align="left"></td></tr><tr class="a"><td align="left"><a href="/plugins/maven-clean-plugin/"> <tt>clean</tt></a></td><td align="left">B</td><td align="left">2.5</td><td align="left">2012-05-26</td><td align="left">Clean up after the build.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-clean-plugin">SVN</a></td><td align="left"><a class="externalLi
 nk" href="http://jira.codehaus.org/browse/MCLEAN">JIRA</a></td></tr><tr class="b"><td align="left"><a href="/plugins/maven-compiler-plugin/"> <tt>compiler</tt></a></td><td align="left">B</td><td align="left">3.0</td><td align="left">2012-11-19</td><td align="left">Compiles Java sources.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-compiler-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MCOMPILER">JIRA</a></td></tr><tr class="a"><td align="left"><a href="/plugins/maven-deploy-plugin/"> <tt>deploy</tt></a></td><td align="left">B</td><td align="left">2.7</td><td align="left">2011-08-24</td><td align="left">Deploy the built artifact to the remote repository.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-deploy-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/br
 owse/MDEPLOY">JIRA</a></td></tr><tr class="b"><td align="left"><a href="/plugins/maven-failsafe-plugin/"> <tt>failsafe</tt></a></td><td align="left">B</td><td align="left">2.12.4</td><td align="left">2012-09-27</td><td align="left">Run the JUnit integration tests in an isolated classloader.</td><td align="left"><a class="externalLink" href="https://git-wip-us.apache.org/repos/asf/maven-surefire.git">GIT</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/SUREFIRE">JIRA</a></td></tr><tr class="a"><td align="left"><a href="/plugins/maven-install-plugin/"> <tt>install</tt></a></td><td align="left">B</td><td align="left">2.4</td><td align="left">2012-09-06</td><td align="left">Install the built artifact into the local repository.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-install-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MI
 NSTALL">JIRA</a></td></tr><tr class="b"><td align="left"><a href="/plugins/maven-resources-plugin/"> <tt>resources</tt></a></td><td align="left">B</td><td align="left">2.6</td><td align="left">2012-08-18</td><td align="left">Copy the resources to the output directory for including in the JAR.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-resources-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MRESOURCES">JIRA</a></td></tr><tr class="a"><td align="left"><a href="/plugins/maven-site-plugin-2.x/"> <tt>site</tt></a> for Maven 2</td><td align="left">B</td><td align="left">2.4</td><td align="left">2012-04-26</td><td align="left">Generate a site for the current project.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/branches/maven-site-plugin-2.x/">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.
 codehaus.org/browse/MSITE">JIRA</a></td></tr><tr class="b"><td align="left"><a href="/plugins/maven-site-plugin/"> <tt>site</tt></a> for Maven 2 &amp; 3</td><td align="left">B</td><td align="left">3.2</td><td align="left">2012-10-14</td><td align="left">Generate a site for the current project.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-site-plugin/">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MSITE">JIRA</a></td></tr><tr class="a"><td align="left"><a href="/plugins/maven-surefire-plugin/"> <tt>surefire</tt></a></td><td align="left">B</td><td align="left">2.12.4</td><td align="left">2012-09-27</td><td align="left">Run the JUnit unit tests in an isolated classloader.</td><td align="left"><a class="externalLink" href="https://git-wip-us.apache.org/repos/asf/maven-surefire.git">GIT</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/
 SUREFIRE">JIRA</a></td></tr><tr class="b"><td align="left"><a href="/plugins/maven-verifier-plugin/"> <tt>verifier</tt></a></td><td align="left">B</td><td align="left">1.0</td><td align="left">2010-01-30</td><td align="left">Useful for integration tests - verifies the existence of certain conditions.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-verifier-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MVERIFIER">JIRA</a></td></tr><tr class="a"><td align="left"><b>Packaging types / tools</b></td><td align="left"></td><td align="left"></td><td align="left"></td><td align="left"><b>These plugins relate to packaging respective artifact types.</b></td><td align="left"></td><td align="left"></td></tr><tr class="b"><td align="left"><a href="/plugins/maven-ear-plugin/"> <tt>ear</tt></a></td><td align="left">B</td><td align="left">2.8</td><td align="left">2012-09-03</td><
 td align="left">Generate an EAR from the current project.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-ear-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MEAR">JIRA</a></td></tr><tr class="a"><td align="left"><a href="/plugins/maven-ejb-plugin/"> <tt>ejb</tt></a></td><td align="left">B</td><td align="left">2.3</td><td align="left">2010-09-18</td><td align="left">Build an EJB (and optional client) from the current project.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-ejb-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MEJB">JIRA</a></td></tr><tr class="b"><td align="left"><a href="/plugins/maven-jar-plugin/"> <tt>jar</tt></a></td><td align="left">B</td><td align="left">2.4</td><td align="left">2012-02-01</td><td align="left">Build a JAR from the cur
 rent project.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-jar-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MJAR">JIRA</a></td></tr><tr class="a"><td align="left"><a href="/plugins/maven-rar-plugin/"> <tt>rar</tt></a></td><td align="left">B</td><td align="left">2.3</td><td align="left">2012-11-22</td><td align="left">Build a RAR from the current project.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-rar-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MRAR">JIRA</a></td></tr><tr class="b"><td align="left"><a href="/plugins/maven-war-plugin/"> <tt>war</tt></a></td><td align="left">B</td><td align="left">2.3</td><td align="left">2012-10-01</td><td align="left">Build a WAR from the current project.</td><td align="left"><a class="externalLink" href="ht
 tp://svn.apache.org/repos/asf/maven/plugins/trunk/maven-war-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MWAR">JIRA</a></td></tr><tr class="a"><td align="left"><a href="/plugins/maven-acr-plugin/"> <tt>app-client</tt></a></td><td align="left">B</td><td align="left">1.0</td><td align="left">2011-03-31</td><td align="left">Build a JavaEE application client from the current project.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-acr-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MACR">JIRA</a></td></tr><tr class="b"><td align="left"><a href="/plugins/maven-shade-plugin/"> <tt>shade</tt></a></td><td align="left">B</td><td align="left">2.0</td><td align="left">2012-09-06</td><td align="left">Build an Uber-JAR from the current project, including dependencies.</td><td align="left"><a class="externalLink" href="http:/
 /svn.apache.org/repos/asf/maven/plugins/trunk/maven-shade-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MSHADE">JIRA</a></td></tr><tr class="a"><td align="left"><b>Reporting plugins</b></td><td align="left"></td><td align="left"></td><td align="left"></td><td align="left"><b>Plugins which generate reports, are configured as reports in the POM and run under the site generation lifecycle.</b></td><td align="left"></td><td align="left"></td></tr><tr class="b"><td align="left"><a href="/plugins/maven-changelog-plugin/"> <tt>changelog</tt></a></td><td align="left">R</td><td align="left">2.2</td><td align="left">2010-05-28</td><td align="left">Generate a list of recent changes from your SCM.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-changelog-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MCHANGELOG">JIRA</a></t
 d></tr><tr class="a"><td align="left"><a href="/plugins/maven-changes-plugin/"> <tt>changes</tt></a></td><td align="left">B+R</td><td align="left">2.8</td><td align="left">2012-09-14</td><td align="left">Generate a report from an issue tracker or a change document.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-changes-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MCHANGES">JIRA</a></td></tr><tr class="b"><td align="left"><a href="/plugins/maven-checkstyle-plugin/"> <tt>checkstyle</tt></a></td><td align="left">B+R</td><td align="left">2.9.1</td><td align="left">2012-02-25</td><td align="left">Generate a Checkstyle report.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-checkstyle-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MCHECKSTYLE">JIRA</a></td
 ></tr><tr class="a"><td align="left"><a href="/plugins/maven-doap-plugin/"> <tt>doap</tt></a></td><td align="left">B</td><td align="left">1.1</td><td align="left">2011-01-15</td><td align="left">Generate a Description of a Project (DOAP) file from a POM.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-doap-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MDOAP">JIRA</a></td></tr><tr class="b"><td align="left"><a href="/plugins/maven-docck-plugin/"> <tt>docck</tt></a></td><td align="left">B</td><td align="left">1.0</td><td align="left">2008-11-16</td><td align="left">Documentation checker plugin.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-docck-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MDOCCK">JIRA</a></td></tr><tr class="a"><td align="left"><a h
 ref="/plugins/maven-javadoc-plugin/"> <tt>javadoc</tt></a></td><td align="left">B+R</td><td align="left">2.9</td><td align="left">2012-09-18</td><td align="left">Generate Javadoc for the project.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-javadoc-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MJAVADOC">JIRA</a></td></tr><tr class="b"><td align="left"><a href="/plugins/maven-jxr-plugin/"> <tt>jxr</tt></a></td><td align="left">R</td><td align="left">2.3</td><td align="left">2011-07-17</td><td align="left">Generate a source cross reference.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/jxr/trunk/maven-jxr-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/JXR">JIRA</a></td></tr><tr class="a"><td align="left"><a href="/plugins/maven-linkcheck-plugin/"> <tt>linkcheck</tt></a
 ></td><td align="left">R</td><td align="left">1.1</td><td align="left">2010-11-13</td><td align="left">Generate a Linkcheck report of your project's documentation.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-linkcheck-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MLINKCHECK">JIRA</a></td></tr><tr class="b"><td align="left"><a href="/plugins/maven-pmd-plugin/"> <tt>pmd</tt></a></td><td align="left">B+R</td><td align="left">2.7.1</td><td align="left">2012-02-16</td><td align="left">Generate a PMD report.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-pmd-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MPMD">JIRA</a></td></tr><tr class="a"><td align="left"><a href="/plugins/maven-project-info-reports-plugin/"> <tt>project-info-reports</tt></a></td><td
  align="left">R</td><td align="left">2.6</td><td align="left">2012-10-28</td><td align="left">Generate standard project reports.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-project-info-reports-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MPIR">JIRA</a></td></tr><tr class="b"><td align="left"><a href="/plugins/maven-surefire-report-plugin/"> <tt>surefire-report</tt></a></td><td align="left">R</td><td align="left">2.12.4</td><td align="left">2012-09-27</td><td align="left">Generate a report based on the results of unit tests.</td><td align="left"><a class="externalLink" href="https://git-wip-us.apache.org/repos/asf/maven-surefire.git">GIT</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/SUREFIRE">JIRA</a></td></tr><tr class="a"><td align="left"><b>Tools</b></td><td align="left"></td><td align="left"></td><td align="left">
 </td><td align="left"><b>These are miscellaneous tools available through Maven by default.</b></td><td align="left"></td><td align="left"></td></tr><tr class="b"><td align="left"><a href="/plugins/maven-ant-plugin/"> <tt>ant</tt></a></td><td align="left">B</td><td align="left">2.3</td><td align="left">2009-11-11</td><td align="left">Generate an Ant build file for the project.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-ant-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MANT">JIRA</a></td></tr><tr class="a"><td align="left"><a href="/plugins/maven-antrun-plugin/"> <tt>antrun</tt></a></td><td align="left">B</td><td align="left">1.7</td><td align="left">2011-11-01</td><td align="left">Run a set of ant tasks from a phase of the build.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-antrun-plugin">SVN</a>
 </td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MANTRUN">JIRA</a></td></tr><tr class="b"><td align="left"><a href="/archetype/maven-archetype-plugin/"> <tt>archetype</tt></a></td><td align="left">B</td><td align="left">2.2</td><td align="left">2011-11-19</td><td align="left">Generate a skeleton project structure from an archetype.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/archetype/trunk/archetype-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/ARCHETYPE">JIRA</a></td></tr><tr class="a"><td align="left"><a href="/plugins/maven-assembly-plugin/"> <tt>assembly</tt></a></td><td align="left">B</td><td align="left">2.4</td><td align="left">2012-11-18</td><td align="left">Build an assembly (distribution) of sources and/or binaries.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-assembly-p
 lugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MASSEMBLY">JIRA</a></td></tr><tr class="b"><td align="left"><a href="/plugins/maven-dependency-plugin/"> <tt>dependency</tt></a></td><td align="left">B+R</td><td align="left">2.6</td><td align="left">2012-11-25</td><td align="left">Dependency manipulation (copy, unpack) and analysis.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-dependency-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MDEP">JIRA</a></td></tr><tr class="a"><td align="left"><a href="/enforcer/maven-enforcer-plugin/"> <tt>enforcer</tt></a></td><td align="left">B</td><td align="left">1.2</td><td align="left">2012-12-03</td><td align="left">Environmental constraint checking (Maven Version, JDK etc), User Custom Rule Execution.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repo
 s/asf/maven/enforcer/trunk/maven-enforcer-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MENFORCER">JIRA</a></td></tr><tr class="b"><td align="left"><a href="/plugins/maven-gpg-plugin/"> <tt>gpg</tt></a></td><td align="left">B</td><td align="left">1.4</td><td align="left">2011-08-24</td><td align="left">Create signatures for the artifacts and poms.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-gpg-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MGPG">JIRA</a></td></tr><tr class="a"><td align="left"><a href="/plugins/maven-help-plugin/"> <tt>help</tt></a></td><td align="left">B</td><td align="left">2.1.1</td><td align="left">2010-03-26</td><td align="left">Get information about the working environment for the project.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins
 /trunk/maven-help-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MPH">JIRA</a></td></tr><tr class="b"><td align="left"><a href="/plugins/maven-invoker-plugin/"> <tt>invoker</tt></a></td><td align="left">B+R</td><td align="left">1.8</td><td align="left">2012-11-26</td><td align="left">Run a set of Maven projects and verify the output.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-invoker-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MINVOKER">JIRA</a></td></tr><tr class="a"><td align="left"><a href="/plugins/maven-jarsigner-plugin/"> <tt>jarsigner</tt></a></td><td align="left">B</td><td align="left">1.2</td><td align="left">2009-09-30</td><td align="left">Signs or verifies project artifacts.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-jarsigner-pl
 ugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MJARSIGNER">JIRA</a></td></tr><tr class="b"><td align="left"><a href="/plugins/maven-one-plugin/"> <tt>one</tt></a></td><td align="left">B</td><td align="left">1.2</td><td align="left">2007-09-12</td><td align="left">A plugin for interacting with legacy Maven 1.x repositories and builds.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-one-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MONE">JIRA</a></td></tr><tr class="a"><td align="left"><a href="/plugins/maven-patch-plugin/"> <tt>patch</tt></a></td><td align="left">B</td><td align="left">1.1.1</td><td align="left">2010-01-06</td><td align="left">Use the gnu patch tool to apply patch files to source code.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-patch
 -plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MPATCH">JIRA</a></td></tr><tr class="b"><td align="left"><a href="/plugins/maven-pdf-plugin/"> <tt>pdf</tt></a></td><td align="left">B</td><td align="left">1.2</td><td align="left">2012-11-08</td><td align="left">Generate a PDF version of your project's documentation.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-pdf-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MPDF">JIRA</a></td></tr><tr class="a"><td align="left"><a href="/plugin-tools/maven-plugin-plugin/"> <tt>plugin</tt></a></td><td align="left">B+R</td><td align="left">3.2</td><td align="left">2012-11-11</td><td align="left">Create a Maven plugin descriptor for any mojos found in the source tree, to include in the JAR.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven
 /plugin-tools/trunk/maven-plugin-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MPLUGIN">JIRA</a></td></tr><tr class="b"><td align="left"><a href="/plugins/maven-release-plugin/"> <tt>release</tt></a></td><td align="left">B</td><td align="left">2.3.2</td><td align="left">2012-06-15</td><td align="left">Release the current project - updating the POM and tagging in the SCM.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/release/trunk/maven-release-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MRELEASE">JIRA</a></td></tr><tr class="a"><td align="left"><a href="/plugins/maven-reactor-plugin/"> <tt>reactor</tt></a></td><td align="left">B</td><td align="left">1.0</td><td align="left">2008-09-27</td><td align="left">Build a subset of interdependent projects in a reactor</td><td align="left"><a class="externalLink" href="http://svn.apache
 .org/repos/asf/maven/plugins/trunk/maven-reactor-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MREACTOR">JIRA</a></td></tr><tr class="b"><td align="left"><a href="/plugins/maven-remote-resources-plugin/"> <tt>remote-resources</tt></a></td><td align="left">B</td><td align="left">1.4</td><td align="left">2012-10-28</td><td align="left">Copy remote resources to the output directory for inclusion in the artifact.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-remote-resources-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MRRESOURCES">JIRA</a></td></tr><tr class="a"><td align="left"><a href="/plugins/maven-repository-plugin/"> <tt>repository</tt></a></td><td align="left">B</td><td align="left">2.3.1</td><td align="left">2010-07-21</td><td align="left">Plugin to help with repository-based tasks.</td><td align="left"
 ><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-repository-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MREPOSITORY">JIRA</a></td></tr><tr class="b"><td align="left"><a href="/scm/maven-scm-plugin/"> <tt>scm</tt></a></td><td align="left">B</td><td align="left">1.8.1</td><td align="left">2012-11-01</td><td align="left">Execute SCM commands for the current project.</td><td align="left"><a class="externalLink" href="https://git-wip-us.apache.org/repos/asf/maven-scm.git ">GIT</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/SCM">JIRA</a></td></tr><tr class="a"><td align="left"><a href="/plugins/maven-scm-publish-plugin/"> <tt>scm-publish</tt></a></td><td align="left">B</td><td align="left">1.0-beta-2</td><td align="left">2012-11-01</td><td align="left">Publish your Maven website to a scm location.</td><td align="left"><a class="externalLink" href="
 http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-scm-publish-plugin/">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MSCMPUB">JIRA</a></td></tr><tr class="b"><td align="left"><a href="/plugins/maven-source-plugin/"> <tt>source</tt></a></td><td align="left">B</td><td align="left">2.2.1</td><td align="left">2012-10-13</td><td align="left">Build a JAR of sources for use in IDEs and distribution to the repository.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-source-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MSOURCES">JIRA</a></td></tr><tr class="a"><td align="left"><a href="/plugins/maven-stage-plugin/"> <tt>stage</tt></a></td><td align="left">B</td><td align="left">1.0-alpha-2</td><td align="left">2009-07-14</td><td align="left">Assists with release staging and promotion.</td><td align="left"><a class="exter
 nalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-stage-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MSTAGE">JIRA</a></td></tr><tr class="b"><td align="left"><a href="/plugins/maven-toolchains-plugin/"> <tt>toolchains</tt></a></td><td align="left">B</td><td align="left">1.0</td><td align="left">2009-11-01</td><td align="left">Allows to share configuration across plugins.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-toolchains-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MTOOLCHAINS">JIRA</a></td></tr><tr class="a"><td align="left"><b>IDEs</b></td><td align="left"></td><td align="left"></td><td align="left"></td><td align="left"><b>Plugins that simplify integration with integrated developer environments.</b></td><td align="left"></td><td align="left"></td></tr><tr class="b"><td align=
 "left"><a href="/plugins/maven-eclipse-plugin/"> <tt>eclipse</tt></a></td><td align="left">B</td><td align="left">2.9</td><td align="left">2012-02-14</td><td align="left">Generate an Eclipse project file for the current project.</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-eclipse-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MECLIPSE">JIRA</a></td></tr><tr class="a"><td align="left"><a href="/plugins/maven-idea-plugin/"> <tt>idea</tt></a></td><td align="left">B</td><td align="left">2.2</td><td align="left">2008-08-08</td><td align="left">Create/update an IDEA workspace for the current project (individual modules are created as IDEA modules)</td><td align="left"><a class="externalLink" href="http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-idea-plugin">SVN</a></td><td align="left"><a class="externalLink" href="http://jira.codehaus.org/browse/MIDEA">JI
 RA</a></td></tr></table><p>* <b>B</b>uild or <b>R</b>eporting plugin</p><p>There are also some sandbox plugins into our <a class="externalLink" href="http://svn.apache.org/repos/asf/maven/sandbox/trunk/plugins">source repository</a>.</p></div><div class="section"><h3>Outside The Maven Land<a name="Outside_The_Maven_Land"></a></h3><div class="section"><h4>At codehaus.org<a name="At_codehaus.org"></a></h4><p>There are also <a class="externalLink" href="http://mojo.codehaus.org/plugins.html">many plug-ins</a> available at the <a class="externalLink" href="http://mojo.codehaus.org"> Mojo</a> project at Codehaus.</p><p>To see the most up-to-date list, browse the Codehaus repository at <a class="externalLink" href="http://nexus.codehaus.org/">http://nexus.codehaus.org/</a>, specifically the <a class="externalLink" href="http://nexus.codehaus.org/content/repositories/releases/org/codehaus/mojo/"><tt>org/codehaus/mojo</tt></a> subfolder of the releases-repository. Here are a few com
 mon ones:</p><table border="1" class="bodyTable"><tr class="a"><th align="left"><b>Plugin</b> (see <a class="externalLink" href="http://mojo.codehaus.org/plugins.html">complete list with version</a>)</th><th align="left"><b>Description</b></th></tr><tr class="b"><td align="left"><a class="externalLink" href="http://mojo.codehaus.org/animal-sniffer-maven-plugin/"> <tt>animal-sniffer</tt></a></td><td align="left">Build signatures of APIs (JDK for example) and checks your classes against them.</td></tr><tr class="a"><td align="left"><a class="externalLink" href="http://mojo.codehaus.org/build-helper-maven-plugin/"> <tt>build-helper</tt></a></td><td align="left">Attach extra artifacts and source folders to build.</td></tr><tr class="b"><td align="left"><a class="externalLink" href="http://mojo.codehaus.org/castor-maven-plugin/"> <tt>castor</tt></a></td><td align="left">Generate sources from an XSD using Castor.</td></tr><tr class="a"><td align="left"><a class="externalLink" href
 ="http://mojo.codehaus.org/clirr-maven-plugin/"> <tt>clirr</tt></a></td><td align="left">Compare binaries or sources for compatibility using Clirr</td></tr><tr class="b"><td align="left"><a class="externalLink" href="http://mojo.codehaus.org/javacc-maven-plugin/"> <tt>javacc</tt></a></td><td align="left">Generate sources from a JavaCC grammar.</td></tr><tr class="a"><td align="left"><a class="externalLink" href="http://mojo.codehaus.org/jdepend-maven-plugin/"> <tt>jdepend</tt></a></td><td align="left">Generate a report on code metrics using JDepend.</td></tr><tr class="b"><td align="left"><a class="externalLink" href="http://mojo.codehaus.org/maven-native/native-maven-plugin/"> <tt>native</tt></a></td><td align="left">Compiles C and C++ code with native compilers.</td></tr><tr class="a"><td align="left"><a class="externalLink" href="http://mojo.codehaus.org/sql-maven-plugin/"> <tt>sql</tt></a></td><td align="left">Executes SQL scripts from files or inline.</td></tr><tr class
 ="b"><td align="left"><a class="externalLink" href="http://mojo.codehaus.org/taglist-maven-plugin/"> <tt>taglist</tt></a></td><td align="left">Generate a list of tasks based on tags in your code.</td></tr><tr class="a"><td align="left"><a class="externalLink" href="http://mojo.codehaus.org/versions-maven-plugin/"> <tt>versions</tt></a></td><td align="left">Manage versions of your project, its modules, dependencies and plugins.</td></tr></table></div><div class="section"><h4>At code.google.com<a name="At_code.google.com"></a></h4><p>There are also <a class="externalLink" href="http://code.google.com/hosting/search?q=maven+plugin+label%3Amaven&amp;projectsearch=Search+Projects">many plug-ins</a> available at the <a class="externalLink" href="http://code.google.com"> Google Code</a>.</p></div><div class="section"><h4>Misc<a name="Misc"></a></h4><p>A number of other projects provide their own Maven plugins. This includes:</p><table border="1" class="bodyTable"><tr class="a"><th 
 align="left"><b>Plugin</b></th><th align="left"><b>Maintainer</b></th><th align="left"><b>Description</b></th></tr><tr class="b"><td align="left"><a class="externalLink" href="http://cargo.codehaus.org/Maven2+plugin"> <tt>cargo</tt></a></td><td align="left"><a class="externalLink" href="http://cargo.codehaus.org/">Cargo Project</a></td><td align="left">Start/stop/configure J2EE containers and deploy to them.</td></tr><tr class="a"><td align="left"><a class="externalLink" href="http://confluence.atlassian.com/display/CLOVER/Clover-for-Maven+2"> <tt>clover</tt></a></td><td align="left"><a class="externalLink" href="http://www.atlassian.com/software/clover/">Atlassian Clover</a></td><td align="left">Generate a Clover report.</td></tr><tr class="b"><td align="left"><a class="externalLink" href="http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin"> <tt>jetty</tt></a></td><td align="left"><a class="externalLink" href="http://jetty.codehaus.org/jetty/">Jetty Project</a></td><
 td align="left">Jetty Run a Jetty container for rapid webapp development.</td></tr><tr class="a"><td align="left"><a class="externalLink" href="http://www.triemax.com/products/jalopy/manual/plugin-maven.html"> <tt>jalopy</tt></a></td><td align="left"><a class="externalLink" href="http://www.triemax.com/">Triemax</a></td><td align="left">Use Jalopy to format your source code.</td></tr><tr class="b"><td align="left"><a class="externalLink" href="http://creadur.apache.org/rat/"> <tt>rat</tt></a></td><td align="left"><a class="externalLink" href="http://creadur.apache.org/">Apache Creadur Project</a></td><td align="left">Release Audit Tool (RAT) to verify files.</td></tr><tr class="a"><td align="left"><a class="externalLink" href="http://geronimo.apache.org/maven/genesis/plugins/tools-maven-plugin/index.html"> <tt>Genesis Plugins</tt></a></td><td align="left"><a class="externalLink" href="http://geronimo.apache.org/">Apache Geronimo Project</a></td><td align="left">Verify legal 
 files in artifacts.</td></tr></table></div></div><div class="section"><h3>Resources<a name="Resources"></a></h3><ol style="list-style-type: decimal"><li><a href="../guides/mini/guide-configuring-plugins.html">Guide to Configuring Plugins</a></li></ol></div></div>
+      </div>
+    </div>
+    <div class="clear">
+      <hr/>
+    </div>
+    <div id="footer">
+      <div class="xright">
+        &#169;            2002-2012
+              The Apache Software Foundation
+            
+                          - <a href="http://maven.apache.org/privacy-policy.html">Privacy Policy</a>.
+        Apache Maven, Maven, Apache, the Apache feather logo, and the Apache Maven project logos are trademarks of The Apache Software Foundation.
+      </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+  </body>
+</html>