Skip to content

Commit

Permalink
move dependency-check into profile
Browse files Browse the repository at this point in the history
  • Loading branch information
jvanzadelhoff committed Jun 9, 2023
1 parent a6a8124 commit bf2377c
Showing 1 changed file with 28 additions and 17 deletions.
45 changes: 28 additions & 17 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -155,23 +155,6 @@
<argLine>-Xms256m -Xmx256m</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>8.2.1</version>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<suppressionFiles>
<suppressionFile>dependency-check-suppression.xml</suppressionFile>
</suppressionFiles>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
Expand Down Expand Up @@ -236,6 +219,11 @@
<artifactId>properties-maven-plugin</artifactId>
<version>1.0.0</version>
</plugin>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>8.2.1</version>
</plugin>
</plugins>
</pluginManagement>
</build>
Expand Down Expand Up @@ -294,5 +282,28 @@
</plugins>
</build>
</profile>
<profile>
<id>dependency-check</id>
<build>
<plugins>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<suppressionFiles>
<suppressionFile>dependency-check-suppression.xml</suppressionFile>
</suppressionFiles>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit bf2377c

Please sign in to comment.