Author: rmannibucau
Date: Sun Oct 7 08:40:55 2012
New Revision: 1395243
URL: http://svn.apache.org/viewvc?rev=1395243&view=rev
Log:
some more doc about tomee maven plugin
Modified:
openejb/site/trunk/content/tomee-maven-plugin.mdtext
Modified: openejb/site/trunk/content/tomee-maven-plugin.mdtext
URL:
http://svn.apache.org/viewvc/openejb/site/trunk/content/tomee-maven-plugin.mdtext?rev=1395243&r1=1395242&r2=1395243&view=diff
==============================================================================
--- openejb/site/trunk/content/tomee-maven-plugin.mdtext (original)
+++ openejb/site/trunk/content/tomee-maven-plugin.mdtext Sun Oct 7 08:40:55
2012
@@ -103,6 +103,14 @@ Available configuration elements:
<td>Remove or not tomcat webapps (manager, host-managerÉ) to gain some seconds
at startup.</td>
</tr>
<tr>
+<td>removeTomeeWebapp</td>
+<td>Remove TomEE webapp (Admin GUI + EJbd transport)</td>
+</tr>
+<tr>
+<td>keepServerXmlAsthis</td>
+<td>If a server.xml was provided don't use port configuration to change it
(Note: the stopport should match the configured one.)</td>
+</tr>
+<tr>
<td>tomeeVersion</td>
<td>The version of the TomEE artifact used to deploy the application.</td>
</tr>
@@ -122,9 +130,28 @@ Available configuration elements:
<td>tomeeClassifier</td>
<td>The classifier of the TomEE artifact used to deploy the application
(zip).</td>
</tr>
+<tr>
+<td>skipCurrentProject</td>
+<td>Don't try to deploy current project even if it is a war. (default to
false)</td>
+</tr>
+<tr>
+<td>quickSession</td>
+<td>Use a quick session id generator (Random instead of SecuredRandom -
default to true)</td>
+</tr>
</tbody>
</table>
+## Some more tweak
+
+The lib tag allows to enrich the container with some additional librairies.
+
+It supports some interesting pattern to complete the default maven format.
+
+* remove:<some prefix of jar in lib folder>: remove all jar starting
with the specified prefix
+* unzip:<some maven zip>: extract the zip in lib folder
+* ?name=<new-name>: rename the libary once copied in lib folder
+
+Note: the name tweak can be used to rename applications too
## Provisioning Example
@@ -146,9 +173,17 @@ project to setup a TomEE install, add li
<lib>mysql:mysql-connector-java:5.1.20</lib>
</libs>
<webapps>
- <webapp>org.superbiz:myapp:4.3:war?name=ROOT</webapp>
- <webapp>org.superbiz:api:1.1:war</webapp>
+ <webapp>org.superbiz:myapp:4.3?name=ROOT</webapp>
+ <webapp>org.superbiz:api:1.1</webapp>
</webapps>
+ <apps>
+ <app>org.superbiz:mybugapp:3.2:ear</app>
+ </apps>
+ <libs>
+ <lib>mysql:mysql-connector-java:5.1.21</lib>
+ <lib>unzip:org.superbiz:hibernate-bundle:4.1.0.Final</lib>
+ <lib>remove:openjpa-</lib>
+ </libs>
</configuration>
</plugin>