Skip to content

Commit 5c9c583

Browse files
committed
add org.owasp dependency in security profile
1 parent 5b80a0a commit 5c9c583

File tree

1 file changed

+22
-12
lines changed

1 file changed

+22
-12
lines changed

pom.xml

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -69,18 +69,6 @@
6969
<directory>target</directory>
7070
<finalName>${project.artifactId}-${project.version}</finalName>
7171
<plugins>
72-
<plugin>
73-
<groupId>org.owasp</groupId>
74-
<artifactId>dependency-check-maven</artifactId>
75-
<version>6.5.3</version>
76-
<executions>
77-
<execution>
78-
<goals>
79-
<goal>check</goal>
80-
</goals>
81-
</execution>
82-
</executions>
83-
</plugin>
8472
<plugin>
8573
<groupId>net.revelc.code</groupId>
8674
<artifactId>formatter-maven-plugin</artifactId>
@@ -268,6 +256,28 @@
268256
</pluginManagement>
269257
</build>
270258
<profiles>
259+
<profile>
260+
<id>security</id>
261+
<build>
262+
<plugins>
263+
<plugin>
264+
<groupId>org.owasp</groupId>
265+
<artifactId>dependency-check-maven</artifactId>
266+
<version>6.5.3</version>
267+
<configuration>
268+
<skipSystemScope>true</skipSystemScope>
269+
</configuration>
270+
<executions>
271+
<execution>
272+
<goals>
273+
<goal>check</goal>
274+
</goals>
275+
</execution>
276+
</executions>
277+
</plugin>
278+
</plugins>
279+
</build>
280+
</profile>
271281
<profile>
272282
<id>release-profile</id>
273283
<properties>

0 commit comments

Comments
 (0)