aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaMont, William (wl2432) <wl2432@att.com>2018-09-12 14:25:57 -0400
committerLaMont, William (wl2432) <wl2432@att.com>2018-09-12 14:26:26 -0400
commitde5ef94b2f56d8af80d822ca9815fc40bdbbb83e (patch)
treec33ecf1dfa0cd9d2456099faa3ebd4f27720e656
parent571d6f65cf5e0e5334956dbe11730fd47820b947 (diff)
Update cacher pom for merge issue
Issue-ID: AAI-1415 Change-Id: I78b873abe03ab472894636b8d805113b6271a033 Signed-off-by: LaMont, William (wl2432) <wl2432@att.com>
-rw-r--r--pom.xml51
1 files changed, 48 insertions, 3 deletions
diff --git a/pom.xml b/pom.xml
index 4850a39..7ff4efd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,14 +24,14 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
- <groupId>org.onap.aai</groupId>
+ <groupId>org.onap.aai.cacher</groupId>
<artifactId>aai-cacher</artifactId>
<version>1.0.0-SNAPSHOT</version>
<parent>
<groupId>org.onap.oparent</groupId>
<artifactId>oparent</artifactId>
- <version>1.1.0</version>
+ <version>1.2.0</version>
</parent>
<properties>
@@ -58,7 +58,16 @@
<service.account>aai-svc-account</service.account>
<docker.namespace>openecomp</docker.namespace>
- <license.goal.type>check</license.goal.type>
+ <license.goal.type>check</license.goal.type>
+
+ <!--
+ Nexus Proxy Properties and Snapshot Locations
+ Ideally this can be overwritten at runtime per internal environment specific values at runtime
+ -->
+ <nexusproxy>https://nexus.onap.org</nexusproxy>
+ <site.path>/content/sites/site/org/onap/aai/cacher/${project.artifactId}/${project.version}</site.path>
+ <release.path>/content/repositories/releases/</release.path>
+ <snapshot.path>/content/repositories/snapshots/</snapshot.path>
<start-class>org.onap.aai.cacher.Application</start-class>
@@ -457,6 +466,31 @@
</dependency>
</dependencies>
<build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>default-deploy</id>
+ <phase>none</phase>
+ </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>${nexusproxy}</nexusUrl>
+ <stagingProfileId>176c31dfe190a</stagingProfileId>
+ <serverId>ecomp-staging</serverId>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
@@ -653,6 +687,17 @@
</resource>
</resources>
</build>
+ <distributionManagement>
+ <snapshotRepository>
+ <id>ecomp-snapshots</id>
+ <name>ECOMP Snapshot Repository</name>
+ <url>${onap.nexus.url}/content/repositories/snapshots/</url>
+ </snapshotRepository>
+ <site>
+ <id>ecomp-site</id>
+ <url>dav:${onap.nexus.url}${sitePath}</url>
+ </site>
+ </distributionManagement>
<!-- Start of ONAP Specific Repositories -->
<repositories>
<repository>