]> juplo.de Git - maven-thymeleaf-skin/commit
Fix mvnw: pass MAVEN_OPTS as env var, not as command-line args
authorKai Moritz <kai.milan.moritz@googlemail.com>
Wed, 17 Jun 2026 19:06:31 +0000 (19:06 +0000)
committerKai Moritz <kai@juplo.de>
Wed, 17 Jun 2026 20:05:58 +0000 (22:05 +0200)
commita58580ce56ca0c3de7d5cac5bbe1e62f0b808a37
treedb9934cd5cf7bd941c5ba5d664692a57df8c6596
parenta1c68554a0b3d2664135bb03bbedd7a1e234c4c9
Fix mvnw: pass MAVEN_OPTS as env var, not as command-line args

MAVEN_OPTS contains JVM flags (e.g. -Xms256m -Xmx512m). Passing them
as positional arguments to mvn causes Maven to interpret them as unknown
lifecycle phases. Fix: export MAVEN_OPTS so Maven reads and forwards it
to the JVM itself, as intended.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
mvnw