-
Notifications
You must be signed in to change notification settings - Fork 211
Open
Description
Maven does not automatically detect that it needs to use the http proxy set up in $http_proxy.
I had to resort to the following:
proxy=$http_proxy
proxy=${proxy#*://}; host=${proxy%%:*}; port=${proxy#*:}
mvn -q -Dhttp.proxyHost=$host \
-Dhttp.proxyPort=$port \
-Dhttps.proxyHost=$host \
-Dhttps.proxyPort=$port \
clean install -DskipTests
This took a long time to discover. Documentation for how the networking works in the setup script would be great.
pardeike and ben-z
Metadata
Metadata
Assignees
Labels
No labels