Open eigenhombre opened 6 years ago
@eigenhombre Thanks for reporting! You'll notice that the Clojure artifact won't influence lein-ancient's exit code, nor automatically be upgraded, unless :check-clojure
is specified. But I agree, that this is kind of surprising behaviour, so it needs to be fixed.
I'll revamp the way artifact selection works for the 0.7.0 release of lein-ancient, throwing out all these :plugins
, :allow-snapshots
, :allow-qualified
, etc... options and relying solely on :include
, :exclude
and an additional :ignore
for artifact selection.
Introducing an explicit :ignore
mechanism (check, print, but ignore for status code/upgrade) that can be overriden by :exclude
should then address this issue.
consider this minimal
project.clj
:We're used to excluding specific dependencies using the
:upgrade
tag inproject.clj
; however, this does not seem to work with Clojure itself (now that 1.9 is out):