From 911c65dd351a87bfcff201881d4b9f50fc0920e2 Mon Sep 17 00:00:00 2001
From: Joze RIHTARSIC <joze.rihtarsic@ext.ec.europa.eu>
Date: Thu, 17 May 2018 14:18:19 +0200
Subject: [PATCH] Set dependency-check to skip artifacts not bundled in
 distribution (Provided and Runtime scope).

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

diff --git a/pom.xml b/pom.xml
index ef0daa345..6a7eb83ca 100644
--- a/pom.xml
+++ b/pom.xml
@@ -179,6 +179,10 @@
                         <artifactId>dependency-check-maven</artifactId>
                         <version>3.1.2</version>
                         <inherited>false</inherited>
+                        <configuration>
+                            <skipProvidedScope>true</skipProvidedScope>
+                            <skipRuntimeScope>true</skipRuntimeScope>
+                        </configuration>
                         <executions>
                             <execution>
                                 <goals>
-- 
GitLab