[AMQ-7023] Add owasp plugin as profile to AMQ build.

This commit is contained in:
jgoodyear 2018-07-28 17:19:59 -02:30
parent 31fbc20cd6
commit b6dae3703e
1 changed files with 26 additions and 0 deletions

26
pom.xml
View File

@ -95,6 +95,7 @@
<leveldbjni-version>1.8</leveldbjni-version>
<log4j-version>1.2.17</log4j-version>
<mockito-version>1.10.19</mockito-version>
<owasp-dependency-check-version>3.3.0</owasp-dependency-check-version>
<powermock-version>1.6.5</powermock-version>
<mqtt-client-version>1.14</mqtt-client-version>
<openjpa-version>1.2.0</openjpa-version>
@ -1679,6 +1680,31 @@
</properties>
</profile>
<!-- Execute owasp dependency check plugin -->
<profile>
<id>owasp</id>
<build>
<plugins>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>${owasp-dependency-check-version}</version>
<configuration>
<skipProvidedScope>true</skipProvidedScope>
<skipRuntimeScope>true</skipRuntimeScope>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- Need to disable doclint for JDK 8 builds so Javadocs work -->
<profile>
<id>jdk8-disable-doclint</id>