Tidy dependencies and scopes in POMs 61/31261/1
authorliamfallon <liam.fallon@ericsson.com>
Sun, 11 Feb 2018 12:42:11 +0000 (12:42 +0000)
committerliamfallon <liam.fallon@ericsson.com>
Sun, 11 Feb 2018 12:51:16 +0000 (12:51 +0000)
There were some duplicate dependencies in the POMs that were causing warnings.
These have been removed. In cases where the revision of the duplicate
dependencies were different,the latest revision was used.

The scope of the "junit" dependency was "provided" in some POMs. These have been
corrected with the scope of "test" being used for junit dependencies.

Issue-ID: POLICY-238

Change-Id: Ib1cc6f040b0c4d7f2b39ae02bc6fb4590d395809
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
controlloop/common/actors/actor.test/pom.xml
controlloop/common/eventmanager/pom.xml
controlloop/common/model-impl/rest/pom.xml
controlloop/common/model-impl/trafficgenerator/pom.xml
controlloop/common/model-impl/vfc/pom.xml
controlloop/common/policy-yaml/pom.xml
controlloop/common/simulators/pom.xml
controlloop/templates/template.demo/pom.xml

index 696ef3f..27cb029 100644 (file)
@@ -58,7 +58,7 @@
                        <groupId>junit</groupId>
                        <artifactId>junit</artifactId>
                        <version>4.12</version>
-                       <scope>provided</scope>
+                       <scope>test</scope>
                </dependency>
        </dependencies>
 </project>
index fa4941a..e6d090d 100644 (file)
                        <groupId>junit</groupId>
                        <artifactId>junit</artifactId>
                        <version>4.12</version>
-                       <scope>provided</scope>
+                       <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>com.google.code.gson</groupId>
                        <version>${project.version}</version>
                        <scope>provided</scope>
                </dependency>
-               <dependency>
-                       <groupId>org.onap.policy.drools-applications</groupId>
-                       <artifactId>vfc</artifactId>
-                       <version>${project.version}</version>
-                       <scope>provided</scope>
-               </dependency>
-
                <dependency>
                        <groupId>org.apache.httpcomponents</groupId>
                        <artifactId>httpclient</artifactId>
index 940eaa7..2e1303e 100644 (file)
@@ -34,7 +34,7 @@
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
                <version>4.12</version>
-               <scope>provided</scope>
+               <scope>test</scope>
        </dependency>
        <dependency>
                <groupId>com.google.code.gson</groupId>
index f832531..fcf9893 100644 (file)
@@ -34,7 +34,7 @@
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
                <version>4.12</version>
-               <scope>provided</scope>
+               <scope>test</scope>
        </dependency>
        <dependency>
                <groupId>com.google.code.gson</groupId>
index ecbda4d..ffd45cf 100644 (file)
@@ -32,7 +32,7 @@
                        <groupId>junit</groupId>
                        <artifactId>junit</artifactId>
                        <version>4.12</version>
-                       <scope>provided</scope>
+                       <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>org.mockito</groupId>
index d15f870..efc4d08 100644 (file)
@@ -52,7 +52,7 @@
                        <groupId>junit</groupId>
                        <artifactId>junit</artifactId>
                        <version>4.12</version>
-                       <scope>provided</scope>
+                       <scope>test</scope>
                </dependency>
        </dependencies>
 </project>
index 61cffb4..8f92694 100644 (file)
                        <version>${project.version}</version>
                        <scope>test</scope>
                </dependency>
-               <dependency>
-                       <groupId>org.onap.policy.drools-applications</groupId>
-                       <artifactId>so</artifactId>
-                       <version>${project.version}</version>
-                       <scope>provided</scope>
-               </dependency>
                <dependency>
                        <groupId>org.onap.policy.drools-applications</groupId>
                        <artifactId>vfc</artifactId>
index e8f4cd1..c501bfd 100644 (file)
                        <version>${project.version}</version>
                        <scope>provided</scope>
                </dependency>
-               <dependency>
-                       <groupId>org.onap.policy.drools-applications</groupId>
-                       <artifactId>events</artifactId>
-                       <version>${project.version}</version>
-                       <scope>provided</scope>
-               </dependency>
                <dependency>
                        <groupId>org.onap.policy.drools-applications</groupId>
                        <artifactId>policy-yaml</artifactId>
                        <version>1.0.2</version>
                        <scope>provided</scope>
                </dependency>
-               <dependency>
-                       <groupId>org.eclipse.persistence</groupId>
-                       <artifactId>org.eclipse.persistence.jpa</artifactId>
-                       <version>2.6.4</version>
-                       <scope>provided</scope>
-               </dependency>
                <dependency>
                        <groupId>org.onap.policy.drools-applications</groupId>
                        <artifactId>actorServiceProvider</artifactId>