What happens if a maven dependency adds <type>pom</type> ?
❯ clj -Srepro -Sdeps '{:deps {com.kohlschutter.junixsocket/junixsocket-core {:mvn/version "2.6.2"}}}'
Error building classpath. Could not find artifact com.kohlschutter.junixsocket:junixsocket-core:jar:2.6.2 in central ( )
Previous version that still works:
❯ clj -Srepro -Sdeps '{:deps {com.kohlschutter.junixsocket/junixsocket-core {:mvn/version "2.3.2"}}}'
Clojure 1.11.1
user=>Only difference I can easily spot is the difference in type between https://mvnrepository.com/artifact/com.kohlschutter.junixsocket/junixsocket-core/2.3.2 and https://mvnrepository.com/artifact/com.kohlschutter.junixsocket/junixsocket-core/2.6.2
I believe this is a known issue - https://clojure.atlassian.net/browse/TDEPS-202 for now the workaround is to look at pom.xml for junixsocket-core lib and get the same dependencies as inside of pom.xml into your deps.edn
ah ok, I see. Thanks for the clarification!
UPD: Please don't use this workaround, this is not supported
btw
I just tried this
`clj -Srepro -Sdeps '{:deps {com.kohlschutter.junixsocket/junixsocket-core {:mvn/version "2.6.2" :extension "pom"}}}'`
and it works.
I would not rely on that continuing to work reliably if it happens to now, this is currently not supported
OK, thanks for the heads up!