Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support proxy for maven #94

Open
tochi-y opened this issue Jul 23, 2019 · 0 comments
Open

Support proxy for maven #94

tochi-y opened this issue Jul 23, 2019 · 0 comments

Comments

@tochi-y
Copy link
Member

tochi-y commented Jul 23, 2019

wget or git supports environment value 'http_proxy', but maven does not support. So this ansible playbook failed in execution maven under http proxy even if you set 'http_proxy'.

This playbook needs maven proxy settings in settings.xml as follows .

<proxies>
  <proxy>
      <id>proxy00</id>
      <active>true</active>
      <protocol>http</protocol>
      <username>{username}</username>
      <password>{pass}</password>
      <host>{host}</host>
      <port>{port}</port>
      <nonProxyHosts>local.net|some.host.com</nonProxyHosts>
  </proxy>
  <proxy>
      <id>proxy01</id>
      <active>true</active>
      <protocol>https</protocol>
      <username>{username}</username>
      <password>{pass}</password>
      <host>{host}</host>
      <port>{port}</port>
      <nonProxyHosts>local.net|some.host.com</nonProxyHosts>
  </proxy>
</proxies>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant