#!/usr/bin/env bash # Shared environment. Point JAVA_HOME at a JDK 25 (or newer) installation. : "${JAVA_HOME:?set JAVA_HOME to a JDK 25+ installation}" export PATH="$JAVA_HOME/bin:$PATH" MVN="${MVN:-mvn}" JAR="target/configuration-properties-1.0.0.jar" APP_MAIN="com.ankurm.configprops.ConfigBindingApplication" APP_PORT="${APP_PORT:-8080}" # Strip environment noise that is an artefact of the machine, not of Spring: # the JVM prints a JAVA_TOOL_OPTIONS banner to stderr on every launch when a proxy # truststore is configured, and it would otherwise end up in every committed transcript. clean() { grep -v "Picked up JAVA_TOOL_OPTIONS" | grep -v "^OpenJDK 64-Bit Server VM warning"; }