Enable staging for distribution repo 23/15823/1
authorDan Timoney <dtimoney@att.com>
Wed, 27 Sep 2017 07:20:07 +0000 (09:20 +0200)
committerDan Timoney <dtimoney@att.com>
Wed, 27 Sep 2017 07:20:07 +0000 (09:20 +0200)
Distribution release job is failing because staging is not enabled.

Change-Id: Id4c8ba022ae1f090d7cd9a9fcda9b14ccd6e560e
Issue-ID: CCSDK-59
Signed-off-by: Dan Timoney <dtimoney@att.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index 26d6013..215196b 100644 (file)
--- a/pom.xml
+++ b/pom.xml
         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
     </properties>
 
+    <build>
+        <plugins>
+           <plugin>
+                <groupId>org.sonatype.plugins</groupId>
+                <artifactId>nexus-staging-maven-plugin</artifactId>
+                <version>1.6.7</version>
+                <extensions>true</extensions>
+                <configuration>
+                    <nexusUrl>https://${onap.nexus.host}</nexusUrl>
+                    <stagingProfileId>${onap.nexus.staging.profile-id}</stagingProfileId>
+                    <serverId>${onap.nexus.staging.server-id}</serverId>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
     <modules>
         <module>platform-logic</module>
         <module>ubuntu</module>

© 2017 ONAP. Copyright © The Linux Foundation ®. All Rights Reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use