#!/usr/bin/env bash # Regenerates every reproducible file under output/. Run from the module root # (spring-ai/mcp-server). Needs Maven with the dependencies already resolved once online. # # output/06-*.txt is NOT regenerated here -- it was captured manually against a standalone run # with spring.ai.mcp.server.protocol commented out in application.yml. See its own header. set -eu cd "$(dirname "$0")/.." mvn -q -o test echo echo "Regenerated output/01 through 05 -- real JSON-RPC exchanges captured by" echo "OrderMcpTranscriptTest against the real running Streamable HTTP endpoint." echo "output/06-protocol-property-unset-404.txt was captured manually -- see its header."