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:&lt;some prefix of jar in lib folder&gt;: remove all jar starting with the specified prefix</li>
+<li>unzip:&lt;some maven zip&gt;: extract the zip in lib folder</li>
+<li>?name=&lt;new-name&gt;: 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
         &lt;lib&gt;mysql:mysql-connector-java:5.1.20&lt;/lib&gt;
       &lt;/libs&gt;
       &lt;webapps&gt;
-         &lt;webapp&gt;org.superbiz:myapp:4.3:war?name=ROOT&lt;/webapp&gt;
-         &lt;webapp&gt;org.superbiz:api:1.1:war&lt;/webapp&gt;
+         &lt;webapp&gt;org.superbiz:myapp:4.3?name=ROOT&lt;/webapp&gt;
+         &lt;webapp&gt;org.superbiz:api:1.1&lt;/webapp&gt;
       &lt;/webapps&gt;
+      &lt;apps&gt;
+          &lt;app&gt;org.superbiz:mybugapp:3.2:ear&lt;/app&gt;
+      &lt;/apps&gt;
+      &lt;libs&gt;
+          &lt;lib&gt;mysql:mysql-connector-java:5.1.21&lt;/lib&gt;
+          &lt;lib&gt;unzip:org.superbiz:hibernate-bundle:4.1.0.Final&lt;/lib&gt;
+          &lt;lib&gt;remove:openjpa-&lt;/lib&gt;
+      &lt;/libs&gt;
     &lt;/configuration&gt;
   &lt;/plugin&gt;
 </code></pre>