Remove Variable in POM 65/9665/1
authorDeterme, Sebastien (sd378r) <sd378r@intl.att.com>
Thu, 31 Aug 2017 11:43:36 +0000 (13:43 +0200)
committerDeterme, Sebastien (sd378r) <sd378r@intl.att.com>
Thu, 31 Aug 2017 11:44:48 +0000 (13:44 +0200)
Due to the oparent, it's impossible to keep the
variables to define the nexus accesses because
Maven needs the parent first to identify default
values. So it has been removed

Change-Id: Ie81ed776f6d6bd129da9a1701a205d93a6a6780f
Issue-Id: CLAMP-43
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index a0b5053..c1ec0e2 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                <skip.docker.build>true</skip.docker.build>
                <skip.docker.push>true</skip.docker.push>
                <skip.staging.artifacts>false</skip.staging.artifacts>
-
-               <nexusproxy>https://nexus.onap.org</nexusproxy>
-               <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
-               <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
-               <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
-               <sitePath>/content/sites/site/org/onap/clamp/${project.version}</sitePath>
        </properties>
 
        <distributionManagement>
                <repository>
                        <id>ecomp-releases</id>
                        <name>Clamp Release Repository</name>
-                       <url>${nexusproxy}/${releaseNexusPath}</url>
+                       <url>https://nexus.onap.org/content/repositories/releases/</url>
                </repository>
                <snapshotRepository>
                        <id>ecomp-snapshots</id>
                        <name>Clamp Snapshot Repository</name>
-                       <url>${nexusproxy}/${snapshotNexusPath}</url>
+                       <url>https://nexus.onap.org/content/repositories/snapshots/</url>
                </snapshotRepository>
                <site>
                        <id>ecomp-site</id>
-                       <url>dav:${nexusproxy}${sitePath}</url>
+                       <url>dav:https://nexus.onap.org/content/sites/site/org/onap/clamp/${project.version}</url>
                </site>
        </distributionManagement>
 
                <repository>
                        <id>ecomp-releases</id>
                        <name>ONAP Release Repository</name>
-                       <url>${nexusproxy}/${releaseNexusPath}</url>
+                       <url>https://nexus.onap.org/content/repositories/releases/</url>
                </repository>
                <repository>
                        <id>ecomp-staging</id>
                        <name>ONAP Staging Repository</name>
-                       <url>${nexusproxy}/${stagingNexusPath}</url>
+                       <url>https://nexus.onap.org/content/repositories/staging/</url>
                </repository>
                <repository>
                        <id>ecomp-snapshots</id>
                        <name>ONAP Snapshot Repository</name>
-                       <url>${nexusproxy}/${snapshotNexusPath}</url>
+                       <url>https://nexus.onap.org/content/repositories/snapshots/</url>
                        <snapshots>
                                <enabled>true</enabled>
                        </snapshots>
                                <version>1.6.7</version>
                                <extensions>true</extensions>
                                <configuration>
-                                       <nexusUrl>${nexusproxy}</nexusUrl>
+                                       <nexusUrl>https://nexus.onap.org</nexusUrl>
                                        <stagingProfileId>176c31dfe190a</stagingProfileId>
                                        <serverId>ecomp-staging</serverId>
                                        <skipNexusStagingDeployMojo>${skip.staging.artifacts}</skipNexusStagingDeployMojo>