Skip to content

Commit 77a623d

Browse files
committed
add org.owasp dependency in security profile
1 parent 0615106 commit 77a623d

File tree

1 file changed

+22
-13
lines changed

1 file changed

+22
-13
lines changed

pom.xml

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -77,18 +77,6 @@
7777
<directory>target</directory>
7878
<finalName>${project.artifactId}-${project.version}</finalName>
7979
<plugins>
80-
<plugin>
81-
<groupId>org.owasp</groupId>
82-
<artifactId>dependency-check-maven</artifactId>
83-
<version>6.5.3</version>
84-
<executions>
85-
<execution>
86-
<goals>
87-
<goal>check</goal>
88-
</goals>
89-
</execution>
90-
</executions>
91-
</plugin>
9280
<plugin>
9381
<groupId>org.apache.maven.plugins</groupId>
9482
<artifactId>maven-enforcer-plugin</artifactId>
@@ -195,7 +183,6 @@
195183
<artifactId>maven-release-plugin</artifactId>
196184
<version>2.1</version>
197185
</plugin>
198-
199186
<plugin>
200187
<groupId>org.jacoco</groupId>
201188
<artifactId>jacoco-maven-plugin</artifactId>
@@ -310,6 +297,28 @@
310297
</pluginManagement>
311298
</build>
312299
<profiles>
300+
<profile>
301+
<id>security</id>
302+
<build>
303+
<plugins>
304+
<plugin>
305+
<groupId>org.owasp</groupId>
306+
<artifactId>dependency-check-maven</artifactId>
307+
<version>6.5.3</version>
308+
<configuration>
309+
<skipSystemScope>true</skipSystemScope>
310+
</configuration>
311+
<executions>
312+
<execution>
313+
<goals>
314+
<goal>check</goal>
315+
</goals>
316+
</execution>
317+
</executions>
318+
</plugin>
319+
</plugins>
320+
</build>
321+
</profile>
313322
<profile>
314323
<id>release-sign-artifacts</id>
315324
<activation>

0 commit comments

Comments
 (0)