Skip to content
Dependencies docs2.0

Consuming snapshots safely

Latest stable Based on Dependencies release 2.0.0

The development line after stable 2.0.0 is 2.1.0-SNAPSHOT. It is mutable metadata, so treat repository configuration, artifact availability, and catalog provenance as separate checks. Stable 2.0.0 consumers do not need this repository.

Use the Sonatype snapshot repository and the non-timestamped logical version:

Repository: https://central.sonatype.com/repository/maven-snapshots
Coordinate: io.github.bluetape4k:bluetape4k-dependencies:2.1.0-SNAPSHOT

Resolvers use maven-metadata.xml to select a timestamped POM. Do not copy the timestamped filename into a normal Gradle or Maven dependency declaration, and do not assume that a successful metadata response means every child BOM has already been published.

The metadata endpoint was read on 2026-09-02 and reported lastUpdated=20260902163844, timestamp 20260902.163844, and build 1. These values are evidence for that observation only and must be refreshed before a new validation run.

Terminal window
./gradlew --refresh-dependencies dependencies

Use --refresh-dependencies after confirming the repository and logical snapshot coordinate. It is useful when a new timestamp should replace a cached one; it is not a fix for a wrong repository, a missing child artifact, or a catalog/BOM mismatch.

Run the representative Maven build with -U when a new snapshot timestamp is expected. Keep the snapshot repository disabled for releases and avoid publishing applications that depend on a mutable snapshot.

  • the BOM metadata and POM resolve from the snapshot repository;
  • the child BOM matrix matches the intended catalog source;
  • a versionless representative Bluetape4k module resolves;
  • the catalog checkout is an immutable commit and is recorded separately;
  • the result is labelled development-only until stable promotion.

For the release boundary and exact commands, see version governance and validation.