vaadin / vaadin-connect

A Vaadin Labs experiment with a secure stateless communication framework
https://vaadin.com/labs/vaadin-connect
Apache License 2.0
18 stars 5 forks source link

Ensure Maven and npm can be used with custom http proxy settings #396

Open Legioth opened 5 years ago

Legioth commented 5 years ago

Because enterprise networks

vlukashov commented 5 years ago

As a workaround one could edit the mvnw / mvnw.cmd file in the project root to proxy to the local maven installation (which would use the correct proxy settings):

On Linux / Mac OS:

#!/bin/sh
mvn $@
vlukashov commented 5 years ago

Ideally, the wrapper should be able to use the local maven settings from ~/.m2/settings.xml. However, that did not happen (needs investigation).