can be found here:
https://svn.apache.org/repos/asf/openejb/trunk/maven-plugins/tomee-maven-plugin/

goals:

   - mvn tomee:help: some help
   - mvn tomee:configtest: run configtest on the tomcat
   - mvn tomee:deploy -Dtomee-plugin.archive=some-path: deploy the app
   located at some-path (tomee-plugin.archive can be replaced by <path> in the
   pom)
   - mvn tomee:undeploy  -Dtomee-plugin.archive: the opposite of deploy
   (same note)
   - mvn tomee:list: list ejbs deployed
   - mvn tomee:run: run and wait the current webapp
   - mvn tomee:start: run and forgot tomee deploying current webapp
   - mvn tomee:stop: opposite of start


configtest, start, run, stop have these config options:

   - tomeeGroupId, tomeeArtifactId, tomeeVersion, tomeeType, tomeeClassifier
   - args: jvm args
   - debug (boolean), debugPort
   - catalinaBase
   - systemVariables
   - libs: added tom tomcat common classloader
   - webapps: added to deployed webapps

note: for libs and webapps it should look
ilke: mysql:mysql-connector-java:5.1.18

sample:

      <plugin>
        <groupId>org.apache.openejb</groupId>
        <artifactId>tomee-maven-plugin</artifactId>
        <version>0.0.1-SNAPSHOT</version>
        <configuration>
          <tomeeVersion>1.0.0-beta-3-SNAPSHOT</tomeeVersion>
          <libs>
            <lib>mysql:mysql-connector-java:5.1.18</lib>
          </libs>
        </configuration>
      </plugin>


Note: for more info about how to override options by system property have a
look to org.apache.openejb.maven.plugin.AbstractTomEEMojo

- Romain

Reply via email to