Plugin Documentation

Goals available for this plugin:

Goal Description
jboss-packaging:esb Builds a JBoss ESB Archive.
jboss-packaging:esb-exploded Deprecated. Use esb goal with "explodedOnly" parameter
jboss-packaging:har Build a deployable JBoss Hibernate Archive. Note that in versions of jboss prior to 4.0.3 the deployment descriptor for a HAR was "hibernate-service.xml". In 4.0.3 this changed to use "jboss-service.xml" similar to the SAR format. In JBoss 5 and above, the HAR deployment descriptor can be any file with a name that matches the pattern "*-hibernate.xml". If the parameter "deploymentDescriptorFile" is not set, this goal will first look for "jboss-service.xml", then "hibernate-service.xml" and if those are not found, it will search for a file ending with * "-hibernate.xml"
jboss-packaging:har-exploded Deprecated. Use har goal with "explodedOnly" parameter
jboss-packaging:help Display help information on jboss-packaging-maven-plugin.
Call
 mvn jboss-packaging:help -Ddetail=true -Dgoal=<goal-name>
to display parameter details.
jboss-packaging:par Build a deployable JBoss Process Archive.
jboss-packaging:sar Build a deployable JBoss Service Archive.
jboss-packaging:sar-exploded Deprecated. Use sar goal with "explodedOnly" parameter
jboss-packaging:sar-inplace Deprecated. Use sar goal with "explodedOnly" parameter
jboss-packaging:spring Build a deployable JBoss Spring Archive.

System Requirements

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

Maven 2.0.1
JDK 1.4
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.codehaus.mojo</groupId>
          <artifactId>jboss-packaging-maven-plugin</artifactId>
          <version>2.1.1</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>jboss-packaging-maven-plugin</artifactId>
        <version>2.1.1</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

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