Plugin Documentation

Goals available for this plugin:

Goal Description
rhq-agent:deploy Deploy a freshly built RHQ Agent Plugin to an RHQ container.
rhq-agent:exec-cli-command Execute a CLI command.
rhq-agent:exec-cli-script Execute a CLI script.
rhq-agent:generateProject No description.
rhq-agent:package Package a freshly built RHQ Agent Plugin.
rhq-agent:setup-test-plugin-container Setup a directory with all files needed to start a test plugin container.
rhq-agent:upload Upload a freshly built RHQ Agent Plugin to an RHQ container.
rhq-agent:validate Validates a freshly built RHQ Agent Plugin.

System Requirements

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.

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.rhq.maven.plugins</groupId>
          <artifactId>rhq-agent-plugin-plugin</artifactId>
          <version>1.0</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.rhq.maven.plugins</groupId>
        <artifactId>rhq-agent-plugin-plugin</artifactId>
        <version>1.0</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

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