Adds distributionManagement to main pom
authorTomasz Golabek <tomasz.golabek@nokia.com>
Wed, 12 Feb 2020 07:56:23 +0000 (08:56 +0100)
committerTomasz Golabek <tomasz.golabek@nokia.com>
Wed, 12 Feb 2020 07:56:23 +0000 (08:56 +0100)
Should fix broken merge-java build

Issue-ID: AAF-995
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
Change-Id: If95cee0fa80d6fcfa9e66978ba9335c398c8888b

certService/pom.xml
pom.xml

index d5b6e7d..6ea5255 100644 (file)
@@ -20,6 +20,7 @@
         <artifactId>aaf-certservice-parent</artifactId>
         <version>0.0.1-SNAPSHOT</version>
     </parent>
+
     <artifactId>cert-service</artifactId>
     <version>0.0.1-SNAPSHOT</version>
     <name>cert-service</name>
             </build>
         </profile>
     </profiles>
+
+    <distributionManagement>
+        <repository>
+            <id>ecomp-releases</id>
+            <name>AAF Release Repository</name>
+            <url>${nexusproxy}${releaseNexusPath}</url>
+        </repository>
+        <snapshotRepository>
+            <id>ecomp-snapshots</id>
+            <name>AAF Snapshot Repository</name>
+            <url>${nexusproxy}${snapshotNexusPath}</url>
+        </snapshotRepository>
+        <site>
+            <id>ecomp-site</id>
+            <url>dav:${nexusproxy}${sitePath}</url>
+        </site>
+    </distributionManagement>
+
 </project>
diff --git a/pom.xml b/pom.xml
index e58b351..4569408 100644 (file)
--- a/pom.xml
+++ b/pom.xml
         <artifactId>oparent</artifactId>
         <version>3.0.0</version>
     </parent>
+
     <groupId>org.onap.aaf</groupId>
     <artifactId>aaf-certservice-parent</artifactId>
     <version>0.0.1-SNAPSHOT</version>
     <name>aaf-certservice-parent</name>
     <description>AAF Certification Service parent</description>
     <packaging>pom</packaging>
+
+    <properties>
+        <nexusproxy>https://nexus.onap.org</nexusproxy>
+        <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
+        <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
+        <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
+        <sitePath>/content/sites/site/org/onap/aaf/cert-service/${project.artifactId}/${project.version}</sitePath>
+    </properties>
+
     <modules>
         <module>certService</module>
     </modules>
+
+    <distributionManagement>
+        <repository>
+            <id>ecomp-releases</id>
+            <name>AAF Release Repository</name>
+            <url>${nexusproxy}${releaseNexusPath}</url>
+        </repository>
+        <snapshotRepository>
+            <id>ecomp-snapshots</id>
+            <name>AAF Snapshot Repository</name>
+            <url>${nexusproxy}${snapshotNexusPath}</url>
+        </snapshotRepository>
+        <site>
+            <id>ecomp-site</id>
+            <url>dav:${nexusproxy}${sitePath}</url>
+        </site>
+    </distributionManagement>
+
 </project>