Skip to content

Commit 1b42400

Browse files
authored
Spring Trivy fixes (#318)
1 parent 5a32d28 commit 1b42400

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

java/spring-server/pom.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,28 @@
8282
<dependency>
8383
<groupId>org.springframework.boot</groupId>
8484
<artifactId>spring-boot-starter-web</artifactId>
85+
<exclusions>
86+
<exclusion>
87+
<artifactId>spring-web</artifactId>
88+
<groupId>org.springframework</groupId>
89+
</exclusion>
90+
<exclusion>
91+
<artifactId>tomcat-embed-core</artifactId>
92+
<groupId>org.apache.tomcat.embed</groupId>
93+
</exclusion>
94+
</exclusions>
8595
</dependency>
96+
<dependency>
97+
<groupId>org.springframework</groupId>
98+
<artifactId>spring-web</artifactId>
99+
<version>6.2.8</version>
100+
</dependency>
101+
<dependency>
102+
<groupId>org.apache.tomcat.embed</groupId>
103+
<artifactId>tomcat-embed-core</artifactId>
104+
<version>10.1.42</version>
105+
</dependency>
106+
86107
<dependency>
87108
<groupId>com.google.protobuf</groupId>
88109
<artifactId>protobuf-java</artifactId>

0 commit comments

Comments
 (0)