[DMI] Fix for dmi stage-release job 19/139619/1
authorsourabh_sourabh <sourabh.sourabh@est.tech>
Fri, 29 Nov 2024 16:02:35 +0000 (16:02 +0000)
committersourabh_sourabh <sourabh.sourabh@est.tech>
Fri, 29 Nov 2024 16:02:35 +0000 (16:02 +0000)
- Used dmi group as static value.
- Made mvn dependency plugin inherited true explicitly.

Issue-ID: CPS-2470
Change-Id: Ia7a5f644b13c4f219cf45deaef52b595656bc3ee
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
dmi-service/pom.xml
dmi-stub/pom.xml
pom.xml

index e219ebe..5a4b616 100644 (file)
@@ -38,7 +38,7 @@
         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
 
         <!-- Checkstyle Configuration -->
-        <checkstyle.config.location>${project.parent.basedir}</checkstyle.config.location>
+        <checkstyle.config.location>${project.basedir}</checkstyle.config.location>
 
         <!-- Global properties for version management -->
         <bug.pattern.version>1.5.0</bug.pattern.version>
index c710014..e4ad6c4 100644 (file)
@@ -31,7 +31,7 @@
 
 
     <properties>
-        <checkstyle.config.location>../</checkstyle.config.location>
+        <checkstyle.config.location>${project.basedir}</checkstyle.config.location>
         <jacoco.skip>true</jacoco.skip>
         <java.version>17</java.version>
         <maven.compiler.release>17</maven.compiler.release>
diff --git a/pom.xml b/pom.xml
index 56ab8af..b40beb8 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -35,7 +35,7 @@
         <module>dmi-stub</module>
     </modules>
 
-    <groupId>${dmi.groupId}</groupId>
+    <groupId>org.onap.cps.ncmp-dmi-plugin</groupId>
     <artifactId>ncmp-dmi-plugin</artifactId>
     <version>1.6.0-SNAPSHOT</version>
     <name>ncmp-dmi-plugin</name>
@@ -53,7 +53,6 @@
         <!-- Project Versioning and Timestamp -->
         <cps.groupId>org.onap.cps</cps.groupId>
         <cps.version>3.5.5</cps.version>
-        <dmi.groupId>org.onap.cps.ncmp-dmi-plugin</dmi.groupId>
         <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
 
         <!-- Code Quality and Dependency Management -->
                                 </artifactItem>
                             </artifactItems>
                         </configuration>
-                        <inherited>false</inherited>
+                        <inherited>true</inherited>
                     </execution>
                 </executions>
             </plugin>