This is an automated email from the ASF dual-hosted git repository. tballison pushed a commit to branch TIKA-4820-quote-windows-locale-args in repository https://gitbox.apache.org/repos/asf/tika.git
commit 9965c971ea6b937524137f5474bd4203f831fab8 Author: tallison <[email protected]> AuthorDate: Fri Aug 14 13:24:47 2026 -0400 TIKA-4820: quote dotted -D args in the Windows workflow --- .github/workflows/main-jdk17-windows-build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main-jdk17-windows-build.yml b/.github/workflows/main-jdk17-windows-build.yml index 3530b0572b..3c1bc52bdd 100644 --- a/.github/workflows/main-jdk17-windows-build.yml +++ b/.github/workflows/main-jdk17-windows-build.yml @@ -58,4 +58,7 @@ jobs: cache: 'maven' - name: Build with Maven (de_DE locale) working-directory: 'tika build dir' - run: mvn clean test install javadoc:aggregate -Pci -Pe2e -Duser.language=de -Duser.country=DE -B "-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn" + # The -Duser.* args MUST stay quoted: PowerShell splits an unquoted dotted + # -D property before it reaches mvn, so the locale silently never applies + # and the leftover fragment fails the build as an unknown lifecycle phase. + run: mvn clean test install javadoc:aggregate -Pci -Pe2e "-Duser.language=de" "-Duser.country=DE" -B "-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"
