This is an automated email from the ASF dual-hosted git repository.
pefernan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie.git
The following commit(s) were added to refs/heads/main by this push:
new cfadb727e77 [NO ISSUE] Enforce Maven reactor build order during
parallel builds to ensure `optaplanner-quarkus-deployment` is built before
`explainability-service` (#7248)
cfadb727e77 is described below
commit cfadb727e77f4e10b15b020cfa5920c0b7727fba
Author: Pere Fernández <[email protected]>
AuthorDate: Fri Oct 30 13:02:30 2026 +0100
[NO ISSUE] Enforce Maven reactor build order during parallel builds to
ensure `optaplanner-quarkus-deployment` is built before
`explainability-service` (#7248)
* [NO ISSUE] Enforce Maven reactor build order during parallel builds to
ensure `optaplanner-quarkus-deployment` is built before `explainability-service`
* - add version
* - fix for enforcer
---
kogito-apps-quarkus/kogito-apps-quarkus-bom/pom.xml | 11 +++++++++++
kogito-explainability/explainability-service/pom.xml | 14 ++++++++++++++
2 files changed, 25 insertions(+)
diff --git a/kogito-apps-quarkus/kogito-apps-quarkus-bom/pom.xml
b/kogito-apps-quarkus/kogito-apps-quarkus-bom/pom.xml
index c2c2aaa58c0..d1d7e6683ee 100644
--- a/kogito-apps-quarkus/kogito-apps-quarkus-bom/pom.xml
+++ b/kogito-apps-quarkus/kogito-apps-quarkus-bom/pom.xml
@@ -672,6 +672,17 @@
<artifactId>optaplanner-quarkus</artifactId>
<version>${version.org.optaplanner}</version>
</dependency>
+ <dependency>
+ <groupId>org.optaplanner</groupId>
+ <artifactId>optaplanner-quarkus-deployment</artifactId>
+ <version>${version.org.optaplanner}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.optaplanner</groupId>
+ <artifactId>optaplanner-quarkus-deployment</artifactId>
+ <version>${version.org.optaplanner}</version>
+ <type>pom</type>
+ </dependency>
</dependencies>
</dependencyManagement>
<build>
diff --git a/kogito-explainability/explainability-service/pom.xml
b/kogito-explainability/explainability-service/pom.xml
index 485804cd261..ced21ea55a6 100644
--- a/kogito-explainability/explainability-service/pom.xml
+++ b/kogito-explainability/explainability-service/pom.xml
@@ -68,6 +68,20 @@
<artifactId>optaplanner-quarkus</artifactId>
</dependency>
+ <!-- Explicit dependency to enforce Maven reactor build order during
parallel builds (-T), ensuring optaplanner-quarkus-deployment is built before
explainability-service runs quarkus:build -->
+ <dependency>
+ <groupId>org.optaplanner</groupId>
+ <artifactId>optaplanner-quarkus-deployment</artifactId>
+ <type>pom</type>
+ <scope>test</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>*</groupId>
+ <artifactId>*</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]