You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the user facing command lines, we now download the artifact and pom
only and make no attempt to resolve its dependencies. Attempting to
resolve dependencies would fail for artifacts that reference extra
non-default maven repositories.
Full dependency resolution occurs later during analysis and will
automatically include any extra maven repositories specified by the
analyzed artifact.
Switch integration user cmd line integration test to use miikka
clj-branca to exercise our fix. It specifies and relies on jcenter
maven repo.
We continue to use clojure/tools.deps internals.
But that slope was already slipped down.
Closes#78
Problem
If an artifact references additional maven repositories, the convenience cmd line syntax we created for users will fail.
Repro
miikka/clj-branca references the center maven repo.
Work-around
Specify the extra-repro:
Should we bother fixing?
Probably. It is confusing. And...
The clojure tools invocation of cljdoc-analyzer is using the same technique to resolve the project dep and will fail in the same way.
This is more important because this invocation is used by (the now somewhat neglected) (https://github.com/cljdoc/cljdoc-check-action)[cljdoc-check-action].
Ideas
We'd like to resolve our jar and pom without resolving its deps.
Perhaps I can twist org.clojure/tools.deps's arm to do that?
The text was updated successfully, but these errors were encountered: