Update npm.registry 22/120622/2
authorvasraz <vasyl.razinkov@est.tech>
Sun, 18 Apr 2021 14:09:25 +0000 (15:09 +0100)
committerVasyl Razinkov <vasyl.razinkov@est.tech>
Sun, 18 Apr 2021 15:29:20 +0000 (15:29 +0000)
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3563
Change-Id: I30a115001bb55a40c63777c6137690659df9044f

catalog-ui/pom.xml
pom.xml

index 63bd50d..6e85d65 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 4a6b5ba..1babc00 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -153,7 +153,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>