Skip to content

Commit

Permalink
Upgrade to Tomcat 7.0.50
Browse files Browse the repository at this point in the history
Upgrade to Tomcat 7.0.50, working around the potential
NullPointerException by also adding dependencies to
tomcat-embedded-jasper (which is now also required for Hibernate
Validator 5.0, see commit 377953b)

Fixes spring-projectsgh-245
  • Loading branch information
Phillip Webb committed Jan 21, 2014
1 parent 7d37242 commit d556adf
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 29 deletions.
5 changes: 5 additions & 0 deletions spring-boot-actuator/pom.xml
Expand Up @@ -91,6 +91,11 @@
<artifactId>tomcat-embed-core</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-jasper</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.crashub</groupId>
<artifactId>crash.embed.spring</artifactId>
Expand Down
5 changes: 5 additions & 0 deletions spring-boot-autoconfigure/pom.xml
Expand Up @@ -51,6 +51,11 @@
<artifactId>tomcat-embed-core</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-jasper</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-jdbc</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion spring-boot-dependencies/pom.xml
Expand Up @@ -50,7 +50,7 @@
<thymeleaf.version>2.1.2.RELEASE</thymeleaf.version>
<thymeleaf-extras-springsecurity3.version>2.1.1.RELEASE</thymeleaf-extras-springsecurity3.version>
<thymeleaf-layout-dialect.version>1.2.1</thymeleaf-layout-dialect.version>
<tomcat.version>7.0.47</tomcat.version>
<tomcat.version>7.0.50</tomcat.version>
<crashub.version>1.3.0-beta14</crashub.version>
<jolokia.version>1.1.5</jolokia.version>
</properties>
Expand Down
28 changes: 0 additions & 28 deletions spring-boot-starters/spring-boot-starter-websocket/pom.xml
Expand Up @@ -12,43 +12,15 @@
<properties>
<main.basedir>${basedir}/../..</main.basedir>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-core</artifactId>
<version>${tomcat.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-logging-juli</artifactId>
<version>${tomcat.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>${project.version}</version>
<exclusions>
<exclusion>
<groupId>${project.groupId}</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-websocket</artifactId>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-logging-juli</artifactId>
</dependency>
</dependencies>
</project>

0 comments on commit d556adf

Please sign in to comment.