summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dmi-service/pom.xml28
-rw-r--r--dmi-stub/dmi-plugin-demo-and-csit-stub-app/pom.xml28
-rw-r--r--pom.xml3
3 files changed, 56 insertions, 3 deletions
diff --git a/dmi-service/pom.xml b/dmi-service/pom.xml
index b3b5ff55..645140b3 100644
--- a/dmi-service/pom.xml
+++ b/dmi-service/pom.xml
@@ -43,6 +43,7 @@
<!-- Global properties for version management -->
<bug.pattern.version>1.5.0</bug.pattern.version>
<gmavenplus.plugin.version>4.0.1</gmavenplus.plugin.version>
+ <maven.deploy.plugin.version>3.1.2</maven.deploy.plugin.version>
<maven.surefire.plugin.version>3.3.1</maven.surefire.plugin.version>
<openapi.generator.maven.plugin.version>6.6.0</openapi.generator.maven.plugin.version>
<spring.boot.maven.plugin.version>3.1.2</spring.boot.maven.plugin.version>
@@ -53,6 +54,11 @@
<jacoco.minimum.coverage>0.98</jacoco.minimum.coverage>
<jacoco.outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</jacoco.outputDirectory>
<jacoco.version>0.8.11</jacoco.version>
+
+ <!-- ONAP Nexus Repository Configuration -->
+ <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
+ <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
+ <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
</properties>
<dependencyManagement>
@@ -562,6 +568,11 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <version>${maven.deploy.plugin.version}</version>
+ </plugin>
</plugins>
<pluginManagement>
<plugins>
@@ -605,6 +616,7 @@
</plugins>
</pluginManagement>
</build>
+
<profiles>
<profile>
<id>docker</id>
@@ -612,7 +624,7 @@
<activeByDefault>true</activeByDefault>
</activation>
<properties>
- <image.name>onap-dmi-ncmp-plugin</image.name>
+ <image.name>ncmp-dmi-plugin</image.name>
</properties>
<build>
<plugins>
@@ -625,4 +637,18 @@
</build>
</profile>
</profiles>
+
+ <distributionManagement>
+ <repository>
+ <id>ecomp-releases</id>
+ <name>ECOMP Release Repository</name>
+ <url>${onap.nexus.url}${releaseNexusPath}</url>
+ </repository>
+ <snapshotRepository>
+ <id>ecomp-snapshots</id>
+ <name>ECOMP Snapshot Repository</name>
+ <url>${onap.nexus.url}${snapshotNexusPath}</url>
+ </snapshotRepository>
+ </distributionManagement>
+
</project> \ No newline at end of file
diff --git a/dmi-stub/dmi-plugin-demo-and-csit-stub-app/pom.xml b/dmi-stub/dmi-plugin-demo-and-csit-stub-app/pom.xml
index 0cdac6eb..e513d929 100644
--- a/dmi-stub/dmi-plugin-demo-and-csit-stub-app/pom.xml
+++ b/dmi-stub/dmi-plugin-demo-and-csit-stub-app/pom.xml
@@ -31,6 +31,13 @@
<properties>
<app>org.onap.cps.ncmp.dmi.rest.stub.DmiDemoApplication</app>
+
+ <maven.deploy.plugin.version>3.1.2</maven.deploy.plugin.version>
+
+ <!-- ONAP Nexus Repository Configuration -->
+ <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
+ <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
+ <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
</properties>
<dependencies>
@@ -103,6 +110,11 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <version>${maven.deploy.plugin.version}</version>
+ </plugin>
</plugins>
</pluginManagement>
</build>
@@ -114,7 +126,7 @@
<activeByDefault>true</activeByDefault>
</activation>
<properties>
- <image.name>onap-dmi-plugin-demo-and-csit-stub</image.name>
+ <image.name>dmi-plugin-demo-and-csit-stub</image.name>
</properties>
<build>
<plugins>
@@ -127,4 +139,18 @@
</build>
</profile>
</profiles>
+
+ <distributionManagement>
+ <repository>
+ <id>ecomp-releases</id>
+ <name>ECOMP Release Repository</name>
+ <url>${onap.nexus.url}${releaseNexusPath}</url>
+ </repository>
+ <snapshotRepository>
+ <id>ecomp-snapshots</id>
+ <name>ECOMP Snapshot Repository</name>
+ <url>${onap.nexus.url}${snapshotNexusPath}</url>
+ </snapshotRepository>
+ </distributionManagement>
+
</project> \ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 4e0a388e..8596be26 100644
--- a/pom.xml
+++ b/pom.xml
@@ -62,10 +62,11 @@
<maven.compiler.target>17</maven.compiler.target>
<maven.dependency.plugin.version>3.7.1</maven.dependency.plugin.version>
<maven.deploy.plugin.version>3.1.2</maven.deploy.plugin.version>
+ <maven.deploy.skip>false</maven.deploy.skip>
+ <maven.install.skip>false</maven.install.skip>
<!-- ONAP Nexus Repository Configuration -->
<onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
- <nexusproxy>https://nexus.onap.org</nexusproxy>
<releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
<snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
</properties>