diff --git a/pom.xml b/pom.xml
index cd3fb4f11eb..e983849c745 100644
--- a/pom.xml
+++ b/pom.xml
@@ -152,6 +152,16 @@
${version.pnpm}
+
+ npm config set registry
+
+ npm
+
+
+ ${skipNpmConfigRegistry}
+ config set registry ${env.NPM_REGISTRY_URL}
+
+
npm install lock-treatment-tool
@@ -159,7 +169,6 @@
${skip.ui.deps}
- ${env.NPM_REGISTRY_URL}
install @kie/lock-treatment-tool@0.2.4 -w
@@ -170,7 +179,6 @@
${skip.ui.deps}
- ${env.NPM_REGISTRY_URL}
run env -- locktt --skipIntegrity
@@ -181,7 +189,6 @@
${skip.ui.deps}
- ${env.PNPM_REGISTRY_URL}
bootstrap
@@ -255,4 +262,27 @@
packages
+
+
+ default
+
+ true
+
+
+ true
+
+
+
+ doNotSkipNpmConfigRegistry
+
+
+ env.NPM_REGISTRY_URL
+
+
+
+ false
+
+
+
+