| --- |
| Adjust Tomcat Version |
| --- |
| Olivier Lamy |
| --- |
| 2012-04-11 |
| --- |
| |
| ~~ Licensed to the Apache Software Foundation (ASF) under one |
| ~~ or more contributor license agreements. See the NOTICE file |
| ~~ distributed with this work for additional information |
| ~~ regarding copyright ownership. The ASF licenses this file |
| ~~ to you under the Apache License, Version 2.0 (the |
| ~~ "License"); you may not use this file except in compliance |
| ~~ with the License. You may obtain a copy of the License at |
| ~~ |
| ~~ http://www.apache.org/licenses/LICENSE-2.0 |
| ~~ |
| ~~ Unless required by applicable law or agreed to in writing, |
| ~~ software distributed under the License is distributed on an |
| ~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| ~~ KIND, either express or implied. See the License for the |
| ~~ specific language governing permissions and limitations |
| ~~ under the License. |
| |
| ~~ NOTE: For help with the syntax of this file, see: |
| ~~ http://maven.apache.org/doxia/references/apt-format.html |
| |
| Adjust Tomcat Version |
| |
| In case you need to adjust the version of the embedded tomcat to run you can do so by changing |
| the runtime-dependencies: |
| |
| +-- |
| <project> |
| [...] |
| <properties> |
| <tomcat.version>7.0.50</tomcat.version> |
| [...] |
| </properties> |
| [...] |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.tomcat.maven</groupId> |
| <artifactId>tomcat7-maven-plugin</artifactId> |
| <version>${project.version}</version> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.tomcat.embed</groupId> |
| <artifactId>tomcat-embed-core</artifactId> |
| <version>${tomcat.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-util</artifactId> |
| <version>${tomcat.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-coyote</artifactId> |
| <version>${tomcat.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-api</artifactId> |
| <version>${tomcat.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-jdbc</artifactId> |
| <version>${tomcat.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-dbcp</artifactId> |
| <version>${tomcat.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-servlet-api</artifactId> |
| <version>${tomcat.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-jsp-api</artifactId> |
| <version>${tomcat.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-jasper</artifactId> |
| <version>${tomcat.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-jasper-el</artifactId> |
| <version>${tomcat.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-el-api</artifactId> |
| <version>${tomcat.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-catalina</artifactId> |
| <version>${tomcat.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-tribes</artifactId> |
| <version>${tomcat.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-catalina-ha</artifactId> |
| <version>${tomcat.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-annotations-api</artifactId> |
| <version>${tomcat.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-juli</artifactId> |
| <version>${tomcat.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tomcat.embed</groupId> |
| <artifactId>tomcat-embed-logging-juli</artifactId> |
| <version>${tomcat.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tomcat.embed</groupId> |
| <artifactId>tomcat-embed-logging-log4j</artifactId> |
| <version>${tomcat.version}</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| [...] |
| </plugins> |
| </pluginManagement> |
| [...] |
| </build> |
| [...] |
| </project> |
| +-- |