Skip to content

Commit 98a8fd4

Browse files
committed
build with OWASP plugin this as well
1 parent 7f82f00 commit 98a8fd4

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

pom.xml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@
3434
</license>
3535
</licenses>
3636
<inceptionYear>2016</inceptionYear>
37+
<properties>
38+
<!-- ‣ maven plugins -->
39+
<maven.owasp.dependency-check.version>9.2.0</maven.owasp.dependency-check.version>
40+
</properties>
3741
<scm>
3842
<connection>scm:git:https://evolvis.org/anonscm/git/tartools/mvnparent.git</connection>
3943
<developerConnection>scm:git:ssh://[email protected]/scmrepos/git/tartools/mvnparent.git</developerConnection>
@@ -68,6 +72,34 @@
6872
</execution>
6973
</executions>
7074
</plugin>
75+
<plugin>
76+
<!-- mvn -Ddependency-check.skip … -->
77+
<groupId>org.owasp</groupId>
78+
<artifactId>dependency-check-maven</artifactId>
79+
<version>${maven.owasp.dependency-check.version}</version>
80+
<inherited>false</inherited>
81+
<executions>
82+
<execution>
83+
<id>owasp-check</id>
84+
<phase>install</phase>
85+
<goals>
86+
<goal>aggregate</goal>
87+
</goals>
88+
<configuration>
89+
<failBuildOnCVSS>8</failBuildOnCVSS>
90+
<scanSet>
91+
<fileSet>
92+
<directory>src</directory>
93+
</fileSet>
94+
</scanSet>
95+
<skipArtifactType>pom</skipArtifactType>
96+
<!-- suppressionFiles>
97+
<suppressionFile>src/main/ancillary/dependency-check-suppressions.xml</suppressionFile>
98+
</suppressionFiles -->
99+
</configuration>
100+
</execution>
101+
</executions>
102+
</plugin>
71103
<plugin>
72104
<groupId>org.codehaus.mojo</groupId>
73105
<artifactId>exec-maven-plugin</artifactId>

0 commit comments

Comments
 (0)