summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJimmy Forsyth <jf2512@att.com>2017-03-02 09:18:49 -0500
committerJimmy Forsyth <jf2512@att.com>2017-03-02 09:18:49 -0500
commit6c831fff197c43a50c297168262913090fd5bce1 (patch)
tree7ff3ba2a39eb54c7a4e72d77a27021861e0e2ac2
parent9ef101218c9e9ce382fd2f17c226df7c4ae1a721 (diff)
[OS-144] Fixing repo idsrelease-1.0.0
Change-Id: I28d4c3ee62fa2553b6d1dc3d2a276243c2e49fd8 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
-rw-r--r--pom.xml59
1 files changed, 32 insertions, 27 deletions
diff --git a/pom.xml b/pom.xml
index 7653885..515c400 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,20 +12,25 @@
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<nexusproxy>https://nexus.openecomp.org</nexusproxy>
- <build.version>1.0.2-SNAPSHOT</build.version>
+ <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
+ <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
+ <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
</properties>
<repositories>
<repository>
- <!-- Snapshots repository has ECOMP snapshot artifacts -->
- <id>nexus-snapshots</id>
- <name>Nexus Maven Central - Snapshots</name>
- <url>${nexusproxy}/content/repositories/snapshots/</url>
+ <id>ecomp-releases</id>
+ <name>VID Release Repository</name>
+ <url>${nexusproxy}/${releaseNexusPath}</url>
+ </repository>
+ <repository>
+ <id>ecomp-snapshots</id>
+ <name>VID Snapshot Repository</name>
+ <url>${nexusproxy}/${snapshotNexusPath}</url>
</repository>
<repository>
- <!-- Releases repository has ECOMP release artifacts -->
- <id>nexus</id>
- <name>Nexus Maven Central - Releases</name>
- <url>${nexusproxy}/content/repositories/releases/</url>
+ <id>ecomp-staging</id>
+ <name>VID Staging Repository</name>
+ <url>${nexusproxy}/${stagingNexusPath}</url>
</repository>
<repository>
<!-- Snapshots repository has ECOMP snapshot artifacts -->
@@ -35,6 +40,24 @@
</repository>
</repositories>
+ <distributionManagement>
+ <repository>
+ <id>ecomp-releases</id>
+ <name>VID Release Repository</name>
+ <url>${nexusproxy}/${releaseNexusPath}</url>
+ </repository>
+ <snapshotRepository>
+ <id>ecomp-snapshots</id>
+ <name>VID Snapshot Repository</name>
+ <url>${nexusproxy}/${snapshotNexusPath}</url>
+ </snapshotRepository>
+ <!-- added for javadoc -->
+ <site>
+ <id>ecomp-javadoc</id>
+ <url>dav:${nexusproxy}/content/repositories/vid-javadoc/${project.version}</url>
+ </site>
+ </distributionManagement>
+
<dependencies>
<dependency>
<groupId>org.codehaus.jackson</groupId>
@@ -69,24 +92,6 @@
</dependency>
</dependencies>
- <distributionManagement>
- <repository>
- <id>releases</id>
- <name>VID Release Repository</name>
- <url>${nexusproxy}/content/repositories/releases/</url>
- </repository>
- <snapshotRepository>
- <id>snapshots</id>
- <name>VID Snapshot Repository</name>
- <url>${nexusproxy}/content/repositories/snapshots/</url>
- </snapshotRepository>
- <!-- added for javadoc -->
- <site>
- <id>javadoc</id>
- <url>dav:${nexusproxy}/content/repositories/vid-javadoc/${project.version}</url>
- </site>
- </distributionManagement>
-
<build>
<plugins>
<plugin>