diff --git a/jboss/plugin.jelly b/jboss/plugin.jelly
index aa57e3dd..02e90be5 100644
--- a/jboss/plugin.jelly
+++ b/jboss/plugin.jelly
@@ -19,7 +19,7 @@
-->
+ prereqs="jboss:configure"/>
-
-
-
-
+ prereqs="jboss:init">
@@ -121,6 +116,59 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
diff --git a/jboss/xdocs/changes.xml b/jboss/xdocs/changes.xml
index 9c2ae236..1dde786f 100644
--- a/jboss/xdocs/changes.xml
+++ b/jboss/xdocs/changes.xml
@@ -8,6 +8,15 @@
+
+ Allowed deployments of EAR, WAR or EJB-JAR (only EAR was previously
+ supported) by adding the jboss:package-ear,
+ jboss:package-ejb and jboss:package-war
+ goals. The jboss:package goal has been renamed
+ jboss:configure and now simply creates a
+ custom JBoss server configuration (with nothing from the project
+ deployed in it).
+
Added deploy/undeploy targets for jar/war/ear using JBoss' jmx console.
diff --git a/jboss/xdocs/goals.xml b/jboss/xdocs/goals.xml
index 6c29f3ff..488a7d1c 100644
--- a/jboss/xdocs/goals.xml
+++ b/jboss/xdocs/goals.xml
@@ -8,10 +8,30 @@
- jboss:package
+ jboss:configure
- Creates a JBoss server configuration directory structure, packaging
- the application EAR in it.
+ Creates a custom JBoss server configuration directory structure.
+
+
+
+ jboss:package-ear
+
+ Creates a custom JBoss server configuration directory structure
+ and deploys an EAR in it.
+
+
+
+ jboss:package-ejb
+
+ Creates a custom JBoss server configuration directory structure
+ and deploys an EJB-JAR in it.
+
+
+
+ jboss:package-war
+
+ Creates a custom JBoss server configuration directory structure
+ and deploys a WAR in it.