Huh. A recent question on the Clojure Google group is fun in its implications for Clojure and its tools: Github and Maven projects whose names begin with a digit like this one: https://github.com/2captcha/2captcha-java https://search.maven.org/artifact/com.github.2captcha/2captcha-java
I vote for the string lib name
Quickest workaround I can think of is to create a Java wrapper lib around it that avoids Clojure needing to see any names starting with a digit
It works just fine with Leiningen…
Hmm. I should have tried out more things before mentioning this. Sorry.
It doesn’t work with deps.edn
because the EDN is invalid with the leading 2
.
you can use whatever lib name you like in deps.edn
oh, this is maven lib
If it was a :git/url
or :local/root
you mean @alexmiller?
yeah
well, happy to get an ask.clojure question to think about it
a wrapper wouldn't help as you'd still get it as a transitive dep
maven central doesn't have any groupIds that start with a number, but there are probably ~100 artifactIds that do
(which is a tiny percentage of maven central of course)
my initial thought would be to allow string lib names that canonicalize to a symbol
or support some escape character that's ignored