Closed andre-kornetzky closed 7 years ago
Same problem here.
The problem is that maven will interpret the open version range for jackson-databind
very liberally and tries to pull in the 2.9.0-SNAPSHOT
version.
Related issue in Maven: https://issues.apache.org/jira/browse/MNG-3092
Temporary workaround is to exclude the jackson dependency (and provide a different one instead):
<dependency>
<groupId>com.maxmind.geoip2</groupId>
<artifactId>geoip2</artifactId>
<version>2.8.0</version>
<exclusions>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</exclusion>
</exclusions>
</dependency>
Thanks. I am going to do a release without the version range. I wonder what happened last night that caused this to suddenly become an issue as it has been this way for about a year due to the hard minimum version requirements.
maxmind-db
1.2.2 and geoip2
2.8.1 have been released, which should fix this issue.
@oschwald Thanks a lot!
I get follow Error Message, when i try to build my project:
Failed to execute goal on project xxx:: Could not resolve dependencies for project xxx: Failed to collect dependencies at com.maxmind.geoip2:geoip2:jar:2.8.0 -> com.maxmind.db:maxmind-db:jar:1.2.1 -> com.fasterxml.jackson.core:jackson-databind:jar:2.9.0-SNAPSHOT: Failed to read artifact descriptor for com.fasterxml.jackson.core:jackson-databind:jar:2.9.0-SNAPSHOT: Failure to find com.fasterxml:oss-parent:pom:28 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced
The reason is, that the parent of
is
which defines the repo
and so i need a version from jackson, that is official (maven central) not supported yet.