You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by jg...@apache.org on 2018/07/28 20:44:38 UTC

activemq git commit: [AMQ-7023] Add owasp plugin as profile to AMQ build.

Repository: activemq
Updated Branches:
  refs/heads/activemq-5.15.x 528eb3beb -> ea21dd510


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


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/ea21dd51
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/ea21dd51
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/ea21dd51

Branch: refs/heads/activemq-5.15.x
Commit: ea21dd510db8685e992fd9fcf47fdef2a633e292
Parents: 528eb3b
Author: jgoodyear <ja...@gmail.com>
Authored: Sat Jul 28 17:19:59 2018 -0230
Committer: Jeff Genender <jg...@savoirtech.com>
Committed: Sat Jul 28 14:43:48 2018 -0600

----------------------------------------------------------------------
 pom.xml | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/ea21dd51/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index dcdcc70..48380c8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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>
@@ -1678,6 +1679,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>