summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimoney, Dan (dt5972) <dt5972@att.com>2018-03-05 15:28:15 -0500
committerTimoney, Dan (dt5972) <dt5972@att.com>2018-03-05 15:28:15 -0500
commitab85bb680539cb6bdd8dd86e05087c7291c96a13 (patch)
treeecd95dd4b342454b7e100251d12eb7b4b6547ed0
parentb02ff95567ac507d567749ab5fc13634fbdc2ed4 (diff)
Add staging config
Add staging configuration to parent aggregator pom Change-Id: Iafa8b62118f33e61479143d2e70a39f62b88bb95 Issue-ID: CCSDK-197 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
-rwxr-xr-xodlparent/pom.xml6
-rwxr-xr-xpom.xml17
2 files changed, 23 insertions, 0 deletions
diff --git a/odlparent/pom.xml b/odlparent/pom.xml
index c289b37c..05313e51 100755
--- a/odlparent/pom.xml
+++ b/odlparent/pom.xml
@@ -9,6 +9,12 @@
<artifactId>odlparent-aggregator</artifactId>
<version>1.0.1-SNAPSHOT</version>
+ <parent>
+ <groupId>org.onap.ccsdk.parent</groupId>
+ <artifactId>parent</artifactId>
+ <version>1.0.1-SNAPSHOT</version>
+ </parent>
+
<name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
<distributionManagement>
diff --git a/pom.xml b/pom.xml
index 4279f294..a0f37457 100755
--- a/pom.xml
+++ b/pom.xml
@@ -10,6 +10,12 @@
<version>1.0.1-SNAPSHOT</version>
<name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
+ <properties>
+ <onap.nexus.host>nexus.onap.org</onap.nexus.host>
+ <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
+ <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
+ </properties>
+
<distributionManagement>
<repository>
<id>ecomp-releases</id>
@@ -31,6 +37,17 @@
<processAllModules>true</processAllModules>
</configuration>
</plugin>
+ <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>