Skip to content

Commit 00744d7

Browse files
committed
upgrade spring-boot version to 2.6.6 and add owasp dependency-check-maven plugin
1 parent e65b2fc commit 00744d7

File tree

1 file changed

+28
-10
lines changed

1 file changed

+28
-10
lines changed

pom.xml

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
1+
<project xmlns="http://maven.apache.org/POM/4.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24
<modelVersion>4.0.0</modelVersion>
35
<groupId>org.springdoc</groupId>
46
<artifactId>springdoc-openapi</artifactId>
@@ -11,7 +13,7 @@
1113
<parent>
1214
<groupId>org.springframework.boot</groupId>
1315
<artifactId>spring-boot-starter-parent</artifactId>
14-
<version>2.6.4</version>
16+
<version>2.6.6</version>
1517
</parent>
1618

1719
<licenses>
@@ -139,7 +141,14 @@
139141
<artifactId>spring-native</artifactId>
140142
<version>${spring-native.version}</version>
141143
</dependency>
142-
144+
<!-- spring Cloud -->
145+
<dependency>
146+
<groupId>org.springframework.cloud</groupId>
147+
<artifactId>spring-cloud-dependencies</artifactId>
148+
<version>${spring-cloud.version}</version>
149+
<type>pom</type>
150+
<scope>import</scope>
151+
</dependency>
143152
<!-- SpringDoc -->
144153
<dependency>
145154
<groupId>org.springdoc</groupId>
@@ -201,13 +210,6 @@
201210
<artifactId>springdoc-openapi-native</artifactId>
202211
<version>${project.version}</version>
203212
</dependency>
204-
<dependency>
205-
<groupId>org.springframework.cloud</groupId>
206-
<artifactId>spring-cloud-dependencies</artifactId>
207-
<version>${spring-cloud.version}</version>
208-
<type>pom</type>
209-
<scope>import</scope>
210-
</dependency>
211213
</dependencies>
212214
</dependencyManagement>
213215
<dependencies>
@@ -233,6 +235,22 @@
233235
</plugin>
234236
</plugins>
235237
</pluginManagement>
238+
<plugins>
239+
<plugin>
240+
<groupId>org.owasp</groupId>
241+
<artifactId>dependency-check-maven</artifactId>
242+
<configuration>
243+
<skipSystemScope>true</skipSystemScope>
244+
</configuration>
245+
<executions>
246+
<execution>
247+
<goals>
248+
<goal>check</goal>
249+
</goals>
250+
</execution>
251+
</executions>
252+
</plugin>
253+
</plugins>
236254
</build>
237255

238256
<profiles>

0 commit comments

Comments
 (0)