#!/usr/bin/env bash # For -Pno-maven-central only: download the one Maven Central artifact the Spring Boot buildpack # fetches during a build, and check it against the sha256 the buildpack expects (which is also # the name of the mapping file next to it). set -euo pipefail D="$(cd "$(dirname "$0")/.." && pwd)/bindings/dependency-mapping" curl -sfL -o "$D/spring-cloud-bindings-2.0.4.jar" \ https://repo1.maven.org/maven2/org/springframework/cloud/spring-cloud-bindings/2.0.4/spring-cloud-bindings-2.0.4.jar echo "32e47c2139d6379836910f0d1cc253a019ac282f3aeea12237069f00046279ad $D/spring-cloud-bindings-2.0.4.jar" | sha256sum -c