why does Intellij not displays the newest version of a dependency?
Answered
A great function of github is telling dependencies that have a security issue.
I tried to update to the version recommended, but in the IDE I always got much older versions displayed.
Current example:
There exists https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind/2.10.5.1
but when I set
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.10.5.1</version>
I get
Could not find artifact com.fasterxml.jackson.core:jackson-core:pom:2.10.5.1 in central (https://repo.maven.apache.org/maven2)
Does that mean with maven2 an old outdated repo is assigned (I'm not aware that I have set this maven2 on purpose...)? If so, where do I have to change this?
Thanks for help
Markus
Please sign in to leave a comment.
Hello,
Seems there is no "2.10.5.1" version: https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-core/
There is one here
https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind/2.10.5.1
but not in the one you mention, true.
That's why I was asking if I look at the wrong repo maybe?
Could you please attach screenshots from "Settings/Preferences | Build, Execution, Deployment | Build Tools | Maven" and "Settings/Preferences | Build, Execution, Deployment | Build Tools | Maven - Repositories"?
What IDE version do you use? Please try to run "Update" from "Settings/Preferences | Build, Execution, Deployment | Build Tools | Maven - Repositories" and "Reload" from Maven tool window.