POM changes to centralize test scope deps
[policy/engine.git] / ONAP-PDP / pom.xml
index d302c95..27c0ec1 100644 (file)
   ============LICENSE_END=========================================================
   -->
 
-
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
        <modelVersion>4.0.0</modelVersion>
        <artifactId>ONAP-PDP</artifactId>
        <description>ONAP-PDP</description>
                        <groupId>com.att.research.xacml</groupId>
                        <artifactId>xacml-pdp</artifactId>
                        <version>1.0.1</version>
+            <exclusions>
+            <!-- The LDAP PIP uses velocity which pulls this insecure jar in. We
+            are not using that PIP and can safely exclude this jar to resolve CLM issue.
+             -->
+              <exclusion>
+                <groupId>commons-collections</groupId>
+                <artifactId>commons-collections</artifactId>
+              </exclusion>
+            </exclusions>
                </dependency>
                <dependency>
-                       <groupId>junit</groupId>
-                       <artifactId>junit</artifactId>
-                       <version>4.11</version>
-               </dependency>
+               <groupId>org.onap.policy.drools-pdp</groupId>
+               <artifactId>policy-endpoints</artifactId>
+               <version>${project.version}</version>
+               <scope>test</scope>
+       </dependency>
        </dependencies>
+
 </project>