Goals available for this plugin:
Goal | Description |
---|---|
jboss-as:add-resource | Adds a resource
If force is set to false and the
resource has already been deployed to the server, an error will
occur and the operation will fail. |
jboss-as:deploy | Deploys the application to the JBoss Application Server.
If force is set to true , the server
is queried to see if the application already exists. If the
application already exists, the application is redeployed instead
of deployed. If the application does not exist the application is
deployed as normal.
If force is set to false and the
application has already been deployed to the server, an error will
occur and the deployment will fail. |
jboss-as:deploy-artifact | Deploys an arbitrary artifact to the JBoss application server |
jboss-as:redeploy | Redeploys the application to the JBoss Application Server. |
jboss-as:undeploy | Undeploys the application to the JBoss Application Server. |
The following specifies the minimum requirements to run this Maven plugin:
Maven | 2.0 |
JDK | 1.1 |
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.jboss.as.plugins</groupId> <artifactId>jboss-as-maven-plugin</artifactId> <version>7.1.0.Final</version> </plugin> ... </plugins> </pluginManagement> <!-- To use the plugin goals in your POM or parent POM --> <plugins> <plugin> <groupId>org.jboss.as.plugins</groupId> <artifactId>jboss-as-maven-plugin</artifactId> <version>7.1.0.Final</version> </plugin> ... </plugins> </build> ... </project>
For more information, see "Guide to Configuring Plug-ins"