summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAreli Fuss <af732p@att.com>2017-09-06 16:23:25 +0300
committerAreli Fuss <af732p@att.com>2017-09-06 18:31:48 +0300
commit61385dfaf8ec71fd1f8d099134dcae1ec3cb1060 (patch)
treeaaf3ee8188b8c9513b73eadba2effbf3f0268a8d
parent547839b3d0027aa7e0329a13a206b139c0712b95 (diff)
Add SNAP version
Fix maven failure due to wrong nexus upload Change-Id: Ibddd79e44974d7771b1ae3ebe507952d1f8c15dd Issue-Id: SDC-245 Signed-off-by: Areli Fuss <af732p@att.com>
-rw-r--r--pom.xml28
1 files changed, 24 insertions, 4 deletions
diff --git a/pom.xml b/pom.xml
index 85a8503..9a927ac 100644
--- a/pom.xml
+++ b/pom.xml
@@ -8,14 +8,18 @@
<name>sdc_docker_baseline</name>
<url>http://maven.apache.org</url>
- <properties>
+ <properties>
+ <!--nexus-->
+ <nexus.proxy>https://nexus.onap.org</nexus.proxy>
+ <sitePath>/content/sites/site/org/openecomp/sdc/${project.version}</sitePath>
+ <staging.profile.id>176c31dfe190a</staging.profile.id>
+ <!--maven-->
<timestamp>${maven.build.timestamp}</timestamp>
<maven.build.timestamp.format>yyyy.MM.dd.HH.mm</maven.build.timestamp.format>
+ <!--docker-->
<docker.tag>${project.version}-${timestamp}</docker.tag>
<docker.latest.tag>${project.version}-latest</docker.latest.tag>
- </properties>
-
-
+ </properties>
<build>
<plugins>
<plugin>
@@ -140,4 +144,20 @@
</plugin>
</plugins>
</build>
+ <distributionManagement>
+ <repository>
+ <id>ecomp-releases</id>
+ <name>Release Repository</name>
+ <url>${nexus.proxy}/content/repositories/releases/</url>
+ </repository>
+ <snapshotRepository>
+ <id>ecomp-snapshots</id>
+ <name>Snapshot Repository</name>
+ <url>${nexus.proxy}/content/repositories/snapshots/</url>
+ </snapshotRepository>
+ <site>
+ <id>ecomp-site</id>
+ <url>dav:${nexus.proxy}${sitePath}</url>
+ </site>
+ </distributionManagement>
</project>