aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml37
1 files changed, 30 insertions, 7 deletions
diff --git a/pom.xml b/pom.xml
index cfa37486a..6af3b616c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -30,23 +30,46 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+ <nexus.host>nexus.openecomp.org</nexus.host>
+ <nexus.proto>https</nexus.proto>
+ <build.version>1.0.0-SNAPSHOT</build.version>
</properties>
+ <repositories>
+ <repository>
+ <!-- Snapshots repository has ECOMP snapshot artifacts -->
+ <id>nexus-snapshots</id>
+ <name>Nexus Maven Central - Snapshots</name>
+ <url>${nexus.proto}://${nexus.host}/content/repositories/snapshots/</url>
+ </repository>
+ <repository>
+ <!-- Releases repository has ECOMP release artifacts -->
+ <id>nexus</id>
+ <name>Nexus Maven Central - Releases</name>
+ <url>${nexus.proto}://${nexus.host}/content/repositories/releases/</url>
+ </repository>
+ <repository>
+ <!-- Snapshots repository has ECOMP snapshot artifacts -->
+ <id>oss-snapshots</id>
+ <name>oss Central - Snapshots</name>
+ <url>https://oss.sonatype.org/service/local/repositories/releases/content/</url>
+ </repository>
+ </repositories>
<distributionManagement>
<repository>
- <id>vid-releases</id>
+ <id>ecomp-releases</id>
<name>VID Release Repository</name>
- <url>https://ecomp-nexus:8443/repository/maven-releases</url>
+ <url>${nexus.proto}://${nexus.host}/content/repositories/releases/</url>
</repository>
-
<snapshotRepository>
- <id>vid-snapshots</id>
+ <id>ecomp-snapshots</id>
<name>VID Snapshot Repository</name>
- <url>https://ecomp-nexus:8443/repository/maven-snapshots</url>
+ <url>${nexus.proto}://${nexus.host}/content/repositories/snapshots/</url>
</snapshotRepository>
+ <!-- added for javadoc -->
<site>
- <id>vid-javadoc</id>
- <url>dav:https://ecomp-nexus:8443/repository/vid-javadoc/${project.version}</url>
+ <id>ecomp-javadoc</id>
+ <url>dav:${nexus.proto}://${nexus.host}/content/repositories/vid-javadoc/${project.version}</url>
</site>
</distributionManagement>