Skip to content
This repository was archived by the owner on Jan 19, 2021. It is now read-only.

not working ie not finding newer releases #11

Open
raymcdermott opened this issue Jan 19, 2021 · 3 comments
Open

not working ie not finding newer releases #11

raymcdermott opened this issue Jan 19, 2021 · 3 comments

Comments

@raymcdermott
Copy link

raymcdermott commented Jan 19, 2021

With a vanilla project I added an outdated dependency:

{:paths   ["src" "resources"]
 :deps    {org.clojure/clojure          {:mvn/version "1.10.1"}
           com.nimbusds/nimbus-jose-jwt {:mvn/version "6.3.1"}}
 :aliases {:ancient {:main-opts  ["-m" "deps-ancient.deps-ancient"]
                     :extra-deps {deps-ancient/deps-ancient {:mvn/version "RELEASE"}}}}}

Artefact: com.nimbusds/nimbus-jose-jwt
Specified version: 6.3.1
Most recent version: 9.4.1

image

Output

ray@rays-MacBook-Pro myapp % clojure -M:ancient
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
The following deps are ancient:
org.clojure/tools.deps.alpha: current-version 0.9.810, latest version
org.slf4j/slf4j-nop: current-version 1.7.25, latest version

Versions of things

ray@rays-MacBook-Pro myapp % java -version
openjdk version "11.0.7" 2020-04-14
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.7+10)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.7+10, mixed mode)
ray@rays-MacBook-Pro myapp % clojure -Sverbose
version = 1.10.1.763
install_dir = /usr/local/Cellar/clojure/1.10.1.763
config_dir = /Users/ray/.clojure
config_paths = /usr/local/Cellar/clojure/1.10.1.763/deps.edn /Users/ray/.clojure/deps.edn deps.edn
cache_dir = .cpcache
cp_file = .cpcache/882063730.cp

Refreshing classpath
Clojure 1.10.1
user=> ^D
ray@rays-MacBook-Pro myapp % uname -av
Darwin rays-MacBook-Pro.local 19.6.0 Darwin Kernel Version 19.6.0: Tue Nov 10 00:10:30 PST 2020; root:xnu-6153.141.10~1/RELEASE_X86_64 x86_64

@raymcdermott
Copy link
Author

I noticed it was reporting an ancient version of tools.deps.alpha so I added the most recent:

{:paths   ["src" "resources"]
 :deps    {org.clojure/tools.deps.alpha {:mvn/version "0.9.857"}
           org.clojure/clojure          {:mvn/version "1.10.1"}
           com.nimbusds/nimbus-jose-jwt {:mvn/version "6.3.1"}}
 :aliases {:ancient {:main-opts  ["-m" "deps-ancient.deps-ancient"]
                     :extra-deps {deps-ancient/deps-ancient {:mvn/version "RELEASE"}}}}}

Output

ray@rays-MacBook-Pro myapp % clojure -M:ancient
Downloading: org/clojure/tools.deps.alpha/0.9.857/tools.deps.alpha-0.9.857.pom from central
Downloading: com/cognitect/aws/endpoints/1.1.11.911/endpoints-1.1.11.911.pom from central
Downloading: com/cognitect/aws/s3/810.2.801.0/s3-810.2.801.0.pom from central
Downloading: com/cognitect/aws/api/0.8.484/api-0.8.484.pom from central
Downloading: org/clojure/tools.deps.alpha/0.9.857/tools.deps.alpha-0.9.857.jar from central
Downloading: com/cognitect/aws/api/0.8.484/api-0.8.484.jar from central
Downloading: com/cognitect/aws/endpoints/1.1.11.911/endpoints-1.1.11.911.jar from central
Downloading: com/cognitect/aws/s3/810.2.801.0/s3-810.2.801.0.jar from central
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
All versions are up to date!

@raymcdermott
Copy link
Author

Am I holding it wrong?

@slipset
Copy link
Owner

slipset commented Jan 19, 2021

Fixed by efd0eaf

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants