Fix npm repo missing
Fix the Npm repo missing in the configuration
Issue-ID: CLAMP-586
Change-Id: I6e0c25beb91655e735ef2a0170e9a4404cdf8818
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
diff --git a/pom.xml b/pom.xml
index 04c40b6..84b4d1f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -102,7 +102,7 @@
<tomcat.version>9.0.27</tomcat.version>
<ui.react.src>ui-react</ui.react.src>
<ui.react.lib.src>ui-react-lib</ui.react.lib.src>
- <npm.publish.url>https://nexus3.onap.org/repository/npm.release/</npm.publish.url>
+ <npm.publish.url>https://nexus3.onap.org/repository/npm.snapshot/</npm.publish.url>
</properties>
<profiles>
diff --git a/ui-react-lib/package.json b/ui-react-lib/package.json
index 3698484..39cf63a 100755
--- a/ui-react-lib/package.json
+++ b/ui-react-lib/package.json
@@ -4,6 +4,9 @@
"description": "ONAP CLAMP UI Reactjs Component Library",
"author": "ONAP Clamp Team",
"license": "Apache-2.0",
+ "publishConfig": {
+ "registry": "${npm.publish.url}"
+ },
"main": "dist/index.js",
"module": "dist/esindex.js",
"scripts": {