Add staging plugin config 43/25343/1 dev/nitrogen
authorDan Timoney <dtimoney@att.com>
Fri, 1 Dec 2017 13:37:00 +0000 (08:37 -0500)
committerDan Timoney <dtimoney@att.com>
Fri, 1 Dec 2017 21:27:34 +0000 (21:27 +0000)
Staging plugin must be explicitly in pom.xml - does not seem to
work if it is pulled in from parent pom

Change-Id: I329a9674258698e1bb62d53eca4585c8c1dfac31
Issue-ID: CCSDK-148
Signed-off-by: Dan Timoney <dtimoney@att.com>
(cherry picked from commit 9f4482ab684c651f31367662061d015f08ebc7a3)

pom.xml

diff --git a/pom.xml b/pom.xml
index 3bfb95d..4d97b21 100755 (executable)
--- a/pom.xml
+++ b/pom.xml
                     </execution>
                 </executions>
             </plugin>
+               <plugin>
+                 <groupId>org.sonatype.plugins</groupId>
+                 <artifactId>nexus-staging-maven-plugin</artifactId>
+                 <version>1.6.7</version>
+                 <extensions>true</extensions>
+                 <configuration>
+                   <nexusUrl>${onap.nexus.url}</nexusUrl>
+                   <stagingProfileId>176c31dfe190a</stagingProfileId>
+                   <serverId>ecomp-staging</serverId>
+                 </configuration>
+               </plugin>
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>versions-maven-plugin</artifactId>