Author: brett
Date: Thu Jan 20 14:31:45 2005
New Revision: 125825

URL: http://svn.apache.org/viewcvs?view=rev&rev=125825
Log:
doco from the wiki
Modified:
   maven/maven-1/plugins/trunk/jboss/xdocs/index.xml

Modified: maven/maven-1/plugins/trunk/jboss/xdocs/index.xml
Url: 
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/jboss/xdocs/index.xml?view=diff&rev=125825&p1=maven/maven-1/plugins/trunk/jboss/xdocs/index.xml&r1=125824&p2=maven/maven-1/plugins/trunk/jboss/xdocs/index.xml&r2=125825
==============================================================================
--- maven/maven-1/plugins/trunk/jboss/xdocs/index.xml   (original)
+++ maven/maven-1/plugins/trunk/jboss/xdocs/index.xml   Thu Jan 20 14:31:45 2005
@@ -2,7 +2,7 @@
 
 <!-- 
 /*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * Copyright 2001-2005 The Apache Software Foundation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -23,6 +23,7 @@
   <properties>
     <title>Maven JBoss plugin</title>
     <author email="[EMAIL PROTECTED]">Vincent Massol</author>
+    <author email="[EMAIL PROTECTED]">Jim Crossley</author>
   </properties>
 
   <body>
@@ -32,6 +33,34 @@
         configuration zip. It supports static and dynamic 
         deployment of J2EE modules. The dynamic deployment is
         implemented using JMX.
+      </p>
+    </section>
+    <section name="Usage">
+      <p>
+        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.
+      </p>
+      <p>
+        To build your webapp into the correct directory structure, set the 
following property for your project:
+      </p>
+      
<source>maven.war.webapp.dir=${maven.build.dir}/exploded/${pom.artifactId}.war/</source>
+      <p>
+        To deploy your webapp after making changes to your java source code, 
run:
+      </p>
+      <source>maven jboss:deploy-exploded-warfile</source>
+      <p>
+        If only webapp content has changed (ie the webapp does not need to be 
reloaded), you can run:
+      </p>
+      <source>maven war:webapp</source>
+      <p>
+        To undeploy the webapp:
+      </p>
+      <source>maven jboss:undeploy-exploded-warfile</source>
+      <p>
+        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
+        <a href="properties.html">JBoss Plugin Properties</a> reference.
       </p>
     </section>
  </body>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to