aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRashmi Pujar <rashmi.pujar@bell.ca>2019-11-21 14:09:07 -0500
committerRashmi Pujar <rashmi.pujar@bell.ca>2019-11-21 14:09:07 -0500
commit1f6b95c9717438c44eda23a9a57d976f1616a43f (patch)
tree6f4086d9e2fdd4633f91f9b02a5583742621b5ba
parent9398165f5c35e686e2570c68cd0eb4a2e9254a02 (diff)
Use dependency management for cds proto-definition artifact
Refer to: https://gerrit.onap.org/r/#/c/policy/parent/+/98733/ Issue-ID: POLICY-2254 Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca> Change-Id: Ia7fe2f294187f5c108781c8798890045445ab825
-rw-r--r--controlloop/common/eventmanager/pom.xml4
-rw-r--r--controlloop/pom.xml24
-rw-r--r--controlloop/templates/template.demo/pom.xml4
-rw-r--r--pom.xml5
4 files changed, 7 insertions, 30 deletions
diff --git a/controlloop/common/eventmanager/pom.xml b/controlloop/common/eventmanager/pom.xml
index a020e5e5d..bebc99286 100644
--- a/controlloop/common/eventmanager/pom.xml
+++ b/controlloop/common/eventmanager/pom.xml
@@ -145,10 +145,6 @@
<scope>provided</scope>
</dependency>
<dependency>
- <groupId>org.onap.ccsdk.cds.components</groupId>
- <artifactId>proto-definition</artifactId>
- </dependency>
- <dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
diff --git a/controlloop/pom.xml b/controlloop/pom.xml
index dff61c171..734d79d7c 100644
--- a/controlloop/pom.xml
+++ b/controlloop/pom.xml
@@ -21,36 +21,16 @@
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
-
<parent>
<groupId>org.onap.policy.drools-applications</groupId>
<artifactId>drools-applications</artifactId>
<version>1.6.0-SNAPSHOT</version>
</parent>
-
- <groupId>org.onap.policy.drools-applications.controlloop</groupId>
- <artifactId>controlloop</artifactId>
-
- <properties>
- <ccsdk.version>0.4.4</ccsdk.version>
- </properties>
-
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.onap.ccsdk.cds.components</groupId>
- <artifactId>proto-definition</artifactId>
- <version>${ccsdk.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
-
+ <groupId>org.onap.policy.drools-applications.controlloop</groupId>
+ <artifactId>controlloop</artifactId>
<modules>
<module>common</module>
<module>templates</module>
<module>packages</module>
</modules>
-
-
</project>
diff --git a/controlloop/templates/template.demo/pom.xml b/controlloop/templates/template.demo/pom.xml
index 47d815c7e..56f04bf42 100644
--- a/controlloop/templates/template.demo/pom.xml
+++ b/controlloop/templates/template.demo/pom.xml
@@ -195,10 +195,6 @@
<scope>provided</scope>
</dependency>
<dependency>
- <groupId>org.onap.ccsdk.cds.components</groupId>
- <artifactId>proto-definition</artifactId>
- </dependency>
- <dependency>
<groupId>org.onap.policy.models.policy-models-interactions.model-impl</groupId>
<artifactId>cds</artifactId>
<version>${policy.models.version}</version>
diff --git a/pom.xml b/pom.xml
index 4be31e74f..1c47eb47c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -259,6 +259,11 @@
<artifactId>logback-classic</artifactId>
<scope>provided</scope>
</dependency>
+ <!-- Common Controller SDK -->
+ <dependency>
+ <groupId>org.onap.ccsdk.cds.components</groupId>
+ <artifactId>proto-definition</artifactId>
+ </dependency>
</dependencies>