Skip to content

Commit

Permalink
Merge pull request #11721 from swagger-api/issue521
Browse files Browse the repository at this point in the history
add org.owasp dependency in security profile
  • Loading branch information
gracekarina authored Feb 23, 2022
2 parents 5b80a0a + 5c9c583 commit c4be7b3
Showing 1 changed file with 22 additions and 12 deletions.
34 changes: 22 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,6 @@
<directory>target</directory>
<finalName>${project.artifactId}-${project.version}</finalName>
<plugins>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>6.5.3</version>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>net.revelc.code</groupId>
<artifactId>formatter-maven-plugin</artifactId>
Expand Down Expand Up @@ -268,6 +256,28 @@
</pluginManagement>
</build>
<profiles>
<profile>
<id>security</id>
<build>
<plugins>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>6.5.3</version>
<configuration>
<skipSystemScope>true</skipSystemScope>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release-profile</id>
<properties>
Expand Down

0 comments on commit c4be7b3

Please sign in to comment.