Hi,
I downloaded the https://vaadin.com/start/latest/project-base-spring and tried to build it with production-mode “mvn clean package -P production-mode”. I am behind a proxy but my maven settings.xml file contains the necessarily configuration. Everything is working fine - the packages are being downloaded etc. until “package-for-production” is executed:
[INFO]
Changes detected - recompiling the module!
[INFO]
Compiling 3 source files to D:\vaadinStarter\projectBaseSpring11\target\classes
[INFO]
— vaadin-maven-plugin:11.0.2:package-for-production (default) @ projectbasespring11 —
[WARNING]
The translated URL ‘frontend://bower_components/vaadin-upload/theme/lumo/vaadin-upload-file.html’ has no corresponding file on the filesystem, the file is addressed by path=‘D:\vaadinStart
er\projectBaseSpring11\target\frontend\bower_components\vaadin-upload\theme\lumo\vaadin-upload-file.html’
[INFO]
Installing required frontend tools to ‘D:\vaadinStarter\projectBaseSpring11\target’
[INFO]
Installing node version v8.11.1
[INFO]
Downloading https://nodejs.org/dist/v8.11.1/win-x64/node.exe to D:\vaadinStarter\projectBaseSpring11\target\cache\node-v8.11.1-win-x64.exe
[INFO]
No proxies configured
[INFO]
No proxy was configured, downloading directly
[INFO]
[INFO]
BUILD FAILURE
[INFO]
[INFO]
Total time: 05:00 min
[INFO]
Finished at: 2018-11-21T12:47:41+01:00
[INFO]
[ERROR]
Failed to execute goal com.vaadin:vaadin-maven-plugin:11.0.2:package-for-production (default) on project projectbasespring11: Execution default of goal com.vaadin:vaadin-maven-plugin:11.0.2:
package-for-production failed: Failed to install required frontend dependencies: Could not download Node.js from: https://nodejs.org/dist/v8.11.1/win-x64/node.exe: Could not download https://nodejs.
org/dist/v8.11.1/win-x64/node.exe: Connect to nodejs.org:443 [nodejs.org/104.20.23.46, nodejs.org/104.20.22.46]
failed: Connection timed out: connect → [Help 1]
[ERROR]
To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR]
Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
For more information about the errors and possible solutions, please read the following articles:
[ERROR]
[Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
It seems that vaadin-maven-plugin does not recognize maven proxy configuration.
Br,
Szymon