Fix for poms
Change-Id: I9f5b13f25cccf3f4cde292f5689d28d2e74896a9
Issue-ID: DCAEGEN2-451
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
diff --git a/prh-aai-client/pom.xml b/prh-aai-client/pom.xml
index 8d4161f..28abdd8 100644
--- a/prh-aai-client/pom.xml
+++ b/prh-aai-client/pom.xml
@@ -67,9 +67,9 @@
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
- <groupId>org.onap.dcaegen2.services.commons</groupId>
- <artifactId>commons</artifactId>
- <version>1.0-SNAPSHOT</version>
+ <groupId>org.onap.dcaegen2.services.prh</groupId>
+ <artifactId>prh-commons</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
</dependency>
<!-- LOGGING DEPENDENCIES-->
diff --git a/prh-app-server/pom.xml b/prh-app-server/pom.xml
index d1345c5..a8529d2 100644
--- a/prh-app-server/pom.xml
+++ b/prh-app-server/pom.xml
@@ -183,10 +183,10 @@
<artifactId>gson</artifactId>
</dependency>
<dependency>
- <groupId>org.onap.dcaegen2.services.commons</groupId>
- <artifactId>commons</artifactId>
- <version>1.0-SNAPSHOT</version>
- </dependency>
+ <groupId>org.onap.dcaegen2.services.prh</groupId>
+ <artifactId>prh-commons</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
<!-- LOGGING DEPENDENCIES-->
diff --git a/prh-commons/pom.xml b/prh-commons/pom.xml
index 08ce5fd..fdfb6d6 100644
--- a/prh-commons/pom.xml
+++ b/prh-commons/pom.xml
@@ -10,12 +10,15 @@
<version>1.0.0-SNAPSHOT</version>
</parent>
- <groupId>org.onap.dcaegen2.services.commons</groupId>
- <artifactId>commons</artifactId>
-
- <version>1.0-SNAPSHOT</version>
+ <artifactId>prh-commons</artifactId>
+ <groupId>org.onap.dcaegen2.services.prh</groupId>
+ <version>1.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
+ <properties>
+ <main.basedir>${project.parent.basedir}</main.basedir>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.immutables</groupId>
diff --git a/prh-dmaap-client/pom.xml b/prh-dmaap-client/pom.xml
index 40d4df9..bce5ccb 100644
--- a/prh-dmaap-client/pom.xml
+++ b/prh-dmaap-client/pom.xml
@@ -52,6 +52,11 @@
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.onap.dcaegen2.services.prh</groupId>
+ <artifactId>prh-commons</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
<!-- LOGGING DEPENDENCIES -->
@@ -99,10 +104,6 @@
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>org.onap.dcaegen2.services.commons</groupId>
- <artifactId>commons</artifactId>
- <version>1.0-SNAPSHOT</version>
- </dependency>
+
</dependencies>
</project>
\ No newline at end of file