Skip to content

Exclusions not supported in leiningen plugin #231

@marcobiscaro2112

Description

@marcobiscaro2112

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions