Maven Central's maven-metadata.xml for both artifact IDs, read together, shows aop's last release is 4.0.0-M2 and aspectj's first release is 4.0.0-M3 -- a rename at a milestone boundary, not a drop. The renamed starter's own published POM depends on exactly spring-aop + aspectjweaver, the two jars this pom.xml's dependency comment already claimed were needed; this commit adds the reproducible build-break proof, the metadata/POM evidence, and a new doc chapter, and backs the corrected companion-repo links from the resilience4j- circuit-breaker-spring-boot post.
10 lines
537 B
Bash
Executable File
10 lines
537 B
Bash
Executable File
#!/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
|