# What this project's task runner needs to know about it. run.sh itself is shared # and names no project, so this file is the only thing a different project edits. # # Plain assignments, not `readonly` — run.sh applies its defaults over anything # left out, so a key only has to appear here when its answer is a decision. # Named in what the tasks print, so the messages say whose stack came up. PROJECT_NAME="Calculators" # The JDK to build with, matched as a prefix against SDKMAN's candidates. A bare # `mvn` on this machine picks JDK 25, under which Lombok silently generates no # getters and the build dies with bogus "cannot find symbol" errors. JAVA_VERSION="21" # The calculators talk to nothing — no database, no identity provider — and the # Playwright tests drive a browser this project downloads rather than a container. # So no task looks for docker or podman, and `env` has no stack to bring up. CONTAINER_REQUIRED="false" # Vaadin's own defaults, and the entry stylesheet whose @imports the browser caches. # Both only need setting for a project that puts them somewhere else. # BUNDLE_DIR="src/main/bundles" # STYLES_CSS="src/main/resources/META-INF/resources/styles.css" # The profile that puts the integration tests in production mode. Without it the # Playwright ITs open a dev-mode page and find an empty screen. IT_PROFILE="it" # A property carrying the deployed commit SHA, passed to every mvn invocation. The # enforcer plugin rejects a build without it, which is what makes every artefact # traceable to a commit. COMMIT_PROPERTY="build.commit" # Building the production frontend bundle runs the Vaadin Charts commercial-license # check, which `verify` and `package` both reach. The banner flag lets it build with # a watermark when no license is configured. Maven 3.9+ reads MAVEN_ARGS, so this # rides along on every invocation without run.sh having to know about it. export MAVEN_ARGS="-Dvaadin.commercialWithBanner"