This is an automated email from the ASF dual-hosted git repository.
Kusuma04-dev pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git
The following commit(s) were added to refs/heads/main by this push:
new 3222b7f8c49 NO-ISSUE: pin Maven version in mvnw bootstrap via
build-dependencies-versions.json (#3679)
3222b7f8c49 is described below
commit 3222b7f8c49d58dada7b1b9600a3778920089d98
Author: ANN JOY <[email protected]>
AuthorDate: Fri Jul 24 16:06:29 2026 +0530
NO-ISSUE: pin Maven version in mvnw bootstrap via
build-dependencies-versions.json (#3679)
---
packages/maven-base/env/index.js | 1 +
packages/maven-base/index.js | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/packages/maven-base/env/index.js b/packages/maven-base/env/index.js
index 2cce310981a..eb137042de0 100644
--- a/packages/maven-base/env/index.js
+++ b/packages/maven-base/env/index.js
@@ -42,6 +42,7 @@ module.exports =
composeEnv([require("@kie-tools/root-env/env")], {
},
mvnw: {
version: "3.3.0",
+ mavenVersion: "3.9.11",
},
maven: {
deploy: {
diff --git a/packages/maven-base/index.js b/packages/maven-base/index.js
index 828992bf0ef..433cece1605 100755
--- a/packages/maven-base/index.js
+++ b/packages/maven-base/index.js
@@ -86,7 +86,7 @@ module.exports = {
console.info(`[maven-base] Installing mvnw...`);
console.time(`[maven-base] Installing mvnw...`);
- const cmd = `mvn -e
org.apache.maven.plugins:maven-wrapper-plugin:${env.mvnw.version}:wrapper
${BOOTSTRAP_CLI_ARGS}`;
+ const cmd = `mvn -e
org.apache.maven.plugins:maven-wrapper-plugin:${env.mvnw.version}:wrapper
-Dmaven=${env.mvnw.mavenVersion} ${BOOTSTRAP_CLI_ARGS}`;
if (process.platform === "win32") {
cp.execSync(cmd.replaceAll(" -", " `-"), { stdio: "inherit", shell:
"powershell.exe" });
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]