Add CVE Profile 97/109597/1
authorPamela Dragosh <pdragosh@research.att.com>
Fri, 26 Jun 2020 12:41:45 +0000 (08:41 -0400)
committerPamela Dragosh <pdragosh@research.att.com>
Fri, 26 Jun 2020 12:41:58 +0000 (08:41 -0400)
Profile optionally available for checking CVE.

Issue-ID: INT-1489
Change-Id: I176f8dd0d3cc11910251374aac17803291160a6f
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
oparent/pom.xml

index 283a6c3..0f816ec 100644 (file)
     <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
   </properties>
   <profiles>
+    <profile>
+        <id>cve</id>
+        <build>
+            <plugins>
+                <plugin>
+                    <groupId>org.owasp</groupId>
+                    <artifactId>dependency-check-maven</artifactId>
+                    <version>5.3.2</version>
+                    <executions>
+                        <execution>
+                            <goals>
+                                <goal>check</goal>
+                            </goals>
+                        </execution>
+                    </executions>
+                </plugin>
+            </plugins>
+        </build>
+    </profile>
+
     <profile>
       <id>generate-json</id>
       <activation>