Plugin Documentation

Goals available for this plugin:

GoalDescription
externals:commitExamine the local working copy of a project for any svn:externals definitions. Commit any local changes including any changes under the svn:externals directories.
externals:formatpomsRecursively examine the file system for Maven poms starting at basedir. Any pom.xml files located have formatting applied to them.
externals:releasePerform a release of a multi-module Maven project that contains svn:externals. The release process creates a separate tag for each module defined as an svn:external after trimming SNAPSHOT off the version number. It then increments the version number in the root poms and re-appends the SNAPSHOT qualifier before committing the altered poms.
externals:showDisplay svn:externals definitions
externals:tagConnect svn:externals definitions with a multi-module Maven build in an intelligent manner. This mojo creates a tag from a Subversion checkout containing svn:externals definitions that correspond to Maven modules. The version numbers in the respective poms are modified to reflect the current build. This allows the tag to be used to create reproducible builds. The binaries Maven produces off the tag, correspond exactly to the version numbers in the Maven pom's.
externals:validatepomsMake sure the aggregate checkout is "self-contained". Make sure the parent versions of the svn:externals modules point back to the correct root pom. Make sure the properties used to figure out which version of the child modules to use, actually match up with the versions declared in the child modules.

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven2.0
JDK1.6
MemoryNo minimum requirement.
Disk SpaceNo minimum requirement.

Usage

You should specify the version in your project's plugin configuration:

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.kuali.maven.plugins</groupId>
          <artifactId>externals-maven-plugin</artifactId>
          <version>1.0.4</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.kuali.maven.plugins</groupId>
        <artifactId>externals-maven-plugin</artifactId>
        <version>1.0.4</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"