Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0
-
None
-
None
Description
Using the embedded Tomcat we needed a way to exchange the Tomcat with a specific version. You can do so by providing this in your plugin configuration:
<project> [...] <properties> <tomcat.version>6.0.29</tomcat.version> [...] </properties> [...] <build> <pluginManagement> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>tomcat-maven-plugin</artifactId> <version></version> <dependencies> <dependency> <groupId>org.apache.tomcat</groupId> <artifactId>catalina</artifactId> <version></version> </dependency> <dependency> <groupId>org.apache.tomcat</groupId> <artifactId>catalina-ha</artifactId> <version></version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.tomcat</groupId> <artifactId>tribes</artifactId> <version></version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.tomcat</groupId> <artifactId>el-api</artifactId> <version></version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.tomcat</groupId> <artifactId>jasper</artifactId> <version></version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.tomcat</groupId> <artifactId>jasper-el</artifactId> <version></version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.tomcat</groupId> <artifactId>jasper-jdt</artifactId> <version></version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.tomcat</groupId> <artifactId>jsp-api</artifactId> <version></version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.tomcat</groupId> <artifactId>servlet-api</artifactId> <version></version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.tomcat</groupId> <artifactId>coyote</artifactId> <version></version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.tomcat</groupId> <artifactId>dbcp</artifactId> <version></version> <scope>runtime</scope> </dependency> </dependencies> </plugin> [...] </plugins> </pluginManagement> [...] </build> [...] </project>
Attached a proposal for the documentation (site and example-apt-entry).