diff options
author | Areli Fuss <af732p@att.com> | 2017-09-06 16:23:25 +0300 |
---|---|---|
committer | Areli Fuss <af732p@att.com> | 2017-09-06 16:23:25 +0300 |
commit | fc3c822e5f3ecd742c2002c675a7dfe2420f59e5 (patch) | |
tree | aaf3ee8188b8c9513b73eadba2effbf3f0268a8d /pom.xml | |
parent | 547839b3d0027aa7e0329a13a206b139c0712b95 (diff) |
Add distribution management
Fix maven failure due to missing nexus definitions
Change-Id: I4b5e4e70dfbcba77a58bb0dd8cda009ad98b6dcd
Issue-Id: SDC-245
Signed-off-by: Areli Fuss <af732p@att.com>
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 28 |
1 files changed, 24 insertions, 4 deletions
@@ -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> |