#!/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 / AOP guide tells you to add. # See docs/08-starter-aop-renamed-to-starter-aspectj.md. set -uo pipefail cd "$(dirname "$0")/../broken-example" mvn -B -q compile 2>&1 | grep -v '^Picked up\|^WARNING' > ../docs/output/00a-starter-aop-build-error.txt echo "captured to docs/output/00a-starter-aop-build-error.txt:" cat ../docs/output/00a-starter-aop-build-error.txt