This is an automated email from the ASF dual-hosted git repository.

thiagoelg 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 f94cb18d2c8 NO-ISSUE: Use pom.xml template in maven-base so new Kogito 
version are propagated to Gradle modules (#3588)
f94cb18d2c8 is described below

commit f94cb18d2c85db4fecba341d467eac607dbefdba
Author: Thiago Lugli <[email protected]>
AuthorDate: Tue May 19 11:09:45 2026 -0300

    NO-ISSUE: Use pom.xml template in maven-base so new Kogito version are 
propagated to Gradle modules (#3588)
---
 .../process-security/docker-compose/pgadmin/pgpass    |  3 ---
 packages/maven-base/.gitignore                        | 19 +++++++++++++++++++
 packages/maven-base/install.js                        |  4 ++--
 packages/maven-base/package.json                      |  3 ++-
 packages/maven-base/{pom.xml => pom.xml.template}     |  4 ++--
 pnpm-lock.yaml                                        |  3 +++
 6 files changed, 28 insertions(+), 8 deletions(-)

diff --git a/examples/process-security/docker-compose/pgadmin/pgpass 
b/examples/process-security/docker-compose/pgadmin/pgpass
index 6a05db76784..c26f04e94cc 100644
--- a/examples/process-security/docker-compose/pgadmin/pgpass
+++ b/examples/process-security/docker-compose/pgadmin/pgpass
@@ -1,6 +1,3 @@
-postgres:5432:bamoe1:kie-user-1:kie-pass-1
-postgres:5432:bamoe2:kie-user-2:kie-pass-2
-postgres:5432:bamoe3:kie-user-3:kie-pass-3
 postgres:5432:postgres:kie-user-1:kie-pass-1
 postgres:5432:postgres:kie-user-2:kie-pass-2
 postgres:5432:postgres:kie-user-3:kie-pass-3
diff --git a/packages/maven-base/.gitignore b/packages/maven-base/.gitignore
new file mode 100644
index 00000000000..e1ba7e07f84
--- /dev/null
+++ b/packages/maven-base/.gitignore
@@ -0,0 +1,19 @@
+###
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+pom.xml
\ No newline at end of file
diff --git a/packages/maven-base/install.js b/packages/maven-base/install.js
index f9c2b8a0feb..1e49fc4da45 100644
--- a/packages/maven-base/install.js
+++ b/packages/maven-base/install.js
@@ -27,14 +27,14 @@ setupMavenConfigFile(
 `
 );
 
-if (!env.properties.setKogitoVersion.skip) {
+if (env.properties.setKogitoVersion.skip !== "true") {
   setPomProperty({
     key: "version.org.kie.kogito",
     value: env.versions.kogito,
   });
 }
 
-if (!env.properties.setQuarkusVersion.skip) {
+if (env.properties.setQuarkusVersion.skip !== "true") {
   setPomProperty({
     key: "version.quarkus",
     value: env.versions.quarkus,
diff --git a/packages/maven-base/package.json b/packages/maven-base/package.json
index 5cdc9298721..d356400f5df 100644
--- a/packages/maven-base/package.json
+++ b/packages/maven-base/package.json
@@ -19,7 +19,7 @@
     "build:prod": "pnpm lint && run-script-os",
     "build:prod:darwin:linux": "mvn clean deploy -DskipTests=$(build-env 
tests.run --not) -Dmaven.test.failure.ignore=$(build-env tests.ignoreFailures) 
-Dmaven.deploy.skip=$(build-env maven.deploy.skip) -Dreproducible",
     "build:prod:win32": "pnpm powershell \"mvn clean deploy `-DskipTests 
`-Dmaven.test.failure.ignore=$(build-env tests.ignoreFailures) 
`-Dmaven.deploy.skip=$(build-env maven.deploy.skip) `-Dreproducible\"",
-    "install": "node install.js && pnpm build:dev",
+    "install": "rimraf pom.xml && cp pom.xml.template pom.xml && node 
install.js && pnpm build:dev",
     "lint": "echo 'Linting'",
     "powershell": "@powershell -NoProfile -ExecutionPolicy Unrestricted 
-Command"
   },
@@ -28,6 +28,7 @@
   },
   "devDependencies": {
     "@kie-tools/root-env": "workspace:*",
+    "rimraf": "^3.0.2",
     "run-script-os": "^1.1.6"
   },
   "kieTools": {
diff --git a/packages/maven-base/pom.xml b/packages/maven-base/pom.xml.template
similarity index 99%
rename from packages/maven-base/pom.xml
rename to packages/maven-base/pom.xml.template
index ab8c419f97b..bdbc72b2e60 100644
--- a/packages/maven-base/pom.xml
+++ b/packages/maven-base/pom.xml.template
@@ -121,10 +121,10 @@
     <version.maven.surefire.plugin>3.5.0</version.maven.surefire.plugin>
 
     <!-- Apache KIE -->
-    <version.org.kie.kogito>999-20260429-local</version.org.kie.kogito>
+    <version.org.kie.kogito><!-- SET BY INSTALL SCRIPT 
--></version.org.kie.kogito>
 
     <!-- Quarkus -->
-    <version.quarkus>3.27.3</version.quarkus>
+    <version.quarkus><!-- SET BY INSTALL SCRIPT --></version.quarkus>
 
     <!-- 3rd party dependencies -->
     <version.junit>4.13.2</version.junit>
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index b92f473c97b..71657389dca 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -5343,6 +5343,9 @@ importers:
       '@kie-tools/root-env':
         specifier: workspace:*
         version: link:../root-env
+      rimraf:
+        specifier: ^3.0.2
+        version: 3.0.2
       run-script-os:
         specifier: ^1.1.6
         version: 
1.1.6(patch_hash=82e28a047ef68998aa768f2d01885d4c96b061f05645c133026c22738f9a8753)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to