Skip to content

Commit

Permalink
Fixing OWASP security warning for Tomcat dependency in Spring Web
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Klish committed Jan 10, 2020
1 parent fa5da76 commit e943cbe
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion elide-spring/elide-spring-boot-autoconfigure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

<properties>
<spring.boot.version>2.2.2.RELEASE</spring.boot.version>

<tomcat.version>9.0.30</tomcat.version>
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
<min_jdk_version>1.8</min_jdk_version>
<max_jdk_version>1.8</max_jdk_version>
Expand Down Expand Up @@ -93,11 +93,34 @@
<optional>true</optional>
</dependency>

<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-core</artifactId>
<version>${tomcat.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-websocket</artifactId>
<version>${tomcat.version}</version>
<optional>true</optional>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>${spring.boot.version}</version>
<optional>true</optional>
<exclusions>
<exclusion>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-core</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-websocket</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
Expand Down

0 comments on commit e943cbe

Please sign in to comment.