liquidz / antq

Point out your outdated dependencies.
Other
394 stars 22 forks source link

Transitive check doesn't support custom repositories #230

Closed marcobiscaro2112 closed 11 months ago

marcobiscaro2112 commented 11 months ago

The list of repositories used in transitive dependencies check is hardcoded to the default ones (Maven Central + Clojars).

This means that transitive checks in projects with custom repositories do not work. deps.edn repo:

{:deps {org.springframework.security/spring-security-core {:mvn/version "5.8.0-RC1"}}
 :mvn/repos {"repository.spring.milestone" {:url "https://repo.spring.io/milestone"}}}
$ clj -M:outdated --no-changes --transitive

Execution error (ExceptionInfo) at clojure.tools.deps.extensions.maven/get-artifact (maven.clj:167).
Could not find artifact org.springframework.security:spring-security-core:jar:5.8.0-RC1 in central (https://repo1.maven.org/maven2/)
marcobiscaro2112 commented 11 months ago

Opening the issue for visibility and discussion, but I'm already working on a fix, I will submit a PR soon. 😄

liquidz commented 11 months ago

@marcobiscaro2112 Just released 2.5.1109 :) https://github.com/liquidz/antq/releases/tag/2.5.1109 Thank you so much!