sdc-pubsub maven integration 71/58371/2
authorIdan Amit <ia096e@intl.att.com>
Wed, 1 Aug 2018 08:25:30 +0000 (11:25 +0300)
committerIdan Amit <ia096e@intl.att.com>
Wed, 1 Aug 2018 08:42:50 +0000 (11:42 +0300)
Added distribution management section to pom.xml

Change-Id: If0a7d87d337730b2eec1de34c6893edd977bd739
Issue-ID: SDC-1540
Signed-off-by: Idan Amit <ia096e@intl.att.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index 5457ca3..8407634 100644 (file)
--- 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>
                     </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