Skip to content

Commit b6e3d4c

Browse files
author
Wolfram Lutz
committed
Moved maven-site-plugin to reporting section and added org.owasp/dependency-check-maven plugin in version 4.0.1.
1 parent b1f6dcc commit b6e3d4c

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

pom.xml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,36 @@
7878
<groupId>org.springframework.boot</groupId>
7979
<artifactId>spring-boot-maven-plugin</artifactId>
8080
</plugin>
81+
</plugins>
82+
</build>
83+
84+
<reporting>
85+
<plugins>
8186
<!-- needed for mvn site - see https://stackoverflow.com/a/51099913 -->
8287
<plugin>
8388
<groupId>org.apache.maven.plugins</groupId>
8489
<artifactId>maven-site-plugin</artifactId>
8590
<version>3.7.1</version>
8691
</plugin>
87-
</plugins>
88-
</build>
8992

93+
<plugin>
94+
<groupId>org.owasp</groupId>
95+
<artifactId>dependency-check-maven</artifactId>
96+
<version>4.0.1</version>
97+
<reportSets>
98+
<reportSet>
99+
<reports>
100+
<report>aggregate</report>
101+
</reports>
102+
</reportSet>
103+
</reportSets>
104+
<configuration>
105+
<failBuildOnAnyVulnerability>true</failBuildOnAnyVulnerability>
106+
<failBuildOnCVSS>8</failBuildOnCVSS>
107+
<suppressionFile>dependency-check-report_suppressions.xml</suppressionFile>
108+
</configuration>
109+
</plugin>
90110

111+
</plugins>
112+
</reporting>
91113
</project>

0 commit comments

Comments
 (0)