Plugin Documentation

Goals available for this plugin:

GoalDescription
setup:clearcase-settingsConfigure a clearcase-settings.xml file according to ClearCase settings file

Default template filename: clearcase-settings.xml
Properties filename: clearcase-settings.properties
Requires: Maven 2.0

setup:cvs-settingsConfigure a cvs-settings.xml file according to Provider Configuration

Default template filename: cvs-settings.xml
Properties filename: cvs-settings.properties
Requires: Maven 2.0

setup:git-settingsConfigure a git-settings.xml file according to Provider Configuration

Default template filename: git-settings.xml
Properties filename: git-settings.properties
Requires: Maven 2.0

setup:global-settingsConfigure a settings.xml file in the Maven homedirectory according to Settings Reference

Default template filename: settings.xml
Properties filename: settings.properties
Requires: Maven 3.0-alpha-1

setup:helpDisplay help information on setup-maven-plugin.
Call
  mvn setup:help -Ddetail=true -Dgoal=<goal-name>
to display parameter details.
setup:settings-securityConfigure a settings-security.xml file according to How to create a master password This plugin doesn't require a template. Providing a password is enough

Default template filename: settings-security.xml
Properties filename: settings-security.properties
Requires: Maven 2.1.0

setup:starteam-settingsConfigure a starteam-settings.xml file according to Hidden Features

Default template filename: starteam-settings.xml
Properties filename: starteam-settings.properties
Requires: Maven 2.0

setup:svn-settingsConfigure a svn-settings.xml file according to Provider Configuration

Default template filename: svn-settings.xml
Properties filename: svn-settings.properties
Requires: Maven 2.0

setup:toolchainsConfigure a toolchains.xml according to miniguide using toolchains

Default template filename: toolchains.xml
Properties filename: toolchains.properties
Requires: Maven 3.0-alpha-1

setup:user-settingsConfigure a settings.xml file in the User homedirectory according to Settings Reference

Default template filename: settings.xml
Properties filename: settings.properties
Requires: Maven 3.0-alpha-1

setup:vss-settingsConfigure a vss-settings.xml file according to Provider Configuration

Default template filename: vss-settings.xml
Properties filename: vss-settings.properties
Requires: Maven 2.0

System Requirements

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

Maven3.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.codehaus.mojo</groupId>
          <artifactId>setup-maven-plugin</artifactId>
          <version>1.0.0-alpha-1-SNAPSHOT</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>setup-maven-plugin</artifactId>
        <version>1.0.0-alpha-1-SNAPSHOT</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

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