resilience: prove spring-boot-starter-aop was renamed to spring-boot-starter-aspectj, not removed
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.
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user