You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@tomee.apache.org by bu...@apache.org on 2012/10/07 10:42:31 UTC
svn commit: r834337 - in /websites/staging/openejb/trunk: cgi-bin/ content/
content/tomee-maven-plugin.html
Author: buildbot
Date: Sun Oct 7 08:42:30 2012
New Revision: 834337
Log:
Staging update by buildbot for openejb
Modified:
websites/staging/openejb/trunk/cgi-bin/ (props changed)
websites/staging/openejb/trunk/content/ (props changed)
websites/staging/openejb/trunk/content/tomee-maven-plugin.html
Propchange: websites/staging/openejb/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Oct 7 08:42:30 2012
@@ -1 +1 @@
-1395206
+1395243
Propchange: websites/staging/openejb/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Oct 7 08:42:30 2012
@@ -1 +1 @@
-1395206
+1395243
Modified: websites/staging/openejb/trunk/content/tomee-maven-plugin.html
==============================================================================
--- websites/staging/openejb/trunk/content/tomee-maven-plugin.html (original)
+++ websites/staging/openejb/trunk/content/tomee-maven-plugin.html Sun Oct 7 08:42:30 2012
@@ -254,6 +254,14 @@ plugin that allows for:</p>
<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>
@@ -273,9 +281,31 @@ plugin that allows for:</p>
<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>
+<h2>Some more tweak</h2>
+
+<p>The lib tag allows to enrich the container with some additional librairies.</p>
+
+<p>It supports some interesting pattern to complete the default maven format.</p>
+
+<ul>
+<li>remove:<some prefix of jar in lib folder>: remove all jar starting with the specified prefix</li>
+<li>unzip:<some maven zip>: extract the zip in lib folder</li>
+<li>?name=<new-name>: rename the libary once copied in lib folder</li>
+</ul>
+
+<p>Note: the name tweak can be used to rename applications too</p>
+
<h2>Provisioning Example</h2>
<p>This plugin is also usable in projects which are not war. For instance you can use it in a pom
@@ -296,9 +326,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>
</code></pre>