Update npm.registry 15/120515/1
authorvasraz <vasyl.razinkov@est.tech>
Sun, 18 Apr 2021 14:09:25 +0000 (15:09 +0100)
committerChristophe Closset <christophe.closset@intl.att.com>
Mon, 19 Apr 2021 05:54:35 +0000 (05:54 +0000)
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3563
Change-Id: I30a115001bb55a40c63777c6137690659df9044f
(cherry picked from commit 98954adaffece7e360a7f26f86fc921634181d27)

catalog-ui/pom.xml
pom.xml

index 32c0d75..da5ab3a 100644 (file)
@@ -77,6 +77,7 @@
                 <artifactId>frontend-maven-plugin</artifactId>
                 <configuration>
                     <installDirectory>${project.basedir}</installDirectory>
+                    <npmDownloadRoot>${npm.registry}</npmDownloadRoot>
                 </configuration>
 
                 <executions>
@@ -87,8 +88,8 @@
                         </goals>
                         <configuration>
                             <!-- See https://nodejs.org/en/download/ for latest node and npm (lts) versions -->
-                            <nodeVersion>v10.17.0</nodeVersion>
-                            <npmVersion>6.11.3</npmVersion>
+                            <nodeVersion>v14.16.1</nodeVersion>
+                            <npmVersion>6.14.12</npmVersion>
                         </configuration>
                     </execution>
 
                         </goals>
                         <!-- Optional configuration which provides for running any npm command -->
                         <configuration>
-                            <arguments>install --registry ${npm.registry}</arguments>
+                            <arguments>install</arguments>
                         </configuration>
                     </execution>
 
diff --git a/pom.xml b/pom.xml
index 43ad02d..a058c6a 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -151,7 +151,7 @@ Modifications copyright (c) 2018-2019 Nokia
         <nexus.id.snapshot>nexus</nexus.id.snapshot>
 
         <!--nexus-->
-        <npm.registry>https://registry.npmjs.org/</npm.registry>
+        <npm.registry>https://nexus3.onap.org/repository/npm.public/npm/-/</npm.registry>
         <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>