From 0ba72f3df9d06351a4d2d7d3bac70f1fde48d3b8 Mon Sep 17 00:00:00 2001 From: "Gao, Chenfei (cg287m)" Date: Mon, 24 Jul 2017 15:41:27 -0400 Subject: [POLICY-91] POM dependencies cleanup Change-Id: Idfc19a978be26e1dfa85736fea5ffecf6b298446 Signed-off-by: Gao, Chenfei (cg287m) --- controlloop/common/eventmanager/pom.xml | 93 ++++-------- controlloop/common/model-impl/events/pom.xml | 21 +++ controlloop/common/packages/artifacts/pom.xml | 38 +++-- .../basex/src/files/bin/create-closed-loop-demo.sh | 0 .../src/main/resources/archetype-resources/pom.xml | 21 ++- .../template.demo.v1.0.0/template.demo/pom.xml | 161 ++++++++++----------- controlloop/templates/template.demo/pom.xml | 99 ++++++++----- 7 files changed, 233 insertions(+), 200 deletions(-) mode change 100644 => 100755 controlloop/common/packages/basex/src/files/bin/create-closed-loop-demo.sh diff --git a/controlloop/common/eventmanager/pom.xml b/controlloop/common/eventmanager/pom.xml index e5ba6defa..efe7b3487 100644 --- a/controlloop/common/eventmanager/pom.xml +++ b/controlloop/common/eventmanager/pom.xml @@ -1,3 +1,23 @@ + + 4.0.0 @@ -9,57 +29,19 @@ eventmanager - com.att.nsa - dmaapClient - 0.2.12 - - - com.att.nsa - cambriaClient - 0.0.1 - - - org.drools - drools-core - 6.3.0.Final - - - org.drools - drools-compiler - 6.3.0.Final - provided - - - org.yaml - snakeyaml - 1.17 - - - org.jgrapht - jgrapht-core - 0.9.2 - provided - - - org.onap.policy.drools-applications - policy-yaml - 1.1.0-SNAPSHOT - provided - - - org.onap.policy.drools-applications + org.onap.policy.drools-applications actorServiceProvider 1.1.0-SNAPSHOT provided - org.onap.policy.drools-applications + org.onap.policy.drools-applications actor.appc 1.1.0-SNAPSHOT provided - org.onap.policy.drools-applications + org.onap.policy.drools-applications guard 1.1.0-SNAPSHOT provided @@ -83,22 +65,11 @@ provided - postgresql - postgresql - 9.1-901.jdbc4 - - - - org.mariadb.jdbc - mariadb-java-client - 1.5.5 - - - com.google.guava - guava - 14.0.1 + com.google.code.gson + gson + 2.5 + provided - org.onap.policy.drools-applications sdc @@ -111,15 +82,5 @@ 1.1.0-SNAPSHOT provided - - javax.persistence - persistence-api - 1.0.2 - - - org.eclipse.persistence - org.eclipse.persistence.jpa - 2.6.4 - diff --git a/controlloop/common/model-impl/events/pom.xml b/controlloop/common/model-impl/events/pom.xml index e7f4f9482..a07bb4786 100644 --- a/controlloop/common/model-impl/events/pom.xml +++ b/controlloop/common/model-impl/events/pom.xml @@ -1,3 +1,23 @@ + + 4.0.0 @@ -11,6 +31,7 @@ com.google.code.gson gson 2.5 + provided diff --git a/controlloop/common/packages/artifacts/pom.xml b/controlloop/common/packages/artifacts/pom.xml index ba996b819..e68b9ee6b 100644 --- a/controlloop/common/packages/artifacts/pom.xml +++ b/controlloop/common/packages/artifacts/pom.xml @@ -67,22 +67,29 @@ org.onap.policy.drools-applications - demo + controlloop ${project.version} - jar - + pom + org.onap.policy.drools-applications - events + common ${project.version} - jar + pom org.onap.policy.drools-applications - rest + model-impl + ${project.version} + pom + + + + org.onap.policy.drools-applications + events ${project.version} jar - + org.onap.policy.drools-applications appc @@ -106,13 +113,24 @@ trafficgenerator ${project.version} jar - + + + org.onap.policy.drools-applications + eventmanager + ${project.version} + jar + org.onap.policy.drools-applications - archetype-closedloop-demo-rules + guard + ${project.version} + jar + + + org.onap.policy.drools-applications + policy-yaml ${project.version} jar - diff --git a/controlloop/common/packages/basex/src/files/bin/create-closed-loop-demo.sh b/controlloop/common/packages/basex/src/files/bin/create-closed-loop-demo.sh old mode 100644 new mode 100755 diff --git a/controlloop/templates/template.demo.v1.0.0/archetype-closedloop-demo-rules/src/main/resources/archetype-resources/pom.xml b/controlloop/templates/template.demo.v1.0.0/archetype-closedloop-demo-rules/src/main/resources/archetype-resources/pom.xml index 370431dfb..c023a744d 100644 --- a/controlloop/templates/template.demo.v1.0.0/archetype-closedloop-demo-rules/src/main/resources/archetype-resources/pom.xml +++ b/controlloop/templates/template.demo.v1.0.0/archetype-closedloop-demo-rules/src/main/resources/archetype-resources/pom.xml @@ -40,17 +40,17 @@ org.onap.policy.drools-applications demo ${dependenciesVersion} - + org.onap.policy.drools-applications - controlloop + events ${dependenciesVersion} org.onap.policy.drools-applications rest ${dependenciesVersion} - + org.onap.policy.drools-applications appc @@ -71,5 +71,20 @@ trafficgenerator ${dependenciesVersion} + + org.onap.policy.drools-applications + eventmanager + ${dependenciesVersion} + + + org.onap.policy.drools-applications + guard + ${dependenciesVersion} + + + org.onap.policy.drools-applications + policy-yaml + ${dependenciesVersion} + diff --git a/controlloop/templates/template.demo.v1.0.0/template.demo/pom.xml b/controlloop/templates/template.demo.v1.0.0/template.demo/pom.xml index e48b78709..33abe7786 100644 --- a/controlloop/templates/template.demo.v1.0.0/template.demo/pom.xml +++ b/controlloop/templates/template.demo.v1.0.0/template.demo/pom.xml @@ -18,10 +18,11 @@ ============LICENSE_END========================================================= --> - - 4.0.0 + + 4.0.0 - demo + demo org.onap.policy.drools-applications @@ -29,84 +30,78 @@ 1.1.0-SNAPSHOT - - - org.apache.httpcomponents - httpclient - 4.5.2 - provided - - - junit - junit - 4.12 - provided - - - com.google.code.gson - gson - 2.5 - provided - - - org.drools - drools-core - 6.3.0.Final - provided - - - org.drools - drools-compiler - 6.3.0.Final - provided - - - org.onap.policy.drools-applications - events - ${project.version} - provided - - - org.onap.policy.drools-applications - appc - ${project.version} - provided - - - org.onap.policy.drools-applications - aai - ${project.version} - provided - - - org.onap.policy.drools-applications - mso - ${project.version} - provided - - - org.onap.policy.drools-applications - trafficgenerator - ${project.version} - provided - - - org.onap.policy.drools-applications - eventmanager - ${project.version} - provided - - - org.onap.policy.drools-applications - guard - 1.1.0-SNAPSHOT - provided - - - org.onap.policy.drools-applications - policy-yaml - 1.1.0-SNAPSHOT - provided - - + + + junit + junit + 4.12 + provided + + + com.google.code.gson + gson + 2.5 + provided + + + org.drools + drools-core + 6.5.0.Final + test + + + org.drools + drools-compiler + 6.5.0.Final + test + + + org.onap.policy.drools-applications + events + ${project.version} + provided + + + org.onap.policy.drools-applications + appc + ${project.version} + provided + + + org.onap.policy.drools-applications + aai + ${project.version} + provided + + + org.onap.policy.drools-applications + mso + ${project.version} + provided + + + org.onap.policy.drools-applications + trafficgenerator + ${project.version} + provided + + + org.onap.policy.drools-applications + eventmanager + ${project.version} + provided + + + org.onap.policy.drools-applications + guard + ${project.version} + provided + + + org.onap.policy.drools-applications + policy-yaml + ${project.version} + provided + + diff --git a/controlloop/templates/template.demo/pom.xml b/controlloop/templates/template.demo/pom.xml index e7aab68b3..c09cfa2cc 100644 --- a/controlloop/templates/template.demo/pom.xml +++ b/controlloop/templates/template.demo/pom.xml @@ -1,8 +1,29 @@ + + + 4.0.0 - org.onap.policy.drools-applications + org.onap.policy.drools-applications templates 1.1.0-SNAPSHOT @@ -11,95 +32,97 @@ org.drools drools-core - 6.3.0.Final + 6.5.0.Final + test org.drools drools-compiler - 6.3.0.Final - provided + 6.5.0.Final + test org.onap.policy.drools-applications appc - 1.1.0-SNAPSHOT + ${project.version} + provided - + org.onap.policy.drools-applications events - 1.1.0-SNAPSHOT + ${project.version} + provided org.onap.policy.drools-applications guard - 1.1.0-SNAPSHOT + ${project.version} + provided org.onap.policy.drools-applications aai - 1.1.0-SNAPSHOT + ${project.version} + provided org.onap.policy.drools-applications sdc - 1.1.0-SNAPSHOT + ${project.version} + provided org.onap.policy.drools-applications events - 1.1.0-SNAPSHOT + ${project.version} + provided org.onap.policy.drools-applications policy-yaml - 1.1.0-SNAPSHOT + ${project.version} + provided org.onap.policy.drools-applications eventmanager - 1.1.0-SNAPSHOT - - - commons-io - commons-io - 2.4 - - - org.apache.httpcomponents - httpclient - 4.5.2 + ${project.version} + provided - com.att.research.xacml - xacml - 1.0.0 + com.att.research.xacml + xacml + 1.0.0 + test - com.att.research.xacml - xacml-pdp - 1.0.0 + com.att.research.xacml + xacml-pdp + 1.0.0 + test - javax.persistence - persistence-api - 1.0.2 + javax.persistence + persistence-api + 1.0.2 + provided - org.eclipse.persistence - org.eclipse.persistence.jpa - 2.6.4 + org.eclipse.persistence + org.eclipse.persistence.jpa + 2.6.4 + provided - org.onap.policy.drools-applications actorServiceProvider - 1.1.0-SNAPSHOT + ${project.version} provided org.onap.policy.drools-applications actor.appc - 1.1.0-SNAPSHOT + ${project.version} provided -- cgit 1.2.3-korg