gnodet commented on PR #11365: URL: https://github.com/apache/maven/pull/11365#issuecomment-3475942310
Fixed the integration test failures. The issue was that the previous implementation was escaping pipes in `concat_lines` but then using `eval` which still interpreted them as shell operators. The updated fix: 1. Uses `awk` to escape unquoted pipes with backslashes in the `concat_lines` function 2. Uses `eval` with the escaped MAVEN_OPTS to properly handle the pipes This ensures that pipe symbols in JVM arguments (like `-Dhttp.nonProxyHosts=de|*.de`) are treated as literal characters rather than shell pipe operators. All previously failing tests now pass: - ✅ MavenITgh11363PipeSymbolsInJvmConfigTest - ✅ MavenITmng4559MultipleJvmArgsTest - ✅ MavenITmng5889FindBasedir - ✅ MavenITmng6223FindBasedir - ✅ MavenITmng8598JvmConfigSubstitutionTest -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
