t7mp


A Tomcat 7 Maven Plugin

This Tomcat 7 Maven Plugin supports a full-featured Tomcat for testing (mainly integration-tests) with Maven.

Issues moved to GitHub

Wiki moved to GitHub

Sources moved to GitHub

News & Features

  • first simple implementation for scanning changed resources (use 0.9.7-scanner-SNAPSHOT) as version in your pom.mxl, please report all your issues, thanks
  • default version for tomcat is now 7.0.8

  • configure systemproperties is supported 0.9.7-SNAPSHOT (07.02.2011), try it

  • default version for tomcat is now 7.0.6 (first official release of Tomcat 7)

  • latest release is 0.9.6 (04.10.2010)

  • runs any version of tomcat 7 or 6 you cand find in maven-central
  • runs multiple webapps in the container where contextPath is configurable
  • cofigure shared libs similar to dependencies in pom.xml
  • using some best practices for configuration in server.xml

Documentation

Configuration-Snippets

Change the port tomcat is listening for http connections (default is 8080)

Use the tomcatHttpPort configuration element. Example: <configuration> <tomcatHttpPort>12345</tomcatHttpPort> </configuration>

Change the port tomcat is listening for shutdown (default is 8005)

Use the tomcatShutdownPort configuration element. Example: <configuration> <tomcatShutdownPort>54321</tomcatShutdownPort> </configuration>

Change version of tomcat (default is 7.0.6)

Use the tomcatVersion configuration element. Example: <configuration> <tomcatVersion>6.0.28</tomcatVersion> </configuration>

You can see all available versions for Tomcat 6 and Tomcat 7

Project Information

Labels:
Maven Java Plugin Server Tomcat Webapp IntegrationTests