#!/usr/bin/env bash # Regenerates every file under output/. Needs JDK 25, Maven 3.9 with access to Maven Central, and the two database servers # from scripts/start-databases.sh (PostgreSQL on 55432, MySQL on 53306; override with PG_URL / MYSQL_URL). set -euo pipefail cd "$(dirname "$0")/.." mvn -B -q clean >/dev/null ./scripts/versions.sh >/dev/null ./scripts/maven-facts.sh >/dev/null # release dates read from Maven Central ./scripts/javap.sh >/dev/null # deepCopy / areEqual bytecode behind the dirty-checking results mvn -B test # A01-A09, A11: default classpath (Jackson 3 only) mvn -B test -Phypersistence -Dtest='A10*' # hypersistence-utils on a Jackson 3 only classpath mvn -B test -Phypersistence,jackson2 -Dtest='A10*' # ... and with Jackson 2 added ./scripts/format-mapper-matrix.sh >/dev/null # nine classpath variants of the FormatMapper probe ls -1 output