Goals available for this plugin:
| Goal | Description |
|---|---|
| jboss:configure | Allows you to configure JBoss installation by overlaying a conf, lib and deploy directory. |
| jboss:deploy | Deploys a directory or file to JBoss via JMX. |
| jboss:hard-deploy | Hard deploys the file by copying it to the
$JBOSS_HOME/server/[serverName]/deploy directory. |
| jboss:hard-undeploy | Delete file form
$JBOSS_HOME/server/[serverName]/deploy directory. |
| jboss:harddeploy | Deprecated. As of version 1.4, use the hard-deploy goal instead. |
| jboss:hardundeploy | Deprecated. As of version 1.4, use the hard-undeploy goal instead. |
| jboss:help | Display help information on jboss-maven-plugin. Call mvn jboss:help -Ddetail=true -Dgoal=<goal-name>to display parameter details. |
| jboss:redeploy | ReDeploys a directory or file to JBoss via JMX. |
| jboss:start | Starts JBoss. |
| jboss:start-and-wait | Starts JBoss and waits until the server is started. |
| jboss:startAndWait | Deprecated. As of version 1.4, use the start-and-wait goal
instead. |
| jboss:stop | Stops JBoss. |
| jboss:undeploy | Undeploys a directory or file from JBoss via JMX. |
The following specifies the minimum requirements to run this Maven plugin:
| Maven | 2.0 |
| JDK | 1.4 |
| Memory | No minimum requirement. |
| Disk Space | No minimum requirement. |
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-maven-plugin</artifactId>
<version>1.4</version>
</plugin>
...
</plugins>
</pluginManagement>
<!-- To use the plugin goals in your POM or parent POM -->
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jboss-maven-plugin</artifactId>
<version>1.4</version>
</plugin>
...
</plugins>
</build>
...
</project>
For more information, see "Guide to Configuring Plug-ins"