[ANN] tools.deps.alpha 0.5.435, clj 1.9.0.381

167 views
Skip to first unread message

Alex Miller

unread,
May 13, 2018, 10:50:57 AM5/13/18
to Clojure
Now available:
Changelog:
  • Support for Maven deps in authenticated repositories (TDEPS-9 - thanks Dominic Monroe!)
  • In local jar dependencies like {:local/root "path/to.jar"}, if the jar has an embedded pom, it will be used to traverse and include transitive deps
  • Use `exec` for final Java invocation in scripts (TDEPS-76 - thanks Mikhail Gusarov!)
  • Convey lib map via Java system property - a first step towards add-lib and other future functionality
For Maven deps in authenticated repositories, existing Maven infrastructure is used to convey credentials via the ~/.m2/settings.xml:

  <servers>
    …
    <server>
      <id>my-auth-repo</id>
      <username>zango</username>
      <password>123</password>
    </server>
    …
  </servers>

Then in your deps.edn include a repo with a name matching the <id>:

{:deps
 {authenticated/dep {:mvn/version "1.2.3"}}
 :mvn/repos
 {"my-auth-repo" {:url "https://my.auth.com/repo"}}}

This will be included in the docs too, just haven't had time yet.

Chat: Clojurian Slack in #tools-deps




Reply all
Reply to author
Forward
0 new messages