include support for TomEE Maven Plugin
Closed this issue · 2 comments
Inspired by the Jetty Maven Plugin
, the TomEE Maven Plugin
is a feature-rich plugin that allows for:
- Easy provisioning of a TomEE server
- Server start and stop
- Application deployment and undeployment
This plugin should be included in this project's Build file. The following are it's configuration details from a sample working environment:
<plugin>
<groupId>org.apache.tomee.maven</groupId>
<artifactId>tomee-maven-plugin</artifactId>
<version>7.1.1</version>
<configuration>
<!-- Which flavor of TomEE to use? webprofile, plus, plume e.t.c default = webprofile -->
<tomeeClassifier>plume</tomeeClassifier>
<args>-Xmx512m -XX:PermSize=256m</args>
</configuration>
<!-- https://mvnrepository.com/artifact/org.apache.tomee.maven/tomee-maven-plugin -->
</plugin>
The following maven command was used to execute the Build, Deploy and Run:
mvn clean package -DskipTests -Dinvoker.skip=true tomee:run
More details about the plugin can be found at the following links:
http://www.tomee.apache.org/tomee-maven-plugin.html
https://www.tomee.apache.org/developer/tools/maven/tomee.html
https://rmannibucau.wordpress.com/2012/05/31/tomee-maven-plugin/
https://www.tomitribe.com/blog/tomee-configuration-techniques/
https://www.tomitribe.com/blog/using-the-tomee-maven-plugin/
Fixed at #64
Done!