flapdoodle-oss / de.flapdoodle.embed.mongo.packageresolver

mongodb package resolver
Apache License 2.0
3 stars 7 forks source link

Resolution failure 1.0.6-SNAPSHOT #2

Closed rquinio1A closed 2 years ago

rquinio1A commented 2 years ago

I wanted to report that our builds started failing after upload of https://oss.sonatype.org/content/repositories/snapshots/de/flapdoodle/embed/de.flapdoodle.embed.mongo.packageresolver/1.0.6-SNAPSHOT/, as we had that respository proxied.

Because of the ranges in https://repo1.maven.org/maven2/de/flapdoodle/embed/de.flapdoodle.embed.mongo/3.4.6/de.flapdoodle.embed.mongo-3.4.6.pom

<dependency>
    <groupId>de.flapdoodle.embed</groupId>
    <artifactId>de.flapdoodle.embed.mongo.packageresolver</artifactId>
    <version>[1.0.3,1.1.0)</version>
</dependency>

There's a Maven lookup triggered to determine the latest version, but Maven resolution is failing with "Could not find artifact de.flapdoodle.embed:de.flapdoodle.embed.mongo.packageresolver:jar:1.0.6-SNAPSHOT".

I don't think -SNAPSHOT would normally match a range, but maybe the delivery is corrupted / metadata incorrect ? Avoiding ranges in released version is also a good practice for build immutability, any chance to remove them ?

michaelmosmann commented 2 years ago

Yes, removed them.. there is a new release soon.