You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by co...@apache.org on 2018/08/13 10:07:50 UTC

svn commit: r1837936 - /webservices/wss4j/trunk/pom.xml

Author: coheigea
Date: Mon Aug 13 10:07:49 2018
New Revision: 1837936

URL: http://svn.apache.org/viewvc?rev=1837936&view=rev
Log:
Adding owasp plugin configuration

Modified:
    webservices/wss4j/trunk/pom.xml

Modified: webservices/wss4j/trunk/pom.xml
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/pom.xml?rev=1837936&r1=1837935&r2=1837936&view=diff
==============================================================================
--- webservices/wss4j/trunk/pom.xml (original)
+++ webservices/wss4j/trunk/pom.xml Mon Aug 13 10:07:49 2018
@@ -110,6 +110,7 @@
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <targetJdk>1.8</targetJdk>
         <buildtools.dir>${basedir}/build-tools</buildtools.dir>
+        <maven-owasp-plugin-version>3.3.1</maven-owasp-plugin-version>
     </properties>
 
     <modules>
@@ -333,6 +334,19 @@
                     <artifactId>maven-site-plugin</artifactId>
                     <version>3.6</version>
                 </plugin>
+                <plugin>
+                    <groupId>org.owasp</groupId>
+                    <artifactId>dependency-check-maven</artifactId>
+                    <version>${maven-owasp-plugin-version}</version>
+                    <executions>
+                        <execution>
+                            <phase>validate</phase>
+                            <goals>
+                                <goal>check</goal>
+                            </goals>
+                        </execution>
+                    </executions>
+                </plugin>
             </plugins>
         </pluginManagement>
 
@@ -479,6 +493,19 @@
             </properties>
         </profile>
 
+        <profile>
+            <id>dependencycheck</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.owasp</groupId>
+                        <artifactId>dependency-check-maven</artifactId>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+
+
     </profiles>
 
     <reporting>
@@ -508,6 +535,11 @@
                 <artifactId>maven-jxr-plugin</artifactId>
                 <version>2.5</version>
             </plugin>
+            <plugin>
+                <groupId>org.owasp</groupId>
+                <artifactId>dependency-check-maven</artifactId>
+                <version>${maven-owasp-plugin-version}</version>
+            </plugin>
         </plugins>
     </reporting>