"Maven-node-grunt-gulp-npm-node-plugin to end all maven-node-grunt-gulp-npm-plugins." A Maven plugin that downloads/installs Node and NPM locally, runs NPM install, Grunt, Gulp and/or Karma.
Apache License 2.0
4.24k
stars
870
forks
source link
serverId with username and password as variables gives 401 authentication error #1064
When the plugin executes, it uses the username as a string literal ${MY_USER} instead of the actual value for the variable MY_USER and the authentication fails with the private artifactory.
LOGS:
com.github.eirslett.maven.plugins.frontend.lib.FileDownloader - Using credentials (${MY_USER}) from settings.xml
Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.10.0:install-node-and-yarn (install node and yarn) on project my-project: Could not download Node.js from: https://myproxy.example.org/npm/: Got error code 401 from the server.
I am using version frontend-maven-plugin 1.10.0
I have the below server tag in my settings.xml
For the plugin, I am using below configuration to use the serverId from settings.xml
When the plugin executes, it uses the username as a string literal ${MY_USER} instead of the actual value for the variable MY_USER and the authentication fails with the private artifactory.
LOGS: com.github.eirslett.maven.plugins.frontend.lib.FileDownloader - Using credentials (${MY_USER}) from settings.xml Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.10.0:install-node-and-yarn (install node and yarn) on project my-project: Could not download Node.js from: https://myproxy.example.org/npm/: Got error code 401 from the server.
Is this a bug or am I missing any configuration?