I have a pom.xml
with the following dependency:
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.6</version>
<type>bundle</type>
</dependency>
The dependency exists in Maven's central repo: https://search.maven.org/artifact/com.fasterxml.jackson.core/jackson-databind/2.9.6/bundle
But when (using Eclipse) i right click on my pom.xml
file and choose Run As
-> Maven install
, it downloads a bunch of dependencies related to that artifact, but finishes with the following error:
[ERROR] Failed to execute goal on project jackson-json-demo: Could not resolve dependencies for project com.elad:jackson-json-demo:jar:1.0.0: Could not find artifact com.fasterxml.jackson.core:jackson-databind:bundle:2.9.6 in central (https://repo.maven.apache.org/maven2) -> [Help 1]
I tried a couple of other versions and also deleting the dependency from my local repo and trying again, but it didn't help. What could be the issue?