Apache Maven 1.x has reached its end of life, and is no longer supported. For more information, see the announcement. Users are encouraged to migrate to the current version of Apache Maven.

Deprecation Warning

This plugin has been removed from the current Maven distribution, it is not maintained by the Maven team anymore. Please check the Plugins History page to find out the last Maven version that included this plugin.

Maven JBoss plugin

This is a plugin for creating a packaged JBoss server configuration zip. It supports static and dynamic deployment of J2EE modules. The dynamic deployment is implemented using JMX.


This plugin contains goals to help in quickly building and deploying a webapp into a running JBoss server if you do not have IDE support for it.

To build your webapp into the correct directory structure, set the following property for your project:


To deploy your webapp after making changes to your java source code, run:

maven jboss:deploy-exploded-warfile

If only webapp content has changed (ie the webapp does not need to be reloaded), you can run:

maven war:webapp

To undeploy the webapp:

maven jboss:undeploy-exploded-warfile

The JBoss plugin takes advantage of the jmx-console webapp provided in the default configuration of JBoss. It assumes you have JBoss running on localhost with its embedded web server (either Tomcat or Jetty) listening on port 8080. To override these, please refer to the JBoss Plugin Properties reference.