Skip to content

Commit 64115a3

Browse files
committed
move dependency check to profile
1 parent b696b5e commit 64115a3

File tree

1 file changed

+23
-16
lines changed

1 file changed

+23
-16
lines changed

pom.xml

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -358,22 +358,6 @@ Portions Copyright (c) 2018, 2020, Chris Fraire <[email protected]>.
358358
<artifactId>maven-project-info-reports-plugin</artifactId>
359359
<version>3.1.2</version>
360360
</plugin>
361-
<plugin>
362-
<groupId>org.owasp</groupId>
363-
<artifactId>dependency-check-maven</artifactId>
364-
<version>8.1.2</version>
365-
<configuration>
366-
<skipSystemScope>true</skipSystemScope>
367-
<assemblyAnalyzerEnabled>false</assemblyAnalyzerEnabled>
368-
</configuration>
369-
<executions>
370-
<execution>
371-
<goals>
372-
<goal>aggregate</goal>
373-
</goals>
374-
</execution>
375-
</executions>
376-
</plugin>
377361
<plugin>
378362
<groupId>org.apache.maven.plugins</groupId>
379363
<artifactId>maven-site-plugin</artifactId>
@@ -443,6 +427,29 @@ Portions Copyright (c) 2018, 2020, Chris Fraire <[email protected]>.
443427
</plugins>
444428
</build>
445429
</profile>
430+
<profile>
431+
<id>dependency-check</id>
432+
<build>
433+
<plugins>
434+
<plugin>
435+
<groupId>org.owasp</groupId>
436+
<artifactId>dependency-check-maven</artifactId>
437+
<version>8.1.2</version>
438+
<configuration>
439+
<skipSystemScope>true</skipSystemScope>
440+
<assemblyAnalyzerEnabled>false</assemblyAnalyzerEnabled>
441+
</configuration>
442+
<executions>
443+
<execution>
444+
<goals>
445+
<goal>aggregate</goal>
446+
</goals>
447+
</execution>
448+
</executions>
449+
</plugin>
450+
</plugins>
451+
</build>
452+
</profile>
446453
<profile>
447454
<id>sonar</id>
448455
<properties>

0 commit comments

Comments
 (0)