#!/usr/bin/env bash # Reproduces, and captures, the real build error from adding spring-boot-starter-aop # on Spring Boot 4.1 -- the dependency every pre-Boot-4 Resilience4j guide tells you to add. set -uo pipefail cd "$(dirname "$0")/../broken-example" mvn -B -q compile 2>&1 | grep -v '^Picked up\|^WARNING' > ../docs/output/00-starter-aop-build-error.txt echo "captured to docs/output/00-starter-aop-build-error.txt:" cat ../docs/output/00-starter-aop-build-error.txt