Plugin Documentation

Goals available for this plugin:

Goal Description
amw:deploy-multi Sends a deployment request to AMW for a single or multiple application(s) (one server, one or more ear file(s)).
amw:deploy-single Sends a deployment request to AMW for a single application (one server, one ear file).
amw:get-systemtest-zip This plugin allows to determine the version of a deployed AMW application. It can then download a systemtest artifact, typically a .zip file, extract it and then run the JUnit tests in that directory.

The systemtest artifact is usually created during the release build (to share the same version as the deployment).

amw:set-version-parameter This plugin allows to query AMW for a deployed version of an application.

It will then set a Maven Property (see: propertyName) and also log the key=value in the TeamCity setParameter syntax.

See: Changing a Build Parameter

System Requirements

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

Maven 2.0
JDK 1.8
Memory No minimum requirement.
Disk Space No 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>ch.mobi.maven</groupId>
          <artifactId>amw-maven-plugin</artifactId>
          <version>2.1.40</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>ch.mobi.maven</groupId>
        <artifactId>amw-maven-plugin</artifactId>
        <version>2.1.40</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

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