This idea came from a discussion around clj-kondo -- see https://github.com/clj-kondo/clj-kondo/issues/1591 -- as a way for users to become more aware that certain libraries are deprecated by their maintainers and there are often recommendations to use a different library or approach instead.
From my point of view, warning people that clj-time (clj-time/clj-time) is deprecated in favor of Java Time (via interop) would be a great first step.
In addition, warning people that depstar is deprecated (archived, in fact) in favor of tools.build would be helpful.
I'm not sure how this would fit into the reports that antq produces or where best to store a list of canonical group/artifact IDs with deprecation messages (recommending alternatives).
Note that depstar could appear with several different group IDs: com.healthfinch (the original, also archived), com.github.seancorfield, seancorfield (prior to Clojar's Verified Group Names policy), also potentially via git deps at either (com|io).github.healthfinch or io.github.seancorfield. This might be true for other deprecated libraries. clj-time is referenced as both clj-time and clj-time/clj-time (and is likely to appear in project.clj files).
This idea came from a discussion around clj-kondo -- see https://github.com/clj-kondo/clj-kondo/issues/1591 -- as a way for users to become more aware that certain libraries are deprecated by their maintainers and there are often recommendations to use a different library or approach instead.
From my point of view, warning people that
clj-time
(clj-time/clj-time
) is deprecated in favor of Java Time (via interop) would be a great first step.In addition, warning people that
depstar
is deprecated (archived, in fact) in favor oftools.build
would be helpful.I'm not sure how this would fit into the reports that
antq
produces or where best to store a list of canonical group/artifact IDs with deprecation messages (recommending alternatives).Note that
depstar
could appear with several different group IDs:com.healthfinch
(the original, also archived),com.github.seancorfield
,seancorfield
(prior to Clojar's Verified Group Names policy), also potentially via git deps at either(com|io).github.healthfinch
orio.github.seancorfield
. This might be true for other deprecated libraries.clj-time
is referenced as bothclj-time
andclj-time/clj-time
(and is likely to appear inproject.clj
files).