Skip to content
New issue

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

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

Already on GitHub? # to your account

Exclusions not supported in leiningen plugin #231

Open
marcobiscaro2112 opened this issue Aug 11, 2023 · 0 comments · May be fixed by #234
Open

Exclusions not supported in leiningen plugin #231

marcobiscaro2112 opened this issue Aug 11, 2023 · 0 comments · May be fixed by #234

Comments

@marcobiscaro2112
Copy link
Contributor

Exclusions via metadata are not respected when using as lein plugin.

Repro project.clj:

(defproject example "0.1"
  :plugins [[com.github.liquidz/antq "RELEASE"]]
  :dependencies [^{:antq/exclude "1.11.1"} [org.clojure/clojure "1.11.0"]])
$ lein antq
| :file       | :name               | :current | :latest |
|-------------+---------------------+----------+---------|
| project.clj | org.clojure/clojure | 1.11.0   | 1.11.1  |

Works if running via clj -M:

$ clj -M:outdated
All dependencies are up-to-date.
marcobiscaro2112 added a commit to marcobiscaro2112/antq that referenced this issue Aug 14, 2023
Carry exclusions metadata from dependencies when using antq as a leiningen plugin.

Fixes liquidz#231.
@marcobiscaro2112 marcobiscaro2112 linked a pull request Aug 14, 2023 that will close this issue
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant