11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <project xmlns : xsi =" http://www.w3 .org/2001/XMLSchema-instance " xmlns =" http://maven.apache .org/POM/4.0.0 "
2+ <project xmlns =" http://maven.apache .org/POM/4.0.0 " xmlns : xsi =" http://www.w3 .org/2001/XMLSchema-instance "
33 xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
44 <modelVersion >4.0.0</modelVersion >
55
2828 <groupId >org.springframework.boot</groupId >
2929 <artifactId >spring-boot-starter-parent</artifactId >
3030 <version >2.3.7.RELEASE</version >
31- <relativePath /> <!-- lookup parent from repository -->
31+ <relativePath /> <!-- lookup parent from repository -->
3232 </parent >
3333
3434 <repositories >
35+
36+ <!-- needed to resolve against central first-->
3537 <repository >
3638 <id >central</id >
3739 <name >Maven Central</name >
101103 <version >3.3.0</version >
102104 <type >maven-plugin</type >
103105 </dependency >
104-
105106 </dependencies >
106-
107107 <build >
108108 <plugins >
109109 <plugin >
164164 </build >
165165
166166 <reporting >
167+ <plugins >
168+ <!-- needed for mvn site - see https://stackoverflow.com/a/51099913 -->
169+ <plugin >
170+ <groupId >org.apache.maven.plugins</groupId >
171+ <artifactId >maven-site-plugin</artifactId >
172+ <version >3.9.1</version >
173+ </plugin >
174+
175+ <plugin >
176+ <!-- https://mvnrepository.com/artifact/org.owasp/dependency-check-maven -->
177+ <groupId >org.owasp</groupId >
178+ <artifactId >dependency-check-maven</artifactId >
179+ <version >${maven-dependency-check.version} </version >
180+ <reportSets >
181+ <reportSet >
182+ <reports >
183+ <report >aggregate</report >
184+ </reports >
185+ </reportSet >
186+ </reportSets >
187+ <configuration >
188+ <format >${maven-dependency-check.format} </format >
189+ <failOnError >${maven-dependency-check.failOnError} </failOnError >
190+ <failBuildOnCVSS >${maven-dependency-check.failBuildOnCVSS} </failBuildOnCVSS >
191+ <outputDirectory >target/site</outputDirectory >
192+ <!-- suppressionFile>${project.basedir}/dependency-check-report_suppressions.xml</suppressionFile -->
193+ </configuration >
194+ </plugin >
195+ </plugins >
167196 </reporting >
168197</project >
0 commit comments