[STAGING] Add staging plugin 97/1097/1
authorDan Timoney <dtimoney@att.com>
Tue, 21 Feb 2017 14:08:47 +0000 (09:08 -0500)
committerDan Timoney <dtimoney@att.com>
Tue, 21 Feb 2017 14:08:55 +0000 (09:08 -0500)
Add staging plugin to project pom.xml

Change-Id: Icf923e6f0f0d5e76dff5a8f3101b462d691eff7c
Signed-off-by: Dan Timoney <dtimoney@att.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index 40e970e..229b945 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -1,5 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 
        <parent>
                <groupId>org.openecomp.sdnc.core</groupId>
 
                <developerConnection>scm:git:ssh://${openecomp.git.host}:${openecomp.git.port}/${openecomp.git.project}/sdnc-northbound.git</developerConnection>
                <url>${openecomp.git.protocol}://${openecomp.git.host}/projects/${openecomp.git.project}/repos/sdnc-northbound/browse</url>
-  </scm>
+       </scm>
 
        <ciManagement>
                <system>Jenkins</system>
                <url>https://jenkins.openecomp.org/</url>
        </ciManagement>
 
-    <distributionManagement>
-        <site>
-          <id>sdnc-javadoc</id>
-          <url>dav:https://${openecomp.nexus.host}:${openecomp.nexus.port}/repository/sdn-c-javadoc/${project.artifactId}/${project.version}</url>
-        </site>
-    </distributionManagement>
+       <distributionManagement>
+               <site>
+                       <id>sdnc-javadoc</id>
+                       <url>dav:https://${openecomp.nexus.host}:${openecomp.nexus.port}/repository/sdn-c-javadoc/${project.artifactId}/${project.version}</url>
+               </site>
+       </distributionManagement>
 
        <build>
                <plugins>
-                       <!-- Blackduck plugin breaks release build
+                       <!-- Blackduck plugin breaks release build <plugin> <groupId>com.blackducksoftware.integration</groupId>
+                               <artifactId>hub-maven-plugin</artifactId> <version>1.4.0</version> <inherited>false</inherited>
+                               <configuration> <hubProjectName>${project.name}</hubProjectName> <outputDirectory>${project.basedir}</outputDirectory>
+                               </configuration> <executions> <execution> <id>create-bdio-file</id> <phase>package</phase>
+                               <goals> <goal>createHubOutput</goal> </goals> </execution> </executions>
+                               </plugin> -->
                        <plugin>
-                               <groupId>com.blackducksoftware.integration</groupId>
-                               <artifactId>hub-maven-plugin</artifactId>
-                               <version>1.4.0</version>
-                               <inherited>false</inherited>
+                               <groupId>org.sonatype.plugins</groupId>
+                               <artifactId>nexus-staging-maven-plugin</artifactId>
+                               <version>1.6.7</version>
+                               <extensions>true</extensions>
                                <configuration>
-                                       <hubProjectName>${project.name}</hubProjectName>
-                                       <outputDirectory>${project.basedir}</outputDirectory>
+                                       <nexusUrl>https://nexus.openecomp.org</nexusUrl>
+                                       <stagingProfileId>176c31dfe190a</stagingProfileId>
+                                       <serverId>ecomp-staging</serverId>
                                </configuration>
-                               <executions>
-                                       <execution>
-                                               <id>create-bdio-file</id>
-                                               <phase>package</phase>
-                                               <goals>
-                                                       <goal>createHubOutput</goal>
-                                               </goals>
-                                       </execution>
-                               </executions>
                        </plugin>
-                        -->
-            <plugin>
+                       <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-surefire-plugin</artifactId>
                                <version>2.17</version>
@@ -82,7 +79,7 @@
                <!-- <module>ueb-listener</module> -->
                <module>vnfapi</module>
                <module>vnftools</module>
-  </modules>
+       </modules>
        <organization>
                <name>AT&amp;T</name>
        </organization>