Add custom-starter module: a Boot 4 auto-configuration starter with conditions, metadata and runner tests

Two-jar starter (autoconfigure + starter), a demo app, and 17 captured transcripts
covering AutoConfiguration.imports, @ConditionalOn*, ordering, optional Jackson 3
integration, configuration metadata and the Boot 4 module split.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Uu7q8vPeREyT4218EJPzz1
This commit is contained in:
Claude
2026-09-24 06:53:07 +00:00
parent d6a2e1a5f2
commit c418589251
57 changed files with 1590 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env bash
# Regenerates every file under output/.
#
# ./scripts/run-all.sh
#
# Needs a JDK 25 and Maven 3.9. Transcripts 01-06, 08-11 and 16 come out of the test suite, which is the point:
# the figures in the article are assertions that fail the build if they stop being true.
# Transcripts 07 and 12-15 are read from the built jars and from builds that are made to fail on purpose.
set -euo pipefail
cd "$(dirname "$0")/.."
echo "== test suite (transcripts 01-06, 08-11, 16)"
mvn -B test
echo "== jar contents, metadata, Boot 4 locations and deliberate failures (07, 12-15, 17)"
./scripts/capture-jar-facts.sh
echo
echo "output:"
ls -1 output