aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2017-02-21 09:08:47 -0500
committerDan Timoney <dtimoney@att.com>2017-02-21 09:08:55 -0500
commit2db4ce99a44d798bb1bc380f2bc5405bcba7bbc4 (patch)
tree784d7eaa24d7de2076bf8e814da97e9d9101f78e
parent09b162c80016cdc798ad70e749f0ebf35477adea (diff)
[STAGING] Add staging plugin
Add staging plugin to project pom.xml Change-Id: Icf923e6f0f0d5e76dff5a8f3101b462d691eff7c Signed-off-by: Dan Timoney <dtimoney@att.com>
-rw-r--r--pom.xml51
1 files changed, 24 insertions, 27 deletions
diff --git a/pom.xml b/pom.xml
index 40e970e0..229b945c 100644
--- 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>
@@ -28,44 +29,40 @@
<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>