doco from the wiki

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@125825 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
brett
2005-01-20 22:31:45 +00:00
parent b1b604376b
commit 90fc4b14e2

View File

@@ -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="vmassol@apache.org">Vincent Massol</author>
<author email="jim@crossleys.org">Jim Crossley</author>
</properties>
<body>
@@ -34,6 +35,34 @@
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>
</document>