sous-chefs / maven

Development repository for the maven cookbook
https://supermarket.chef.io/cookbooks/maven
Apache License 2.0
36 stars 153 forks source link

support passing -Djava.net.useSystemProxies to mvn #59

Closed timor-raiman closed 9 years ago

timor-raiman commented 9 years ago

This is required where the node is behind a proxy and settings.xml is not there to tell what the proxies are.

timor-raiman commented 9 years ago

Workaround: "... or you can edit the JRE installation file lib/net.properties"

timor-raiman commented 9 years ago

actually -Djava.net.useSystemProxies=true has not effect on maven. settings.xml is required.