Goals available for this plugin:
Goal | Description |
---|---|
externals:commit | Examine 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:dirsync | This mojo examines oldDir for any files that are not
also in newDir . If it finds any, it deletes them from
Subversion. |
externals:dirsynconly | This mojo examines oldDir for any files that and syncs
them newDir . Doesn't alter svn in any way, unlike the
DirSyncMojo. |
externals:formatpoms | Recursively examine the file system for Maven poms starting at
basedir . Any pom.xml files located have formatting
applied to them. |
externals:release | Perform 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:show | Display svn:externals definitions |
externals:tag | Connect 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:validatepoms | Make 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. |
The following specifies the minimum requirements to run this Maven plugin:
Maven | 2.0 |
JDK | 1.6 |
Memory | No minimum requirement. |
Disk Space | No minimum requirement. |
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.15-SNAPSHOT</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.15-SNAPSHOT</version> </plugin> ... </plugins> </build> ... </project>
For more information, see "Guide to Configuring Plug-ins"