Merge "Update .gitreview with onap URL"
authorDaniel Rose <DR695H@list.att.com>
Fri, 31 Mar 2017 14:32:01 +0000 (14:32 +0000)
committerGerrit Code Review <gerrit@onap.org>
Fri, 31 Mar 2017 14:32:01 +0000 (14:32 +0000)
deliveries/os_docker_push.sh
deliveries/os_docker_release.sh
ecomp-portal-BE/pom.xml
pom.xml

index fe422f3..04e245c 100644 (file)
@@ -2,7 +2,7 @@
 
 ./run.sh
 
-REPO="nexus3.openecomp.org:10003"
+REPO="nexus3.onap.org:10003"
 
 TIMESTAMP=$(date +%C%y%m%dT%H%M%S)
 VERSION="1.1.0-SNAPSHOT-${TIMESTAMP}"
@@ -24,4 +24,4 @@ docker tag ecompdb:portal ${DB_LATEST}
 docker push ${APPS_VERSION}
 docker push ${DB_VERSION}
 docker push ${APPS_LATEST}
-docker push ${DB_LATEST}
\ No newline at end of file
+docker push ${DB_LATEST}
index fc721c2..35ae22b 100644 (file)
@@ -2,7 +2,7 @@
 
 ./run.sh
 
-REPO="nexus3.openecomp.org:10003"
+REPO="nexus3.onap.org:10003"
 
 TIMESTAMP=$(date +%C%y%m%dT%H%M%S)
 VERSION="1.1.0-STAGING-${TIMESTAMP}"
@@ -24,4 +24,4 @@ docker tag ecompdb:portal ${DB_LATEST}
 docker push ${APPS_VERSION}
 docker push ${DB_VERSION}
 docker push ${APPS_LATEST}
-docker push ${DB_LATEST}
\ No newline at end of file
+docker push ${DB_LATEST}
index 8b38964..a39d44d 100644 (file)
                <!-- Tests usually require some setup that maven cannot do, so skip. -->
                <skiptests>false</skiptests>
                <sonar.exclusions>**.js</sonar.exclusions>
+               <nexusproxy>https://nexus.onap.org</nexusproxy>
+               <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
+               <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
+               <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
        </properties>
        
        <reporting>
                        <!-- Releases repository has ECOMP release artifacts -->
                        <id>ecomp-releases</id>
                        <name>OpenECOMP - Release Repository</name>
-                       <url>https://nexus.openecomp.org/content/repositories/releases/</url>
+                       <url>${nexusproxy}/${releaseNexusPath}</url>
                </repository>
                <repository>
                        <!-- Snapshots repository has ECOMP snapshot artifacts -->
                        <id>ecomp-snapshots</id>
                        <name>OpenECOMP - Snapshot Repository</name>
-                       <url>https://nexus.openecomp.org/content/repositories/snapshots/</url>
+                       <url>${nexusproxy}/${snapshotNexusPath}</url>
                </repository>
                <repository>
                        <!-- Staging repository has ECOMP staging artifacts -->
                        <id>ecomp-staging</id>
                        <name>OpenECOMP - Staging Repository</name>
-                       <url>https://nexus.openecomp.org/content/repositories/staging/</url>
+                       <url>${nexusproxy}/${stagingNexusPath}</url>
                </repository>
                <repository>
                        <!-- Snapshots repository has ECOMP snapshot artifacts -->
diff --git a/pom.xml b/pom.xml
index 6bba9e4..255d29d 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                <module>ecomp-portal-FE</module>
                <module>ecomp-portal-BE</module>
        </modules>
+
+       <properties>
+               <nexusproxy>https://nexus.onap.org</nexusproxy>
+               <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
+               <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
+               <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
+       </properties>
+
        <build>
                <plugins>
                        <plugin>
@@ -25,7 +33,7 @@
                                <version>1.6.7</version>
                                <extensions>true</extensions>
                                <configuration>
-                                       <nexusUrl>https://nexus.openecomp.org/</nexusUrl>
+                                       <nexusUrl>${nexusproxy}</nexusUrl>
                                        <stagingProfileId>176c31dfe190a</stagingProfileId>
                                        <serverId>ecomp-staging</serverId>
                                </configuration>
                <repository>
                        <id>ecomp-releases</id>
                        <name>OpenECOMP - Release Repository</name>
-                       <url>https://nexus.openecomp.org/content/repositories/releases/</url>
+                       <url>${nexusproxy}/${releaseNexusPath}</url>
                </repository>
                <snapshotRepository>
                        <id>ecomp-snapshots</id>
                        <name>OpenECOMP - Snapshot Repository</name>
-                       <url>https://nexus.openecomp.org/content/repositories/snapshots/</url>
+                       <url>${nexusproxy}/${snapshotNexusPath}</url>
                </snapshotRepository>
        </distributionManagement>
 </project>