Fork me on GitHub

Plugin Documentation

Goals available for this plugin:

Goal Description
brooklyn:deploy Instruct an existing Brooklyn server to deploy the given blueprint.
brooklyn:help Display help information on brooklyn-maven-plugin.
Call mvn brooklyn:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
brooklyn:sensor Fetch the value of a sensor on entities at a given server whose types match a regular expression.
brooklyn:start-server Run a Brooklyn server.
brooklyn:stop Instruct a Brooklyn server to stop the application with the given ID.
brooklyn:stop-server Instruct a Brooklyn server to shut down. If the server was started by the StartBrooklynMojo start goal the plugin will wait for the forked process to exit.

System Requirements

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

Maven 3.0.4
JDK 1.7
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>io.brooklyn.maven</groupId>
          <artifactId>brooklyn-maven-plugin</artifactId>
          <version>0.3.0</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>io.brooklyn.maven</groupId>
        <artifactId>brooklyn-maven-plugin</artifactId>
        <version>0.3.0</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

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