aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorIdan Amit <ia096e@intl.att.com>2018-08-01 11:25:30 +0300
committerIdan Amit <ia096e@intl.att.com>2018-08-01 11:42:50 +0300
commitde26cd4b417cac55e38b8830b729d6443564f2fc (patch)
tree063e738ad657a27ef8a4baaf2934a2002490ac56 /pom.xml
parent740e99a30601420077e4fffd6698f59761eb37f4 (diff)
sdc-pubsub maven integration
Added distribution management section to pom.xml Change-Id: If0a7d87d337730b2eec1de34c6893edd977bd739 Issue-ID: SDC-1540 Signed-off-by: Idan Amit <ia096e@intl.att.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 5457ca3..8407634 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,6 +10,7 @@
<properties>
<nexus.proxy>https://nexus.onap.org</nexus.proxy>
+ <staging.profile.id>176c31dfe190a</staging.profile.id>
</properties>
<build>
@@ -100,6 +101,37 @@
</execution>
</executions>
</plugin>
+
+ <!-- Staging Plugin -->
+ <plugin>
+ <groupId>org.sonatype.plugins</groupId>
+ <artifactId>nexus-staging-maven-plugin</artifactId>
+ <version>1.6.7</version>
+ <extensions>true</extensions>
+ <configuration>
+ <nexusUrl>${nexus.proxy}</nexusUrl>
+ <stagingProfileId>${staging.profile.id}</stagingProfileId>
+ <serverId>ecomp-staging</serverId>
+ </configuration>
+ </plugin>
+
</plugins>
</build>
+
+ <distributionManagement>
+ <repository>
+ <id>ecomp-releases</id>
+ <name>Release Repository</name>
+ <url>${nexus.proxy}/content/repositories/releases/</url>
+ </repository>
+ <snapshotRepository>
+ <id>ecomp-snapshots</id>
+ <name>Snapshot Repository</name>
+ <url>${nexus.proxy}/content/repositories/snapshots/</url>
+ </snapshotRepository>
+ <site>
+ <id>ecomp-site</id>
+ <url>dav:${nexus.proxy}${sitePath}</url>
+ </site>
+ </distributionManagement>
</project> \ No newline at end of file