"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.
But the plugin use http protocol on this socks5 proxy.
[INFO] Downloading via proxy v2ray{protocol='socks5', host='127.0.0.1', port=1089, nonProxyHosts='localhost|maven.aliyun.com'}
Jul 11, 2021 11:07:38 AM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {tls}->http://127.0.0.1:1089->https://nodejs.org:443: The target server failed to respond
INFO: Retrying request to {tls}->http://127.0.0.1:1089->https://nodejs.org:443
INFO: I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {tls}->http://127.0.0.1:1089->https://nodejs.org:443: The target server failed to respond
Jul 11, 2021 11:07:38 AM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {tls}->http://127.0.0.1:1089->https://nodejs.org:443
Jul 11, 2021 11:07:39 AM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {tls}->http://127.0.0.1:1089->https://nodejs.org:443: The target server failed to respond
Jul 11, 2021 11:07:39 AM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {tls}->http://127.0.0.1:1089->https://nodejs.org:443
I changed the protocol to http in .m2/settings.xml and the download succeed.
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
Use the right protocol in proxy.
Please mention your frontend-maven-plugin and operating system version.
macOS 11.4 with Apple M1
Plugin version: 1.12.0
Do you want to request a feature or report a bug?
What is the current behavior?
I configured a
socks5
proxy in my.m2/settings.xml
But the plugin use
http
protocol on this socks5 proxy.I changed the protocol to
http
in.m2/settings.xml
and the download succeed.If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior? Use the right protocol in proxy.
Please mention your frontend-maven-plugin and operating system version. macOS 11.4 with Apple M1 Plugin version: 1.12.0