Skip to content
This repository has been archived by the owner on Dec 3, 2017. It is now read-only.
ralscha edited this page Feb 4, 2013 · 11 revisions

embeddedtc-maven-plugin is a Maven plugin that bundles one or multiple war files and a Apache Tomcat 7 into one executable jar. On the target machine a simple java -jar myproject.jar starts Tomcat and deploys the included war file.

The official Tomcat Maven plugin also provides an executable jar creator. The main difference is the runtime configuration.

  • The Apache plugin uses xml files (context.xml, server.xml) and command line parameters to control the runtime behavior. This plugin supports Java 6 and Java 7.
  • This plugin uses one YAML configuration file that controls everything. It only runs with Java 7.

If the Apache plugin fits your needs then there is no reason to switch to this plugin.