aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <vk250x@att.com>2017-09-21 00:10:01 -0400
committerVenkata Harish K Kajur <vk250x@att.com>2017-09-21 00:11:55 -0400
commit5e40a5c56e98a0125a721b00cb6674c31e58a7a3 (patch)
tree45971fbd99d3230fb6645c7bd5a2292a76938d94
parent70ac9a27664224d40cee2e08be878a5cecb925cc (diff)
Fix the site path so it didn't get overwritten
The issue was the sitePath got overwritten to use project group id as well but the location specified by nexus is explicility set so that we can only write site/org/onap/traversal/1.1.0/staging Issue-ID: AAI-76 Change-Id: I1622cb8051b7edff219a881a43522014480d23f1 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
-rw-r--r--aai-traversal/pom.xml17
-rw-r--r--pom.xml2
2 files changed, 1 insertions, 18 deletions
diff --git a/aai-traversal/pom.xml b/aai-traversal/pom.xml
index 141f8f7..724b2db 100644
--- a/aai-traversal/pom.xml
+++ b/aai-traversal/pom.xml
@@ -15,7 +15,6 @@
<properties>
<nexusproxy>https://nexus.onap.org</nexusproxy>
<onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
- <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<dockerLocation>${basedir}/target/swm/package/nix/dist_files/</dockerLocation>
<maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
@@ -30,22 +29,6 @@
<sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
<sonar.projectVersion>${project.version}</sonar.projectVersion>
</properties>
- <distributionManagement>
- <repository>
- <id>ecomp-releases</id>
- <name>ECOMP Release Repository</name>
- <url>${nexusproxy}/content/repositories/releases/</url>
- </repository>
- <snapshotRepository>
- <id>ecomp-snapshots</id>
- <name>ECOMP Snapshot Repository</name>
- <url>${nexusproxy}/content/repositories/snapshots/</url>
- </snapshotRepository>
- <site>
- <id>ecomp-site</id>
- <url>dav:${nexusproxy}${sitePath}</url>
- </site>
- </distributionManagement>
<dependencies>
<dependency>
<groupId>org.onap.aai.aai-common</groupId>
diff --git a/pom.xml b/pom.xml
index e84c225..b179c3d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -19,7 +19,7 @@
<properties>
<nexusproxy>https://nexus.onap.org</nexusproxy>
<onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
- <sitePath>/content/sites/site/org/onap/aai/${project.artifactId}/${project.version}</sitePath>
+ <sitePath>/content/sites/site/org/onap/aai/traversal/${project.artifactId}/${project.version}</sitePath>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>