Uploaded image for project: 'tools.deps'
  1. TDEPS-20

Cannot resolve Maven artifacts through proxy

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Completed
    • Labels:
      None
    • Environment:

      Clojure 1.9.0-RC2

      Description

      In environments where the internet is accessed via a proxy, clj fails to resolve (download) Maven artifacts and instead exits with an opaque error message.

      $ echo $http_proxy $https_proxy
      http://proxy.myorg.com:3128 http://proxy.myorg.com:3128
      $ clj
      Error building classpath. Failed to read artifact descriptor for org.clojure:test.check:jar:0.9.0
      

      Proxies should be supported out of the box as they are common in corporate environments.

      Support for configuring a proxy server could be added in deps.edn, or automatically by inspecting http_proxy, https_proxy etc. environment variables.

      Maven settings.xml can also include proxy information, and this is ignored.

        Attachments

          Activity

            People

            • Assignee:
              alexmiller Alex Miller
              Reporter:
              glts David Bürgin
            • Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: