You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by gi...@apache.org on 2026/05/21 12:27:48 UTC
(incubator-kie-drools) branch main updated: [incubator-kie-issues#2029] Dependency management simplification (#6633)
This is an automated email from the ASF dual-hosted git repository.
gitgabrio pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-drools.git
The following commit(s) were added to refs/heads/main by this push:
new 7aa4989de5 [incubator-kie-issues#2029] Dependency management simplification (#6633)
7aa4989de5 is described below
commit 7aa4989de544b56970c1ce7ab186b88822039c82
Author: Gabriele Cardosi <ga...@gmail.com>
AuthorDate: Thu May 21 12:27:42 2026 +0000
[incubator-kie-issues#2029] Dependency management simplification (#6633)
* [incubator-kie-issues#2261] Checkpoint 1
* [incubator-kie-issues#2261] Checkpoint 2
* [incubator-kie-issues#2261] Working build on drools
* [incubator-kie-issues#2261] Clean up
* [incubator-kie-issues#2261] Making the RAT happy
* [incubator-kie-issues#2261] Making the RAT happy - further cleanup
* [incubator-kie-issues#2261] Enforcing noDependencyManagementRule also inside profiles.
Renamed kie-no-dependencymanagement-rule -> kie-no-dependencymanagement-enforcer-rule
* [incubator-kie-issues#2261] Syncronized with kogito-runtimes parent. Fully working.
* [incubator-kie-issues#2261] Synchronized with kogito-runtimes parent. Fully working.
* [incubator-kie-issues#2261] Synchronized with kogito-runtimes parent. Fully working.
* [incubator-kie-issues#2261] Synchronized with kogito-runtimes parent. Fully working.
* [incubator-kie-issues#2261] Synchronized with kogito-runtimes parent. Fully working. Cleaned up
* [incubator-kie-issues#2261] Synchronized with kogito-runtimes parent. Fully working. Cleaned up
* [incubator-kie-issues#2261] Synchronized with kogito-apps parent.Fully working
* [incubator-kie-issues#2261] Synchronized with kogito-runtimes parent.Fully working
* [incubator-kie-issues#2261] Synchronized with kogito-apps .Fully working
* [incubator-kie-issues#2261] Fix logmanager version
* [incubator-kie-issues#2261] Add smallrye mutiny version
* [incubator-kie-issues#2261] Add logmanager embedded version
* [incubator-kie-issues#2261] Conditionally skip no-managed-deps enforcer
* [incubator-kie-issues#2261] Removing scope for smallrye-reactive-messaging-in-memory
* [incubator-kie-issues#2261] Declaring org.eclipse.jetty.jakarta.servlet.api dependency
* [incubator-kie-issues#2261] Add flag for ban-duplicated-classes enforcer rule.
* [incubator-kie-issues#2261] Remove management of mutiny
* [incubator-kie-issues#2261] Restore mutiny dependency managemetn
* [incubator-kie-issues#2261] Fix as per PR suggestion
* [incubator-kie-issues#2261] Fix typo
* [incubator-kie-issues#2029] Remove wrong dependency management for mongo-driver-sync
* [incubator-kie-issues#2029] Update netty. Sort properties alphabetically for easy management; removed duplication
* [incubator-kie-issues#2029] Restore version.jakarta.activation-api
* [incubator-kie-issues#2029] Cleanup commented/unused snippets
* [incubator-kie-issues#2029] Merge with main - update spotbugs-maven-plugin
* [incubator-kie-issues#2029] Merge with main
* [incubator-kie-issues#2029] Merge with main
* [incubator-kie-issues#2029] Fix as per PR review
* [incubator-kie-issues#2029] Fix as per PR review
* [incubator-kie-issues#2029] Merge with main
* [incubator-kie-issues#2029] Add snakeyaml dependency management
* [incubator-kie-issues#2029] Bump org.bouncycastle.bc.jdk18on to 1.84
* [incubator-kie-issues#2029] Implemented kie-parent-drools and noExternalManagedDependencyRule
* [incubator-kie-issues#2029] Merge with main
* [incubator-kie-issues#2029] Fix kie-parent-drools parent path
* [incubator-kie-issues#2029] Overall reorganization and cleanup
* [incubator-kie-issues#2029] Fix version.asciidoctor-maven-plugin reference
* [incubator-kie-issues#2029] Restore surefire count. Synv library version with main
* [incubator-kie-issues#2029] Fix merge with main
* [incubator-kie-issues#2029] Renaming enforcer rules
* [incubator-kie-issues#2029] Removing RegexpSinglelineJava checkstyle module
* [incubator-kie-issues#2029] Merge with main
* [incubator-kie-issues#2029] Merge with main
* [incubator-kie-issues#2029] Reverting some changes from last building commit 86ff5a82 working 23/04. Output build logs to build_logs directory and upload them from ci
* [incubator-kie-issues#2029_86ff5a82] Fix build log directory reference
* [incubator-kie-issues#2029] Fix merge with main
* [incubator-kie-issues#2029] Fix version.asciidoctor-maven-plugin reference
* [incubator-kie-issues#2029] Fix merge with main - bump postgresql version to 42.7.11
* [incubator-kie-issues#2029] Fix as per PR suggestion
* [incubator-kie-issues#2029] Bump org.apache.opennlp:opennlp-tools from 2.3.2 to 2.5.9
* [incubator-kie-issues#2029] Restore needed <logDirectory>${path.to.buildlog.directory}</logDirectory> configuration
* [incubator-kie-issues#2029] Temporary use
remove_unwanted_reproducible kogito-pipeline branch
* [incubator-kie-issues#2029] Remove duplication
* [incubator-kie-issues#2029] Implement tests for new enforcer rules
* [incubator-kie-issues#2029] Fix as per PR review
* [incubator-kie-issues#2029] Upgrade Netty to 4.1.133.Final
* [incubator-kie-issues#2029] Restore build chain definition file
* [incubator-kie-issues#2029] Upgrade Vert.x Core to 4.5.27
* [incubator-kie-issues#2029] Fix SB 4 merge
* [incubator-kie-issues#2029] Fix SB 4 merge
* [incubator-kie-issues#2029] Merge with main
* [incubator-kie-issues#2029] Attempt fix latest main
* [incubator-kie-issues#2029] Bump org.apache.tomcat.embed:tomcat-embed-core (#4296)
---------
Co-authored-by: Gabriele-Cardosi <ga...@ibm.com>
Co-authored-by: Yeser Amer <ye...@ibm.com>
---
bom/drools-bom/pom.xml | 17 -
bom/kie-dmn-bom/pom.xml | 17 +-
bom/kie-efesto-bom/pom.xml | 57 -
bom/kie-pmml-bom/pom.xml | 6 +
build-parent/pom.xml | 2454 +---------------
drools-distribution/pom.xml | 2 +-
drools-examples-api/pom.xml | 10 -
drools-examples/pom.xml | 10 -
drools-model/drools-model-codegen/pom.xml | 18 -
drools-persistence/drools-persistence-jpa/pom.xml | 10 -
.../drools-quarkus-deployment/pom.xml | 10 -
.../pom.xml | 10 -
.../drools-quarkus-ruleunits-deployment/pom.xml | 11 -
drools-quarkus-extension/pom.xml | 16 +-
.../drools-reliability-infinispan/pom.xml | 12 -
.../drools-reliability-tests/pom.xml | 26 -
.../drools-scenario-simulation-backend/pom.xml | 24 -
.../pom.xml | 25 -
drools-templates/pom.xml | 10 -
.../drools-test-coverage-jars-with-invoker/pom.xml | 12 +-
.../standalone/kie-ci-with-domain/pom.xml | 10 -
.../standalone/kie-ci-without-domain/pom.xml | 10 -
.../test-compiler-integration/pom.xml | 13 +-
.../test-integration-ruleunits-tests/pom.xml | 10 -
drools-test-coverage/test-suite/pom.xml | 13 +-
drools-verifier/drools-verifier-drl/pom.xml | 17 +-
efesto/pom.xml | 19 +-
kie-archetypes/pom.xml | 35 -
kie-ci/kie-ci-test-jars/kie-ci-test-bom/pom.xml | 15 -
kie-ci/pom.xml | 2 +
kie-dmn/kie-dmn-core-jsr223-jq/pom.xml | 11 +-
kie-dmn/kie-dmn-core-jsr223/pom.xml | 34 +-
kie-dmn/kie-dmn-core/pom.xml | 29 +-
kie-dmn/kie-dmn-efesto-compilation/pom.xml | 39 +-
kie-dmn/kie-dmn-efesto-runtime/pom.xml | 20 -
kie-dmn/kie-dmn-feel/pom.xml | 11 -
kie-dmn/kie-dmn-legacy-tests/pom.xml | 26 -
kie-dmn/kie-dmn-openapi/pom.xml | 18 -
.../kie-dmn-pmml-tests-trusty/pom.xml | 15 -
kie-dmn/kie-dmn-pmml-tests-parent/pom.xml | 33 -
.../kie-dmn-ruleset2dmn-cli/pom.xml | 17 -
.../kie-dmn-ruleset2dmn/pom.xml | 19 -
kie-dmn/kie-dmn-signavio/pom.xml | 12 -
kie-dmn/kie-dmn-trisotech/pom.xml | 18 -
kie-dmn/kie-dmn-validation/pom.xml | 38 -
kie-dmn/kie-dmn-xls2dmn-cli/pom.xml | 19 -
kie-dmn/pom.xml | 12 -
kie-drl/pom.xml | 66 -
kie-maven-plugin/pom.xml | 58 +-
.../AdditionalPropertiesIntegrationTestIT.java | 3 +-
.../kie-maven-plugin-test-kjar-parent/pom.xml | 1 +
kie-no-dependency-management-enforcer-rule/pom.xml | 136 +
.../NoDependencyManagementRule.java | 112 +
.../NoDependencyManagementRuleTest.java | 216 ++
.../pom.xml | 150 +
.../invoker.properties | 27 +
.../module1}/pom.xml | 27 +-
.../module2}/pom.xml | 25 +-
.../src/it/noexternalmanageddependencyrule/pom.xml | 105 +
.../noexternalmanageddependencyrule/verify.groovy | 29 +
.../NoExternalManagedDependencyRule.java | 211 ++
.../pom.xml | 68 +-
{build-parent => kie-parent}/pom.xml | 2962 +++++++++++++-------
.../kie-pmml-models/kie-pmml-models-drools/pom.xml | 17 -
.../kie-pmml-models-scorecard-compiler/pom.xml | 10 -
.../kie-pmml-models-scorecard-evaluator/pom.xml | 11 -
.../kie-pmml-models-scorecard-tests/pom.xml | 21 -
.../kie-pmml-models-tree-compiler/pom.xml | 10 -
.../kie-pmml-models-tree-evaluator/pom.xml | 11 -
.../kie-pmml-models-tree-tests/pom.xml | 21 -
kie-pmml-trusty/pom.xml | 28 +-
.../pom.xml | 65 +-
kie-test-util/pom.xml | 17 -
kie-util/kie-util-maven-integration/pom.xml | 10 -
pom.xml | 5 +
75 files changed, 3128 insertions(+), 4566 deletions(-)
diff --git a/bom/drools-bom/pom.xml b/bom/drools-bom/pom.xml
index aecc807c9e..0db0e3c769 100644
--- a/bom/drools-bom/pom.xml
+++ b/bom/drools-bom/pom.xml
@@ -1045,11 +1045,6 @@
<artifactId>default-kiesession</artifactId>
<version>${project.version}</version>
</dependency>
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>cdi-example</artifactId>
- <version>${project.version}</version>
- </dependency>
<dependency>
<groupId>org.drools</groupId>
<artifactId>multiple-kbases</artifactId>
@@ -1095,18 +1090,6 @@
<type>test-jar</type>
<scope>test</scope>
</dependency>
-
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>drools-scorecards</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>drools-scorecards</artifactId>
- <version>${project.version}</version>
- <classifier>sources</classifier>
- </dependency>
<dependency>
<groupId>org.drools</groupId>
<artifactId>drools-examples</artifactId>
diff --git a/bom/kie-dmn-bom/pom.xml b/bom/kie-dmn-bom/pom.xml
index 54b8f71106..8839d3aeeb 100644
--- a/bom/kie-dmn-bom/pom.xml
+++ b/bom/kie-dmn-bom/pom.xml
@@ -189,29 +189,34 @@
</dependency>
<dependency>
<groupId>org.kie</groupId>
- <artifactId>kie-dmn-core-osgi</artifactId>
+ <artifactId>kie-dmn-openapi</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.kie</groupId>
- <artifactId>kie-dmn-core-osgi</artifactId>
+ <artifactId>kie-dmn-openapi</artifactId>
<version>${project.version}</version>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>org.kie</groupId>
- <artifactId>kie-dmn-openapi</artifactId>
+ <artifactId>kie-dmn-xsd-resources</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.kie</groupId>
- <artifactId>kie-dmn-openapi</artifactId>
+ <artifactId>kie-dmn-efesto-compilation</artifactId>
<version>${project.version}</version>
- <classifier>sources</classifier>
</dependency>
<dependency>
<groupId>org.kie</groupId>
- <artifactId>kie-dmn-xsd-resources</artifactId>
+ <artifactId>kie-dmn-efesto-runtime</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.kie</groupId>
+ <artifactId>kie-dmn-test-resources</artifactId>
+ <classifier>tests</classifier>
<version>${project.version}</version>
</dependency>
</dependencies>
diff --git a/bom/kie-efesto-bom/pom.xml b/bom/kie-efesto-bom/pom.xml
index fb8b2f1e32..dc7dc56182 100644
--- a/bom/kie-efesto-bom/pom.xml
+++ b/bom/kie-efesto-bom/pom.xml
@@ -100,26 +100,6 @@
<artifactId>efesto-common-core</artifactId>
<version>${project.version}</version>
</dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>efesto-identifiers-api-application</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>efesto-identifiers-api-decisions</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>efesto-identifiers-api-predictions</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>efesto-identifiers-api-rules</artifactId>
- <version>${project.version}</version>
- </dependency>
<dependency>
<groupId>org.kie</groupId>
<artifactId>efesto-compilation-manager-api</artifactId>
@@ -146,43 +126,6 @@
<artifactId>efesto-runtime-manager-core</artifactId>
<version>${project.version}</version>
</dependency>
- <!-- Quarkus Extension -->
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>efesto-quarkus</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>efesto-quarkus</artifactId>
- <version>${project.version}</version>
- <classifier>sources</classifier>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>efesto-quarkus</artifactId>
- <version>${project.version}</version>
- <type>test-jar</type>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>efesto-quarkus-deployment</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>efesto-quarkus-deployment</artifactId>
- <version>${project.version}</version>
- <classifier>sources</classifier>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>efesto-quarkus-deployment</artifactId>
- <version>${project.version}</version>
- <type>test-jar</type>
- <scope>test</scope>
- </dependency>
<!-- ENGINES -->
<!-- External -->
<!-- Logging -->
diff --git a/bom/kie-pmml-bom/pom.xml b/bom/kie-pmml-bom/pom.xml
index d8612ddfac..775383b073 100644
--- a/bom/kie-pmml-bom/pom.xml
+++ b/bom/kie-pmml-bom/pom.xml
@@ -579,6 +579,12 @@
<version>${project.version}</version>
<classifier>tests</classifier>
</dependency>
+ <!-- dependencies -->
+ <dependency>
+ <groupId>org.kie</groupId>
+ <artifactId>kie-pmml-dependencies</artifactId>
+ <version>${project.version}</version>
+ </dependency>
<!-- EXTERNAL -->
<dependency>
<groupId>org.kie</groupId>
diff --git a/build-parent/pom.xml b/build-parent/pom.xml
index 89ab809ff0..12fea6d306 100644
--- a/build-parent/pom.xml
+++ b/build-parent/pom.xml
@@ -23,9 +23,10 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
- <artifactId>drools-parent</artifactId>
<groupId>org.kie</groupId>
+ <artifactId>kie-parent-drools</artifactId>
<version>999-SNAPSHOT</version>
+ <relativePath>../kie-parent-drools/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -34,1541 +35,182 @@
<packaging>pom</packaging>
<properties>
- <maven.compiler.release>17</maven.compiler.release>
-
- <surefire.forkCount>1</surefire.forkCount>
- <alphanetworkCompilerEnabled>false</alphanetworkCompilerEnabled>
-
- <checkstyle.failOnViolation>true</checkstyle.failOnViolation>
- <checkstyle.logViolationsToConsole>true</checkstyle.logViolationsToConsole>
- <drools.exclude.checkstyle></drools.exclude.checkstyle>
-
+ <alphanetworkCompilerEnabled>false</alphanetworkCompilerEnabled>
<victims.updates>weekly</victims.updates>
- <illegaltransitivereportonly>false</illegaltransitivereportonly>
-
- <!--
- CONVENTIONS:
- - A version property must be specified in the format "version.{groupId}", optionally with a suffix to make it unique.
- - Version properties must be sorted alphabetically (other form of sorting were found to be unclear and ambiguous).
- -->
- <version.ch.qos.logback>1.5.32</version.ch.qos.logback>
- <version.commons-codec>1.19.0</version.commons-codec>
- <version.commons-collections>3.2.2</version.commons-collections>
- <version.commons-logging>1.1.1</version.commons-logging>
- <version.commons-io>2.20.0</version.commons-io>
- <version.common-text>1.14.0</version.common-text>
- <version.com.fasterxml.jackson>2.21.2</version.com.fasterxml.jackson>
- <version.com.fasterxml.jackson.databind>2.21.2</version.com.fasterxml.jackson.databind>
- <version.com.fasterxml.jackson.annotations>2.21</version.com.fasterxml.jackson.annotations>
- <version.com.github.victools>4.37.0</version.com.github.victools> <!-- victools should align with Jackson if possible -->
- <version.com.miglayout>3.7.4</version.com.miglayout>
- <version.domino-slf4j-logger>1.0.1</version.domino-slf4j-logger>
- <version.com.google.protobuf>3.25.5</version.com.google.protobuf>
- <version.com.h2database>2.4.240</version.com.h2database>
- <version.com.networknt.json-schema-validator>1.0.86</version.com.networknt.json-schema-validator>
- <version.com.sun.xml.bind>4.0.5</version.com.sun.xml.bind>
- <version.com.thoughtworks.xstream>1.4.21</version.com.thoughtworks.xstream>
- <version.guru.nidi>0.18.0</version.guru.nidi>
- <version.info.picocli>4.7.7</version.info.picocli>
- <version.io.micrometer>1.16.4</version.io.micrometer>
- <version.io.quarkus>3.27.3</version.io.quarkus>
- <version.io.netty>4.1.133.Final</version.io.netty>
- <version.io.smallrye.openapi.core>4.0.12</version.io.smallrye.openapi.core>
- <version.io.smallrye.config.core>3.13.4</version.io.smallrye.config.core>
- <version.org.apache.kafka>4.1.2</version.org.apache.kafka>
-
- <version.it.unimi.dsi.fastutil>8.5.11</version.it.unimi.dsi.fastutil>
- <!-- JUnit 4 API for legacy test classes that still use org.junit.* annotations.
- junit-vintage-engine (part of JUnit 6, see version.org.junit) runs them on the JUnit Platform. -->
- <version.junit>4.13.2</version.junit>
- <version.net.java.dev.glazedlists>1.8.0</version.net.java.dev.glazedlists>
- <version.antlr>2.7.7</version.antlr>
- <version.org.antlr>3.5.2</version.org.antlr>
- <version.org.antlr.ST4>4.0.7</version.org.antlr.ST4>
- <version.org.apache.ant>1.10.11</version.org.apache.ant>
- <version.org.apache.commons.lang3>3.19.0</version.org.apache.commons.lang3>
- <version.org.apache.commons.math3>3.6.1</version.org.apache.commons.math3>
- <version.org.apache.httpcomponents.httpcore>4.4.16</version.org.apache.httpcomponents.httpcore>
- <version.org.apache.maven>3.9.11</version.org.apache.maven>
- <version.org.apache.maven.resolver>1.7.3</version.org.apache.maven.resolver>
- <version.org.apache.maven.wagon>3.5.3</version.org.apache.maven.wagon>
- <version.org.apache.pdfbox>2.0.28</version.org.apache.pdfbox>
- <version.org.apache.poi>5.4.1</version.org.apache.poi>
- <version.org.apache.tomcat.tomcat-dbcp>10.1.48</version.org.apache.tomcat.tomcat-dbcp>
- <version.org.assertj>3.27.7</version.org.assertj>
- <version.org.eclipse.jdt>3.44.0</version.org.eclipse.jdt>
- <version.org.freemarker>2.3.34</version.org.freemarker>
- <version.org.glassfish.jaxb>4.0.6</version.org.glassfish.jaxb>
- <!--This needs to be in sync with JUnit-->
- <version.org.hamcrest>3.0</version.org.hamcrest>
- <version.org.hsqldb>2.7.1</version.org.hsqldb>
- <version.org.infinispan>15.2.6.Final</version.org.infinispan>
- <version.org.infinispan.protostream>5.0.13.Final</version.org.infinispan.protostream>
- <version.org.javassist>3.26.0-GA</version.org.javassist>
- <version.org.jboss.narayana.tomcat>7.2.2.Final</version.org.jboss.narayana.tomcat>
- <version.org.jboss.logging>3.6.1.Final</version.org.jboss.logging>
- <version.org.jboss.transaction.spi>8.0.0.Final</version.org.jboss.transaction.spi>
- <version.org.jboss.weld.weld>3.1.6.Final</version.org.jboss.weld.weld>
- <version.org.eclipse.microprofile.config>3.1</version.org.eclipse.microprofile.config>
- <version.jakarta.enterprise.cdi-api>4.1.0</version.jakarta.enterprise.cdi-api>
- <version.jakarta.activation>2.0.3</version.jakarta.activation>
- <version.jakarta.activation-api>2.1.4</version.jakarta.activation-api>
- <version.jakarta.inject-api>2.0.1</version.jakarta.inject-api>
- <version.jakarta.annotation-api>3.0.0</version.jakarta.annotation-api>
- <version.jakarta.transaction-api>2.0.1</version.jakarta.transaction-api>
- <version.jakarta.persistence-api>3.2.0</version.jakarta.persistence-api>
- <version.jakarta.xml.bind-api>4.0.4</version.jakarta.xml.bind-api>
- <version.jakarta.json.bind-api>3.0.1</version.jakarta.json.bind-api>
- <version.jakarta.json>1.1.7</version.jakarta.json>
- <version.jakarta.json-api>2.1.3</version.jakarta.json-api>
- <version.org.apache.openjpa>4.0.0</version.org.apache.openjpa>
- <version.org.jpmml.model>1.6.4</version.org.jpmml.model> <!-- jpmml-model BSD 3C license - ATTENTION 1.5.1 intentional, because 1.5.1 evaluators works with 1.5.1 -->
- <!-- JUnit 6: single version property for jupiter + platform + vintage artifacts. See version.junit above for the legacy JUnit 4 API. -->
- <version.org.junit>6.0.3</version.org.junit>
- <version.org.mvel>2.5.2.Final</version.org.mvel>
- <version.org.powermock>2.0.9</version.org.powermock>
- <version.org.slf4j>2.0.17</version.org.slf4j>
- <!-- simple-jndi is a small library that helps us avoid JNDI error messages during testing -->
- <version.simple-jndi>0.11.4.1</version.simple-jndi>
- <version.xerces>2.12.0.SP04</version.xerces>
- <version.com.squareup.okhttp3>4.12.0</version.com.squareup.okhttp3>
-
- <!-- External dependency versions bom -->
- <!-- ################################################################################ -->
- <!-- New and overwritten dependencies -->
- <!-- ################################################################################ -->
-
- <version.org.antlr4>4.13.2</version.org.antlr4>
- <version.org.jboss.arquillian.selenium>3.13.0</version.org.jboss.arquillian.selenium>
- <version.io.swagger.core.v3>2.2.38</version.io.swagger.core.v3>
- <version.io.swagger.parser.v3>2.1.34</version.io.swagger.parser.v3>
- <version.org.xmlunit>2.10.4</version.org.xmlunit>
- <!-- therefore the property is rewritten in that repository parent -->
- <version.org.asciidoctor.asciidoctorj>2.2.0</version.org.asciidoctor.asciidoctorj>
- <version.org.asciidoctor.asciidoctorj-pdf>1.5.0</version.org.asciidoctor.asciidoctorj-pdf>
- <version.org.w3c.dom>2.3.0-jaxb-1.0.6</version.org.w3c.dom>
- <version.org.mockito>5.18.0</version.org.mockito>
- <!-- Version of JMH -->
- <version.org.openjdk.jmh>1.21</version.org.openjdk.jmh>
-
- <maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
-
- <!-- This property needs to be defined in all modules that use the packaging 'jar' or 'bundle'. It is
- being used by different plugins to make sure the module/bundle names are consistent. -->
- <java.module.name/>
-
- <!-- Add for kie-maven-plugin -->
- <version.plugin.plugin>3.10.2</version.plugin.plugin>
- <version.plugin.annotations>3.15.1</version.plugin.annotations>
- <version.artifact.transfer>0.9.1</version.artifact.transfer>
- <version.shared.utils>3.4.2</version.shared.utils>
- <version.common.compress>1.28.0</version.common.compress>
- <version.common.exec>1.3</version.common.exec>
- <version.com.github.eirslett>1.15.1</version.com.github.eirslett>
- <!-- -->
- <!-- Jacoco plugin configurations -->
- <jacoco.haltOnFailure>false</jacoco.haltOnFailure>
- <jacoco.line.coveredratio.minimum>0.9</jacoco.line.coveredratio.minimum>
- <version.jacoco.plugin>0.8.11</version.jacoco.plugin>
- <!-- TODO: remove this once all repositories comply to the defined checkstyle rules -->
- <checkstyle.failOnViolation>false</checkstyle.failOnViolation>
- <checkstyle.logViolationsToConsole>false</checkstyle.logViolationsToConsole>
- <checkstyle.header.template>.*</checkstyle.header.template>
- <checkstyle.header.extensions>java</checkstyle.header.extensions>
- <enforcer.failOnDuplicatedClasses>true</enforcer.failOnDuplicatedClasses>
- <enforcer.failOnBannedDependencies>true</enforcer.failOnBannedDependencies>
- <!-- Set to "true" on every project that has no violations. -->
- <spotbugs.failOnViolation>false</spotbugs.failOnViolation>
- <version.com.github.spotbugs-maven-plugin>4.9.8.3</version.com.github.spotbugs-maven-plugin>
-
- <version.maven.min>3.8.1</version.maven.min>
- <!-- property for productisation to know the last released version -->
- <latestReleasedVersionFromThisBranch>notYetReleased</latestReleasedVersionFromThisBranch>
-
- <version.compiler.plugin>3.13.0</version.compiler.plugin>
- <version.shade.plugin>3.3.0</version.shade.plugin>
-
- <version.net.byte-buddy>1.17.6</version.net.byte-buddy>
-
- <version.org.postgresql>42.7.11</version.org.postgresql>
-
- <version.ch.obermuhlner>2.0.1</version.ch.obermuhlner>
- <version.io.smallrye.jandex>3.4.0</version.io.smallrye.jandex>
- <version.org.eclipse.yasson>3.0.4</version.org.eclipse.yasson>
- <version.org.yaml.snakeyaml>2.6</version.org.yaml.snakeyaml>
-
- <version.com.github.javaparser>3.27.0</version.com.github.javaparser>
-
- <version.com.google.guava>33.4.8-jre</version.com.google.guava>
-
- <!-- JaCoCo coverage data file location -->
- <!--suppress UnresolvedMavenProperty -->
- <project.root.dir>${maven.multiModuleProjectDirectory}</project.root.dir>
- <jacoco.exec.file>${project.root.dir}/target/jacoco.exec</jacoco.exec.file>
-
- <version.org.awaitility>4.3.0</version.org.awaitility>
-
- <!-- DROOLS-7140 Drools 8 enforce JDK and Maven versions as a rule -->
- <version.jdk>${maven.compiler.release}</version.jdk>
- <version.maven>${version.org.apache.maven}</version.maven>
-
- <!-- These are added as part of the migration from JBoss to Apache parent pom.xml. They may be extracted to a KIE parent bom. -->
- <version.maven-checkstyle>3.3.0</version.maven-checkstyle>
- <version.build.helper.maven.plugin>3.4.0</version.build.helper.maven.plugin>
- <version.maven-javadoc-plugin.override>3.6.2</version.maven-javadoc-plugin.override>
-
- <!-- download-maven-plugin used to download arbitrary files at compile time -->
- <version.download-maven-plugin>2.0.0</version.download-maven-plugin>
- <version.property-maven-plugin>1.2.1</version.property-maven-plugin>
- <!-- plugin used to enforce architectural constraints -->
- <version.archunit.maven.plugin>4.0.2</version.archunit.maven.plugin>
- <version.archunit.junit5>1.4.0</version.archunit.junit5>
-
- <version.io.vertx>4.5.27</version.io.vertx>
- <version.org.codehaus.plexus.plexus-utils>3.6.1</version.org.codehaus.plexus.plexus-utils>
+ <!-- Used to define which poms are allowed to have dependencyManagement sections. This is to enforce the convention that only the root pom should have dependencyManagement, and all other poms should inherit from it. -->
+ <allowedPomsList>org.kie:drools-build-parent</allowedPomsList>
+ <!-- Used to define which artifact are allowed in dependency management even if not implemented in the multimodule project; e.g. if those are generated on-the-fly by script -->
+ <allowed_GA>org.drools:drools-docs</allowed_GA>
+ <!-- To be overridden by poms with dependency management -->
+ <root_pom>../pom.xml</root_pom>
</properties>
<dependencyManagement>
<dependencies>
- <!-- Version overrides to fix vulnerabilities. -->
- <!-- Override vertx-core version from Quarkus 3.27.3 BOM (CVE fix) -->
- <dependency>
- <groupId>io.vertx</groupId>
- <artifactId>vertx-core</artifactId>
- <version>${version.io.vertx}</version>
- </dependency>
- <dependency>
- <groupId>io.vertx</groupId>
- <artifactId>vertx-web</artifactId>
- <version>${version.io.vertx}</version>
- </dependency>
- <dependency>
- <groupId>org.codehaus.plexus</groupId>
- <artifactId>plexus-utils</artifactId>
- <version>${version.org.codehaus.plexus.plexus-utils}</version>
- </dependency>
- <!-- Version overrides to fix vulnerabilities - end -->
-
- <!-- Keep in sync with groupId org.slf4j -->
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-core</artifactId>
- <version>${version.ch.qos.logback}</version>
- </dependency>
-
- <!-- Keep in sync with groupId org.apache.commons -->
- <dependency>
- <groupId>commons-codec</groupId>
- <artifactId>commons-codec</artifactId>
- <version>${version.commons-codec}</version>
- </dependency>
- <dependency>
- <groupId>commons-collections</groupId>
- <artifactId>commons-collections</artifactId>
- <version>${version.commons-collections}</version>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <version>${version.commons-io}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-text</artifactId>
- <version>${version.common-text}</version>
- </dependency>
-
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-core</artifactId>
- <version>${version.com.fasterxml.jackson}</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-databind</artifactId>
- <version>${version.com.fasterxml.jackson.databind}</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-annotations</artifactId>
- <version>${version.com.fasterxml.jackson.annotations}</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.module</groupId>
- <artifactId>jackson-module-jakarta-xmlbind-annotations</artifactId>
- <version>${version.com.fasterxml.jackson}</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.dataformat</groupId>
- <artifactId>jackson-dataformat-yaml</artifactId>
- <version>${version.com.fasterxml.jackson}</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.jakarta.rs</groupId>
- <artifactId>jackson-jakarta-rs-json-provider</artifactId>
- <version>${version.com.fasterxml.jackson}</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.jaxrs</groupId>
- <artifactId>jackson-jaxrs-base</artifactId>
- <version>${version.com.fasterxml.jackson}</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.dataformat</groupId>
- <artifactId>jackson-dataformat-smile</artifactId>
- <version>${version.com.fasterxml.jackson}</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.dataformat</groupId>
- <artifactId>jackson-dataformat-cbor</artifactId>
- <version>${version.com.fasterxml.jackson}</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.datatype</groupId>
- <artifactId>jackson-datatype-jsr310</artifactId>
- <version>${version.com.fasterxml.jackson}</version>
- </dependency>
-
- <!-- Forced version of the majority of general netty dependencies. This is to enforce an aligned netty libraries version in transitive dependencies, due to possible CVEs. -->
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-buffer</artifactId>
- <version>${version.io.netty}</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-codec</artifactId>
- <version>${version.io.netty}</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-codec-dns</artifactId>
- <version>${version.io.netty}</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-codec-haproxy</artifactId>
- <version>${version.io.netty}</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-codec-http</artifactId>
- <version>${version.io.netty}</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-codec-http2</artifactId>
- <version>${version.io.netty}</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-codec-memcache</artifactId>
- <version>${version.io.netty}</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-codec-mqtt</artifactId>
- <version>${version.io.netty}</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-codec-redis</artifactId>
- <version>${version.io.netty}</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-codec-smtp</artifactId>
- <version>${version.io.netty}</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-codec-socks</artifactId>
- <version>${version.io.netty}</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-codec-stomp</artifactId>
- <version>${version.io.netty}</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-codec-xml</artifactId>
- <version>${version.io.netty}</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-common</artifactId>
- <version>${version.io.netty}</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-dev-tools</artifactId>
- <version>${version.io.netty}</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-handler</artifactId>
- <version>${version.io.netty}</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-handler-proxy</artifactId>
- <version>${version.io.netty}</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-handler-ssl-ocsp</artifactId>
- <version>${version.io.netty}</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-resolver</artifactId>
- <version>${version.io.netty}</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-resolver-dns</artifactId>
- <version>${version.io.netty}</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-transport</artifactId>
- <version>${version.io.netty}</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-transport-rxtx</artifactId>
- <version>${version.io.netty}</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-transport-sctp</artifactId>
- <version>${version.io.netty}</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-transport-udt</artifactId>
- <version>${version.io.netty}</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-all</artifactId>
- <version>${version.io.netty}</version>
- </dependency>
-
- <dependency>
- <groupId>com.github.victools</groupId>
- <artifactId>jsonschema-generator</artifactId>
- <version>${version.com.github.victools}</version>
- </dependency>
- <dependency>
- <groupId>com.github.victools</groupId>
- <artifactId>jsonschema-module-jackson</artifactId>
- <version>${version.com.github.victools}</version>
- <exclusions>
- <exclusion>
- <groupId>com.fasterxml</groupId>
- <artifactId>classmate</artifactId>
- </exclusion>
- <exclusion>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-core</artifactId>
- </exclusion>
- <exclusion>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-databind</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>com.google.protobuf</groupId>
- <artifactId>protobuf-java</artifactId>
- <version>${version.com.google.protobuf}</version>
- </dependency>
-
- <dependency>
- <groupId>com.h2database</groupId>
- <artifactId>h2</artifactId>
- <version>${version.com.h2database}</version>
- </dependency>
-
- <dependency>
- <groupId>com.squareup.okhttp3</groupId>
- <artifactId>okhttp</artifactId>
- <version>${version.com.squareup.okhttp3}</version>
- </dependency>
-
- <dependency>
- <groupId>com.networknt</groupId>
- <artifactId>json-schema-validator</artifactId>
- <version>${version.com.networknt.json-schema-validator}</version>
- <scope>test</scope> <!-- used by JUnit test suite for JSON Schema conformance -->
- </dependency>
-
- <dependency>
- <groupId>com.sun.xml.bind</groupId>
- <artifactId>jaxb-core</artifactId>
- <version>${version.com.sun.xml.bind}</version>
- </dependency>
- <dependency>
- <groupId>com.sun.xml.bind</groupId>
- <artifactId>jaxb-xjc</artifactId>
- <version>${version.com.sun.xml.bind}</version>
- <exclusions>
- <exclusion>
- <groupId>javax.activation</groupId>
- <artifactId>activation</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>com.thoughtworks.xstream</groupId>
- <artifactId>xstream</artifactId>
- <version>${version.com.thoughtworks.xstream}</version>
- </dependency>
-
- <dependency>
- <groupId>guru.nidi</groupId>
- <artifactId>graphviz-java</artifactId>
- <version>${version.guru.nidi}</version>
- </dependency>
-
- <dependency>
- <groupId>javax.inject</groupId>
- <artifactId>javax.inject</artifactId>
- <version>1</version>
- </dependency>
-
- <dependency>
- <groupId>info.picocli</groupId>
- <artifactId>picocli</artifactId>
- <version>${version.info.picocli}</version>
- </dependency>
-
- <dependency>
- <groupId>io.smallrye</groupId>
- <artifactId>smallrye-open-api-core</artifactId>
- <version>${version.io.smallrye.openapi.core}</version>
- </dependency>
-
- <dependency>
- <groupId>io.smallrye.config</groupId>
- <artifactId>smallrye-config</artifactId>
- <version>${version.io.smallrye.config.core}</version>
- <exclusions>
- <exclusion>
- <groupId>org.osgi</groupId>
- <artifactId>org.osgi.annotation.versioning</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.ow2.asm</groupId>
- <artifactId>asm</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>org.eclipse.parsson</groupId>
- <artifactId>parsson</artifactId>
- <version>${version.jakarta.json}</version>
- </dependency>
- <dependency>
- <groupId>org.glassfish.jaxb</groupId>
- <artifactId>jaxb-runtime</artifactId>
- <version>${version.org.glassfish.jaxb}</version>
- <exclusions>
- <exclusion>
- <groupId>javax.xml.bind</groupId>
- <artifactId>jaxb-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.activation</groupId>
- <artifactId>javax.activation-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.glassfish.jaxb</groupId>
- <artifactId>jaxb-xjc</artifactId>
- <version>${version.org.glassfish.jaxb}</version>
- </dependency>
- <dependency>
- <groupId>jakarta.json.bind</groupId>
- <artifactId>jakarta.json.bind-api</artifactId>
- <version>${version.jakarta.json.bind-api}</version>
- </dependency>
- <dependency>
- <groupId>jakarta.json</groupId>
- <artifactId>jakarta.json-api</artifactId>
- <version>${version.jakarta.json-api}</version>
- </dependency>
-
- <dependency>
- <groupId>org.eclipse.angus</groupId>
- <artifactId>angus-activation</artifactId>
- <version>${version.jakarta.activation}</version>
- </dependency>
- <dependency>
- <groupId>jakarta.activation</groupId>
- <artifactId>jakarta.activation-api</artifactId>
- <version>${version.jakarta.activation-api}</version>
- </dependency>
- <dependency>
- <groupId>jakarta.annotation</groupId>
- <artifactId>jakarta.annotation-api</artifactId>
- <version>${version.jakarta.annotation-api}</version>
- </dependency>
- <dependency>
- <groupId>jakarta.transaction</groupId>
- <artifactId>jakarta.transaction-api</artifactId>
- <version>${version.jakarta.transaction-api}</version>
- </dependency>
- <dependency>
- <groupId>jakarta.persistence</groupId>
- <artifactId>jakarta.persistence-api</artifactId>
- <version>${version.jakarta.persistence-api}</version>
- </dependency>
- <dependency>
- <groupId>jakarta.xml.bind</groupId>
- <artifactId>jakarta.xml.bind-api</artifactId>
- <version>${version.jakarta.xml.bind-api}</version>
- </dependency>
- <dependency>
- <groupId>jakarta.inject</groupId>
- <artifactId>jakarta.inject-api</artifactId>
- <version>${version.jakarta.inject-api}</version>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>${version.junit}</version>
- </dependency>
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-api</artifactId>
- <version>${version.org.junit}</version>
- </dependency>
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter</artifactId>
- <version>${version.org.junit}</version>
- </dependency>
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-engine</artifactId>
- <version>${version.org.junit}</version>
- </dependency>
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-params</artifactId>
- <version>${version.org.junit}</version>
- </dependency>
- <dependency>
- <groupId>org.junit.vintage</groupId>
- <artifactId>junit-vintage-engine</artifactId>
- <version>${version.org.junit}</version>
- </dependency>
- <dependency>
- <groupId>org.junit.platform</groupId>
- <artifactId>junit-platform-commons</artifactId>
- <version>${version.org.junit}</version>
- </dependency>
- <dependency>
- <groupId>org.junit.platform</groupId>
- <artifactId>junit-platform-engine</artifactId>
- <version>${version.org.junit}</version>
- </dependency>
- <dependency>
- <groupId>org.junit.platform</groupId>
- <artifactId>junit-platform-launcher</artifactId>
- <version>${version.org.junit}</version>
- </dependency>
-
- <dependency>
- <groupId>net.java.dev.glazedlists</groupId>
- <artifactId>glazedlists_java15</artifactId>
- <version>${version.net.java.dev.glazedlists}</version>
- </dependency>
-
- <!--Both antlr:antlr and org.antlr:antlr-runtime is needed. They are completely different.-->
- <dependency>
- <groupId>antlr</groupId>
- <artifactId>antlr</artifactId>
- <version>${version.antlr}</version>
- </dependency>
-
- <dependency>
- <groupId>org.antlr</groupId>
- <artifactId>antlr-runtime</artifactId>
- <version>${version.org.antlr}</version>
- <exclusions>
- <exclusion>
- <groupId>org.antlr</groupId>
- <artifactId>stringtemplate</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.antlr</groupId>
- <artifactId>antlr</artifactId>
- <version>${version.org.antlr}</version>
- </dependency>
- <dependency>
- <groupId>org.antlr</groupId>
- <artifactId>gunit</artifactId>
- <version>${version.org.antlr}</version>
- <exclusions>
- <exclusion>
- <groupId>org.antlr</groupId>
- <artifactId>stringtemplate</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.antlr</groupId>
- <artifactId>ST4</artifactId>
- <version>${version.org.antlr.ST4}</version>
- </dependency>
-
- <dependency>
- <groupId>org.dominokit</groupId>
- <artifactId>domino-slf4j-logger</artifactId>
- <version>${version.domino-slf4j-logger}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.ant</groupId>
- <artifactId>ant</artifactId>
- <version>${version.org.apache.ant}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-compress</artifactId>
- <version>${version.common.compress}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-exec</artifactId>
- <version>${version.common.exec}</version>
- </dependency>
-
- <!-- Keep in sync with groupId commons-* -->
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-lang3</artifactId>
- <version>${version.org.apache.commons.lang3}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-math3</artifactId>
- <version>${version.org.apache.commons.math3}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-artifact</artifactId>
- <version>${version.org.apache.maven}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-plugin-api</artifactId>
- <version>${version.org.apache.maven}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-core</artifactId>
- <version>${version.org.apache.maven}</version>
- <exclusions>
- <exclusion>
- <groupId>javax.enterprise</groupId>
- <artifactId>cdi-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.inject</groupId>
- <artifactId>javax.inject</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.annotation</groupId>
- <artifactId>javax.annotation-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-model</artifactId>
- <version>${version.org.apache.maven}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-compat</artifactId>
- <version>${version.org.apache.maven}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.maven.resolver</groupId>
- <artifactId>maven-resolver-api</artifactId>
- <version>${version.org.apache.maven.resolver}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.maven.resolver</groupId>
- <artifactId>maven-resolver-impl</artifactId>
- <version>${version.org.apache.maven.resolver}</version>
- <exclusions>
- <exclusion>
- <groupId>javax.annotation</groupId>
- <artifactId>javax.annotation-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.maven.resolver</groupId>
- <artifactId>maven-resolver-spi</artifactId>
- <version>${version.org.apache.maven.resolver}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.maven.resolver</groupId>
- <artifactId>maven-resolver-connector-basic</artifactId>
- <version>${version.org.apache.maven.resolver}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.maven.resolver</groupId>
- <artifactId>maven-resolver-transport-wagon</artifactId>
- <version>${version.org.apache.maven.resolver}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.maven.resolver</groupId>
- <artifactId>maven-resolver-transport-file</artifactId>
- <version>${version.org.apache.maven.resolver}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.maven.resolver</groupId>
- <artifactId>maven-resolver-transport-http</artifactId>
- <version>${version.org.apache.maven.resolver}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.maven.plugin-tools</groupId>
- <artifactId>maven-plugin-annotations</artifactId>
- <version>${version.plugin.annotations}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.maven.shared</groupId>
- <artifactId>maven-artifact-transfer</artifactId>
- <version>${version.artifact.transfer}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.maven.shared</groupId>
- <artifactId>maven-shared-utils</artifactId>
- <version>${version.shared.utils}</version>
- </dependency>
-
- <dependency><!-- Overwrites transitive dependencies of maven-plugin-api:3.0.3 with a lower version -->
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-provider-api</artifactId>
- <version>${version.org.apache.maven.wagon}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-http</artifactId>
- <version>${version.org.apache.maven.wagon}</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi</artifactId>
- <version>${version.org.apache.poi}</version>
- </dependency>
<dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi-ooxml</artifactId>
- <version>${version.org.apache.poi}</version>
- </dependency>
-
- <dependency>
- <groupId>org.asciidoctor</groupId>
- <artifactId>asciidoctorj</artifactId>
- <version>${version.org.asciidoctor.asciidoctorj}</version>
- <exclusions>
- <exclusion>
- <groupId>javax.annotation</groupId>
- <artifactId>javax.annotation-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>org.assertj</groupId>
- <artifactId>assertj-core</artifactId>
- <version>${version.org.assertj}</version>
- </dependency>
-
- <dependency>
- <groupId>org.eclipse.jdt</groupId>
- <artifactId>ecj</artifactId>
- <version>${version.org.eclipse.jdt}</version>
- </dependency>
-
- <dependency>
- <groupId>org.freemarker</groupId>
- <artifactId>freemarker</artifactId>
- <version>${version.org.freemarker}</version>
- </dependency>
-
- <!--Hamcrest should be versioned with JUnit, as they are related-->
- <dependency>
- <groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-library</artifactId>
- <version>${version.org.hamcrest}</version>
- </dependency>
- <dependency>
- <groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-core</artifactId>
- <version>${version.org.hamcrest}</version>
- </dependency>
-
- <dependency>
- <groupId>org.javassist</groupId>
- <artifactId>javassist</artifactId>
- <version>${version.org.javassist}</version>
- </dependency>
-
- <!-- infinispan -->
- <dependency>
- <groupId>org.infinispan</groupId>
- <artifactId>infinispan-core</artifactId>
- <version>${version.org.infinispan}</version>
- </dependency>
- <dependency>
- <groupId>org.infinispan</groupId>
- <artifactId>infinispan-client-hotrod</artifactId>
- <version>${version.org.infinispan}</version>
- </dependency>
- <dependency>
- <groupId>org.infinispan</groupId>
- <artifactId>infinispan-server-testdriver-core</artifactId>
- <version>${version.org.infinispan}</version>
- </dependency>
- <dependency>
- <groupId>org.infinispan.protostream</groupId>
- <artifactId>protostream</artifactId>
- <version>${version.org.infinispan.protostream}</version>
- </dependency>
- <dependency>
- <groupId>org.infinispan.protostream</groupId>
- <artifactId>protostream-processor</artifactId>
- <version>${version.org.infinispan.protostream}</version>
- </dependency>
- <!-- Do not add mockito-all as it is uberjar! -->
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-core</artifactId>
- <version>${version.org.mockito}</version>
- </dependency>
-
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-inline</artifactId>
- <version>${version.org.mockito}</version>
- </dependency>
-
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-junit-jupiter</artifactId>
- <version>${version.org.mockito}</version>
- </dependency>
-
- <dependency>
- <groupId>org.mvel</groupId>
- <artifactId>mvel2</artifactId>
- <version>${version.org.mvel}</version>
- </dependency>
-
- <dependency>
- <groupId>org.powermock</groupId>
- <artifactId>powermock-api-mockito2</artifactId>
- <version>${version.org.powermock}</version>
- <exclusions>
- <!-- mockito-all is ugly uberjar. Users of powermock need to depend on on mockito-core explicitly.
- Once we upgrade powermock to version that contains https://github.com/jayway/powermock/pull/596, this
- exclude can be removed, as wel as explit dependencies on mockito-core. -->
- <exclusion>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-all</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.powermock</groupId>
- <artifactId>powermock-module-junit4</artifactId>
- <version>${version.org.powermock}</version>
- </dependency>
-
- <!-- Keep in sync with groupId ch.qos.logback -->
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>${version.org.slf4j}</version>
- </dependency>
- <dependency><!-- Not depended on directly. Overwrite the lower version used by weld-core -->
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-ext</artifactId>
- <version>${version.org.slf4j}</version>
- </dependency>
- <dependency><!-- TODO don't use this -->
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-simple</artifactId>
- <version>${version.org.slf4j}</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>jcl-over-slf4j</artifactId>
- <version>${version.org.slf4j}</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>log4j-over-slf4j</artifactId>
- <version>${version.org.slf4j}</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-jdk14</artifactId>
- <version>${version.org.slf4j}</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <version>${version.org.slf4j}</version>
- <exclusions>
- <exclusion>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>xerces</groupId>
- <artifactId>xercesImpl</artifactId>
- <version>${version.xerces}</version>
- </dependency>
-
- <!--JMH (Benchmarks)-->
- <dependency>
- <groupId>org.openjdk.jmh</groupId>
- <artifactId>jmh-core</artifactId>
- <version>${version.org.openjdk.jmh}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.openjdk.jmh</groupId>
- <artifactId>jmh-generator-annprocess</artifactId>
- <version>${version.org.openjdk.jmh}</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.antlr</groupId>
- <artifactId>antlr4-runtime</artifactId>
- <version>${version.org.antlr4}</version>
- </dependency>
-
- <dependency>
- <groupId>org.jacoco</groupId>
- <artifactId>org.jacoco.agent</artifactId>
- <version>${version.jacoco.plugin}</version>
- <classifier>runtime</classifier>
- </dependency>
-
- <!-- OAS v3 -->
- <dependency>
- <groupId>io.swagger.core.v3</groupId>
- <artifactId>swagger-annotations</artifactId>
- <version>${version.io.swagger.core.v3}</version>
- </dependency>
- <dependency>
- <groupId>io.swagger.parser.v3</groupId>
- <artifactId>swagger-parser</artifactId>
- <version>${version.io.swagger.parser.v3}</version>
- <scope>test</scope>
- <exclusions><!-- banned for kie-server tests: -->
- <exclusion>
- <groupId>javax.mail</groupId>
- <artifactId>mailapi</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.xml.bind</groupId>
- <artifactId>jaxb-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.narayana.jta</groupId>
- <artifactId>narayana-jta</artifactId>
- <version>${version.org.jboss.narayana.tomcat}</version>
- <exclusions>
- <exclusion>
- <groupId>org.jboss.spec.javax.resource</groupId>
- <artifactId>jboss-connector-api_1.7_spec</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.jboss</groupId>
- <artifactId>jboss-transaction-spi</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jboss-transaction-spi</artifactId>
- <version>${version.org.jboss.transaction.spi}</version>
- <exclusions>
- <exclusion>
- <groupId>jakarta.transaction</groupId>
- <artifactId>jakarta.transaction-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>jakarta.resource</groupId>
- <artifactId>jakarta.resource-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>org.xmlunit</groupId>
- <artifactId>xmlunit-core</artifactId>
- <version>${version.org.xmlunit}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.xmlunit</groupId>
- <artifactId>xmlunit-matchers</artifactId>
- <version>${version.org.xmlunit}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.xmlunit</groupId>
- <artifactId>xmlunit-assertj</artifactId>
- <version>${version.org.xmlunit}</version>
- <scope>test</scope>
- </dependency>
-
- <!-- Data source management libraries -->
- <dependency>
- <groupId>net.bytebuddy</groupId>
- <artifactId>byte-buddy</artifactId>
- <version>${version.net.byte-buddy}</version>
- </dependency>
-
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>jul-to-slf4j</artifactId>
- <version>${version.org.slf4j}</version>
- </dependency>
-
- <dependency>
- <groupId>org.w3c</groupId>
- <artifactId>dom</artifactId>
- <version>${version.org.w3c.dom}</version>
+ <groupId>org.kie</groupId>
+ <artifactId>kie-maven-plugin</artifactId>
+ <version>${project.version}</version>
</dependency>
-
- <!-- kie server controller over websockets -->
<dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- <version>${version.ch.qos.logback}</version>
+ <groupId>org.kie</groupId>
+ <artifactId>kie-maven-plugin</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
</dependency>
+ <!-- TODO - check if those could be moved to engine-specific boms -->
<dependency>
- <groupId>jakarta.enterprise</groupId>
- <artifactId>jakarta.enterprise.cdi-api</artifactId>
- <version>${version.jakarta.enterprise.cdi-api}</version>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-verifier-test-jar</artifactId>
+ <version>1.0.0</version>
</dependency>
-
<dependency>
- <groupId>org.postgresql</groupId>
- <artifactId>postgresql</artifactId>
- <version>${version.org.postgresql}</version>
- <scope>runtime</scope>
+ <groupId>org.drools</groupId>
+ <artifactId>kiebase-inclusion</artifactId>
+ <version>${project.version}</version>
</dependency>
-
- <!-- used by DMN for BigDecimal arithmetics -->
<dependency>
- <groupId>ch.obermuhlner</groupId>
- <artifactId>big-math</artifactId>
- <version>${version.ch.obermuhlner}</version>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-scenario-simulation-backend</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
</dependency>
-
- <!-- used by DMN for general (runtime-agnostic) inspection of PMML model -->
<dependency>
- <groupId>org.jpmml</groupId>
- <artifactId>pmml-model</artifactId>
- <version>${version.org.jpmml.model}</version>
+ <groupId>org.drools.testcoverage</groupId>
+ <artifactId>drools-kie-ci-with-domain-test-domain</artifactId>
+ <version>${project.version}</version>
</dependency>
-
- <!-- used by DMN test to ensure NI reflect-conf.json is correctly up-to-date -->
<dependency>
- <groupId>io.smallrye</groupId>
- <artifactId>jandex</artifactId>
- <version>${version.io.smallrye.jandex}</version>
+ <groupId>org.drools.testcoverage</groupId>
+ <artifactId>drools-kie-ci-without-domain-test-domain</artifactId>
+ <version>${project.version}</version>
</dependency>
<dependency>
- <groupId>org.eclipse</groupId>
- <artifactId>yasson</artifactId>
- <version>${version.org.eclipse.yasson}</version>
+ <groupId>org.drools.testcoverage</groupId>
+ <artifactId>test-integration-ruleunits-jar</artifactId>
+ <version>${project.version}</version>
</dependency>
-
<dependency>
- <groupId>com.github.javaparser</groupId>
- <artifactId>javaparser-core</artifactId>
- <version>${version.com.github.javaparser}</version>
+ <groupId>org.drools.testcoverage</groupId>
+ <artifactId>drools-test-coverage-jars</artifactId>
+ <type>pom</type>
+ <version>${project.version}</version>
</dependency>
-
<dependency>
- <groupId>org.awaitility</groupId>
- <artifactId>awaitility</artifactId>
- <version>${version.org.awaitility}</version>
+ <groupId>org.kie</groupId>
+ <artifactId>kie-dmn-feel</artifactId>
+ <version>${project.version}</version>
+ <classifier>tests</classifier>
<scope>test</scope>
</dependency>
-
- <!-- Used inside kie-ci -->
<dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- <version>${version.com.google.guava}</version>
+ <groupId>org.kie</groupId>
+ <artifactId>kie-dmn-test-resources</artifactId>
+ <version>${project.version}</version>
+ <classifier>tests</classifier>
+ <scope>test</scope>
</dependency>
-
<dependency>
- <groupId>org.yaml</groupId>
- <artifactId>snakeyaml</artifactId>
- <version>${version.org.yaml.snakeyaml}</version>
+ <groupId>org.kie</groupId>
+ <artifactId>kie-dmn-core</artifactId>
+ <classifier>tests</classifier>
+ <version>${project.version}</version>
</dependency>
-
- <!-- Used by kie-pmml-trusty projects -->
<dependency>
<groupId>org.kie</groupId>
- <artifactId>kie-pmml-dependencies</artifactId>
+ <artifactId>kie-dmn-core-jsr223-jq</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency> <!-- this is not a user dependency, hence is was added to the boms. -->
+ <groupId>org.kie</groupId>
+ <artifactId>kie-dmn-validation-bootstrap</artifactId>
+ <optional>true</optional>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency> <!-- this is not a user dependency, hence was not added to the boms. -->
+ <groupId>org.kie</groupId>
+ <artifactId>kie-dmn-ruleset2dmn</artifactId>
<version>${project.version}</version>
</dependency>
-
- <!-- Used by drools-metric -->
<dependency>
- <groupId>io.micrometer</groupId>
- <artifactId>micrometer-core</artifactId>
- <version>${version.io.micrometer}</version>
+ <groupId>org.kie</groupId>
+ <artifactId>kie-dmn-validation</artifactId>
+ <classifier>tests</classifier>
+ <scope>test</scope>
+ <version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.kie</groupId>
- <artifactId>kie-core-bom</artifactId>
+ <artifactId>kie-drl-api</artifactId>
<version>${project.version}</version>
- <type>pom</type>
- <scope>import</scope>
</dependency>
<dependency>
- <groupId>org.drools</groupId>
- <artifactId>drools-bom</artifactId>
+ <groupId>org.kie</groupId>
+ <artifactId>kie-drl-compilation-common</artifactId>
<version>${project.version}</version>
- <type>pom</type>
- <scope>import</scope>
</dependency>
<dependency>
<groupId>org.kie</groupId>
- <artifactId>kie-efesto-bom</artifactId>
+ <artifactId>kie-drl-runtime-common</artifactId>
<version>${project.version}</version>
- <type>pom</type>
- <scope>import</scope>
</dependency>
<dependency>
<groupId>org.kie</groupId>
- <artifactId>kie-dmn-bom</artifactId>
+ <artifactId>kie-drl-map-input-runtime</artifactId>
<version>${project.version}</version>
- <type>pom</type>
- <scope>import</scope>
</dependency>
<dependency>
<groupId>org.kie</groupId>
- <artifactId>kie-pmml-bom</artifactId>
+ <artifactId>kie-drl-tests</artifactId>
<version>${project.version}</version>
- <type>pom</type>
- <scope>import</scope>
</dependency>
<dependency>
- <groupId>it.unimi.dsi</groupId>
- <artifactId>fastutil</artifactId>
- <version>${version.it.unimi.dsi.fastutil}</version>
+ <groupId>org.kie</groupId>
+ <artifactId>kie-dmn-pmml-tests</artifactId>
+ <classifier>tests</classifier>
+ <scope>test</scope>
+ <version>${project.version}</version>
</dependency>
+ <!-- Used by kie-pmml-trusty projects -->
<dependency>
- <groupId>org.eclipse.microprofile.config</groupId>
- <artifactId>microprofile-config-api</artifactId>
- <version>${version.org.eclipse.microprofile.config}</version>
+ <groupId>org.kie</groupId>
+ <artifactId>kie-pmml-dependencies</artifactId>
+ <version>${project.version}</version>
</dependency>
+ <!-- EFESTO -->
<dependency>
- <groupId>org.apache.openjpa</groupId>
- <artifactId>openjpa</artifactId>
- <version>${version.org.apache.openjpa}</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.logging</groupId>
- <artifactId>jboss-logging</artifactId>
- <version>${version.org.jboss.logging}</version>
+ <groupId>org.kie</groupId>
+ <artifactId>kie-dmn-efesto-api</artifactId>
+ <version>${project.version}</version>
</dependency>
-
<dependency>
- <groupId>com.tngtech.archunit</groupId>
- <artifactId>archunit-junit5</artifactId>
- <version>${version.archunit.junit5}</version>
- <scope>test</scope>
+ <groupId>org.kie</groupId>
+ <artifactId>kie-dmn-efesto-compilation</artifactId>
+ <version>${project.version}</version>
+ <scope>compile</scope>
</dependency>
-
<dependency>
- <groupId>org.apache.kafka</groupId>
- <artifactId>kafka-clients</artifactId>
- <version>${version.org.apache.kafka}</version>
+ <groupId>org.kie</groupId>
+ <artifactId>kie-dmn-efesto-runtime</artifactId>
+ <version>${project.version}</version>
+ <scope>compile</scope>
</dependency>
</dependencies>
-
</dependencyManagement>
-
<build>
<pluginManagement>
<plugins>
<plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>${version.compiler.plugin}</version>
- <configuration>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <version>3.3.0</version>
- <dependencies>
- <dependency>
- <groupId>de.is24.maven.enforcer.rules</groupId>
- <artifactId>illegal-transitive-dependency-check</artifactId>
- <version>1.7.4</version>
- </dependency>
- <dependency>
- <groupId>com.redhat.victims</groupId>
- <artifactId>enforce-victims-rule</artifactId>
- <version>1.3.4</version>
- </dependency>
- <dependency>
- <groupId>org.commonjava.maven.enforcer</groupId>
- <artifactId>enforce-managed-deps-rule</artifactId>
- <version>1.3</version>
- </dependency>
- <dependency>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>extra-enforcer-rules</artifactId>
- <version>1.0</version>
- </dependency>
- </dependencies>
- <executions>
- <execution>
- <id>no-managed-deps</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <phase>initialize</phase>
- <configuration>
- <rules>
- <requireManagedDeps
- implementation="org.commonjava.maven.enforcer.rule.EnforceManagedDepsRule">
- <checkProfiles>true</checkProfiles>
- <failOnViolation>true</failOnViolation>
- </requireManagedDeps>
- </rules>
- </configuration>
- </execution>
- <execution>
- <id>enforce-versions</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireMavenVersion>
- <version>${version.maven}</version>
- </requireMavenVersion>
- <requireJavaVersion>
- <version>${version.jdk}</version>
- </requireJavaVersion>
- </rules>
- </configuration>
- </execution>
- <execution>
- <id>enforce-direct-dependencies</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <phase>none</phase>
- <configuration>
- <rules>
- <illegalTransitiveDependencyCheck
- implementation="de.is24.maven.enforcer.rules.IllegalTransitiveDependencyCheck">
- <reportOnly>${illegaltransitivereportonly}</reportOnly>
- <regexIgnoredClasses combine.children="append">
- <!-- The maven-shade-plugin needs these classes to be compile-scope in guvnor-ala-openshift-client to be picked up, and
- then referenced in guvnor-ala-openshift-provider. When we don't need to shade anymore, we can remove these lines. -->
- <regexIgnoredClass>io\.fabric8\.kubernetes.*</regexIgnoredClass>
- <regexIgnoredClass>io\.fabric8\.openshift.*</regexIgnoredClass>
- <regexIgnoredClass>com\.sun\.net\.httpserver\..+</regexIgnoredClass>
- <regexIgnoredClass>javax\..+</regexIgnoredClass>
- <regexIgnoredClass>org\.w3c\.dom\..+</regexIgnoredClass>
- <regexIgnoredClass>org\.xml\.sax\..+</regexIgnoredClass>
- </regexIgnoredClasses>
- </illegalTransitiveDependencyCheck>
- </rules>
- </configuration>
- </execution>
- <execution>
- <id>ban-duplicated-classes</id>
- <!-- Using phase=none as we don't want this execution as part of the default build. The phase
- is specified in the "full" profile and thus the execution will only be activated when using that profile. -->
- <phase>none</phase>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <banDuplicateClasses>
- <ignoreClasses>
- <!-- Duplication of javax.inject classes is necessary to also support migration to jakarta namespace. -->
- <ignoreClass>javax.inject.*</ignoreClass>
- <!-- Contained in both com.google.inject:guice:jar and com.google.inject:guice:jar:no_aop -->
- <!-- and it is impossible to exclude only one of them -->
- <ignoreClass>com.google.inject.*</ignoreClass>
- <!-- Duplicated by XStream's transitive deps, with very little chance to get properly fixed -->
- <ignoreClass>org.xmlpull.v1.XmlPullParserException</ignoreClass>
- <ignoreClass>org.xmlpull.v1.XmlPullParser</ignoreClass>
- <!-- Bundled by both com.sun:tools and com.sun.xml.bind:jaxb-xjc. No easy way to exclude one of them. -->
- <ignoreClass>org.relaxng.datatype.*</ignoreClass>
- <!-- ignoring java 9 compatible class for modules -->
- <ignoreClass>module-info</ignoreClass>
- <!-- ignoring multirelease jar classes -->
- <ignoreClass>META-INF/versions/*</ignoreClass>
- </ignoreClasses>
- <dependencies>
- <!-- This JAR contains impl and is aligned with Jakarta spec JARs -->
- <dependency>
- <groupId>org.glassfish</groupId>
- <artifactId>jakarta.json</artifactId>
- <ignoreClasses>
- <ignoreClass>javax.json.*</ignoreClass>
- </ignoreClasses>
- </dependency>
- <!-- This JAR contains reference impl and is only used on tests -->
- <dependency>
- <groupId>com.sun.activation</groupId>
- <artifactId>jakarta.activation</artifactId>
- <ignoreClasses>
- <ignoreClass>javax.activation.*</ignoreClass>
- </ignoreClasses>
- </dependency>
- <dependency>
- <!-- quarkus-ide-launcher is a dependency of quarkus-core that they auto exclude during the build -->
- <groupId>io.quarkus</groupId>
- <artifactId>quarkus-ide-launcher</artifactId>
- <ignoreClasses>
- <ignoreClass>*</ignoreClass>
- </ignoreClasses>
- </dependency>
- <!-- sundr-codegen is required to compile test classes. -->
- <dependency>
- <groupId>io.sundr</groupId>
- <artifactId>sundr-codegen</artifactId>
- <ignoreClasses>
- <ignoreClass>*</ignoreClass>
- </ignoreClasses>
- </dependency>
- </dependencies>
- <findAllDuplicates>true</findAllDuplicates>
- </banDuplicateClasses>
- </rules>
- <fail>${enforcer.failOnDuplicatedClasses}</fail>
- </configuration>
- </execution>
- <execution>
- <id>no-duplicate-declared-dependencies</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <banDuplicatePomDependencyVersions/>
- </rules>
- </configuration>
- </execution>
- <execution>
- <id>ban-blacklisted-dependencies</id>
- <phase>validate</phase>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <bannedDependencies>
- <excludes combine.children="append">
- <!-- Ban blacklisted logging deps (we only use SLF4J + Logback) -->
- <!-- In case of transitive dependency, exclude it and use 'org.slf4j:jcl-over-slf4j' instead -->
- <exclude>commons-logging:commons-log*</exclude>
-
- <exclude>log4j:log4j</exclude> <!-- In case of transitive dependency, exclude it and use 'org.slf4j:log4j-over-slf4j' instead -->
- <exclude>javassist:javassist</exclude> <!-- In case of transitive dependency, exclude it and use 'org.javassist:javassist' instead -->
- <exclude>org.jboss.weld.se:weld-se</exclude> <!-- Use weld-se-core instead -->
- <exclude>org.mockito:mockito-all</exclude> <!-- Use mockito-core instead -->
-
- <!-- cannot be banned because Quarkus 3 needs them -->
- <!-- <exclude>javax.annotation:javax.annotation-api</exclude> -->
- <!-- <exclude>javax.inject:javax.inject</exclude> -->
-
- <!-- Java EE 8 Spec JARs: Use Jakarta EE 8 instead. -->
- <exclude>javax.activation:activation</exclude>
- <exclude>javax.enterprise:cdi-api</exclude>
- <exclude>javax.interceptor:javax.interceptor-api</exclude>
- <exclude>javax.jws:jsr181-api</exclude>
- <exclude>javax.persistence:javax.persistence-api</exclude>
- <exclude>javax.servlet:javax.servlet-api</exclude>
- <exclude>javax.xml.bind:jaxb-api</exclude>
- <exclude>javax.xml.soap:javax.xml.soap-api</exclude>
- <exclude>javax.xml.ws:javaxws-api</exclude>
- <exclude>javax.el:javax.el-api</exclude>
- <exclude>javax.ws.rs:jsr311-api</exclude>
- <exclude>javax.ws.rs:javax.ws.rs-api</exclude>
- <exclude>javax.mail:mail</exclude>
- <exclude>javax.xml.stream:stax-api</exclude>
- <exclude>org.jboss.spec.javax.*:*</exclude>
- <exclude>org.apache.geronimo.specs:geronimo-activation_1.1_spec</exclude>
- <exclude>org.apache.geronimo.specs:geronimo-annotation_1.0_spec</exclude>
- <exclude>org.apache.geronimo.specs:geronimo-javamail_1.4_spec</exclude>
- <exclude>org.apache.geronimo.specs:geronimo-jaxws_2.1_spec</exclude>
- <exclude>org.apache.geronimo.specs:geronimo-jta_1.1_spec</exclude>
- <exclude>org.apache.geronimo.specs:geronimo-servlet_3.0_spec</exclude>
- <exclude>org.apache.geronimo.specs:geronimo-ws-metadata_2.0_spec</exclude>
- <!-- End -->
- </excludes>
- </bannedDependencies>
- </rules>
- <fail>${enforcer.failOnBannedDependencies}</fail>
- </configuration>
- </execution>
- </executions>
+ <groupId>org.kie</groupId>
+ <artifactId>kie-maven-plugin</artifactId>
+ <version>${project.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -1600,8 +242,7 @@
<property name="allowStaticMemberImports" value="false"/>
</module>
<module name="CustomImportOrder">
- <property name="customImportOrderRules"
- value="STANDARD_JAVA_PACKAGE###SPECIAL_IMPORTS###THIRD_PARTY_PACKAGE###STATIC"/>
+ <property name="customImportOrderRules" value="STANDARD_JAVA_PACKAGE###SPECIAL_IMPORTS###THIRD_PARTY_PACKAGE###STATIC"/>
<property name="specialImportsRegExp" value="^javax\."/>
<property name="standardPackageRegExp" value="^java\."/>
<property name="sortImportsInGroupAlphabetically" value="true"/>
@@ -1631,900 +272,9 @@
</execution>
</executions>
</plugin>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <dependencies>
- <dependency>
- <groupId>org.apache.ant</groupId>
- <artifactId>ant-apache-regexp</artifactId>
- <version>1.8.2</version>
- </dependency>
- </dependencies>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <configuration>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <forkCount>${surefire.forkCount}</forkCount>
- <reuseForks>true</reuseForks>
- <runOrder>hourly</runOrder>
- <includes>
- <include>**/*Test.java</include>
- </includes>
- <excludes>
- <exclude>**/*IntegrationTest.java</exclude>
- </excludes>
- <argLine>-Xmx1024m -Dfile.encoding=UTF-8</argLine>
- <systemPropertyVariables>
- <apple.awt.UIElement>true</apple.awt.UIElement>
- <org.uberfire.nio.git.daemon.enabled>false</org.uberfire.nio.git.daemon.enabled>
- <org.uberfire.nio.git.ssh.enabled>false</org.uberfire.nio.git.ssh.enabled>
- <org.uberfire.sys.repo.monitor.disabled>true</org.uberfire.sys.repo.monitor.disabled>
- </systemPropertyVariables>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>integration-test</goal>
- <goal>verify</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <includes>
- <include>**/*IntegrationTest.java</include>
- <include>**/*IT.java</include>
- </includes>
- <argLine>-Xmx1024m -Dfile.encoding=UTF-8</argLine>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <version>${version.jacoco.plugin}</version>
- </plugin>
- <!-- Packaging -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <executions>
- <execution>
- <id>default-jar</id>
- <configuration>
- <archive>
- <manifestEntries combine.children="append">
- <Automatic-Module-Name>${java.module.name}</Automatic-Module-Name>
- </manifestEntries>
- </archive>
- </configuration>
- </execution>
- <!-- No OSGi manifestEntries for <goal>jar</goal>: if it supported, then felix has already added them -->
- <execution>
- <id>test-jar</id>
- <goals>
- <goal>test-jar</goal>
- </goals>
- <configuration>
- <skipIfEmpty>true</skipIfEmpty>
- <excludes>
- <exclude>**/logback-test.xml</exclude>
- <exclude>**/jndi.properties</exclude>
- </excludes>
- <archive>
- <manifestEntries>
- <Bundle-SymbolicName>${java.module.name}.tests</Bundle-SymbolicName>
- <Bundle-Version>
- ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.${osgi.snapshot.qualifier}
- </Bundle-Version>
- <Bundle-Name>${project.name}</Bundle-Name>
- <Bundle-Vendor>${project.organization.name}</Bundle-Vendor>
- </manifestEntries>
- </archive>
- </configuration>
- </execution>
- </executions>
- <configuration>
- <archive>
- <manifest>
- <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
- <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
- </manifest>
- </archive>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-plugin-plugin</artifactId>
- <version>${version.plugin.plugin}</version>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <version>${version.maven-source-plugin}</version>
- <executions>
- <execution>
- <id>attach-sources</id>
- <goals>
- <goal>jar-no-fork</goal>
- </goals>
- <configuration>
- <archive>
- <manifestEntries>
- <Bundle-ManifestVersion>2</Bundle-ManifestVersion>
- <Bundle-SymbolicName>${java.module.name}.source</Bundle-SymbolicName>
- <Bundle-Version>
- ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.${osgi.snapshot.qualifier}
- </Bundle-Version>
- <Bundle-Name>${project.name}</Bundle-Name>
- <Bundle-Vendor>${project.organization.name}</Bundle-Vendor>
- <Eclipse-SourceBundle>
- ${java.module.name};version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.${osgi.snapshot.qualifier}";roots:="."
- </Eclipse-SourceBundle>
- </manifestEntries>
- </archive>
- </configuration>
- </execution>
- <execution>
- <id>attach-test-sources</id>
- <goals>
- <goal>test-jar-no-fork</goal>
- </goals>
- <configuration>
- <archive>
- <manifestEntries>
- <Bundle-ManifestVersion>2</Bundle-ManifestVersion>
- <Bundle-SymbolicName>${java.module.name}.tests.source</Bundle-SymbolicName>
- <Bundle-Version>
- ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.${osgi.snapshot.qualifier}
- </Bundle-Version>
- <Bundle-Name>${project.name}</Bundle-Name>
- <Bundle-Vendor>${project.organization.name}</Bundle-Vendor>
- <Eclipse-SourceBundle>
- ${java.module.name}.tests;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.${osgi.snapshot.qualifier}";roots:="."
- </Eclipse-SourceBundle>
- </manifestEntries>
- </archive>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.commonjava.maven.plugins</groupId>
- <artifactId>project-sources-maven-plugin</artifactId>
- <version>0.3</version>
- <executions>
- <execution>
- <id>project-sources-archive</id>
- <phase>initialize</phase>
- <goals>
- <goal>archive</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <dependencies>
- <!-- Workaround for JDK9. Should be removed once we upgrade the plugin to version which depends directly on plexus-archiver 3.0.3+ -->
- <dependency>
- <groupId>org.codehaus.plexus</groupId>
- <artifactId>plexus-archiver</artifactId>
- <version>${version.plexus.archiver}</version>
- </dependency>
- </dependencies>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-ear-plugin</artifactId>
- <dependencies>
- <!-- Workaround for JDK9. Should be removed once we upgrade the plugin to version which depends directly on plexus-archiver 3.0.3+ -->
- <dependency>
- <groupId>org.codehaus.plexus</groupId>
- <artifactId>plexus-archiver</artifactId>
- <version>${version.plexus.archiver}</version>
- </dependency>
- </dependencies>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>jaxb2-maven-plugin</artifactId>
- <version>2.2</version>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>xml-maven-plugin</artifactId>
- <version>1.0</version>
- </plugin>
- <plugin>
- <groupId>io.smallrye</groupId>
- <artifactId>jandex-maven-plugin</artifactId>
- <version>${version.io.smallrye.jandex}</version>
- </plugin>
- <plugin>
- <groupId>org.asciidoctor</groupId>
- <artifactId>asciidoctor-maven-plugin</artifactId>
- <version>2.0.0-RC.1</version>
- <dependencies>
- <dependency>
- <groupId>org.asciidoctor</groupId>
- <artifactId>asciidoctorj</artifactId>
- <version>${version.org.asciidoctor.asciidoctorj}</version>
- </dependency>
- <dependency>
- <groupId>org.asciidoctor</groupId>
- <artifactId>asciidoctorj-pdf</artifactId>
- <version>${version.org.asciidoctor.asciidoctorj-pdf}</version>
- </dependency>
- </dependencies>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>native2ascii-maven-plugin</artifactId>
- <version>1.0-beta-1</version>
- </plugin>
- <plugin>
- <groupId>com.coderplus.maven.plugins</groupId>
- <artifactId>copy-rename-maven-plugin</artifactId>
- <version>1.0</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-invoker-plugin</artifactId>
- <version>3.2.1</version>
- <configuration>
- <writeJunitReport>true</writeJunitReport>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <version>${version.maven-deploy-plugin}</version>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>versions-maven-plugin</artifactId>
- <version>2.10.0</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-release-plugin</artifactId>
- <configuration>
- <!-- Manually push changes (including git tags) after nexus staged repo is successfully closed -->
- <pushChanges>false</pushChanges>
- <autoVersionSubmodules>true</autoVersionSubmodules>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- </plugin>
-
- <!-- This plugin's configuration is used to store Eclipse m2e settings only.
- It has no influence on the Maven build itself. -->
- <plugin>
- <groupId>org.eclipse.m2e</groupId>
- <artifactId>lifecycle-mapping</artifactId>
- <version>1.0.0</version>
- <configuration>
- <lifecycleMappingMetadata>
- <pluginExecutions>
- <!-- Configure m2e to ignore the maven-checkstyle-plugin. -->
- <pluginExecution>
- <pluginExecutionFilter>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <versionRange>[1.0.0,)</versionRange>
- <goals>
- <goal>check</goal>
- </goals>
- </pluginExecutionFilter>
- <action>
- <ignore/>
- </action>
- </pluginExecution>
- </pluginExecutions>
- </lifecycleMappingMetadata>
- </configuration>
- </plugin>
- <plugin>
- <groupId>com.github.spotbugs</groupId>
- <artifactId>spotbugs-maven-plugin</artifactId>
- <version>${version.com.github.spotbugs-maven-plugin}</version>
- <configuration>
- <maxRank>6</maxRank>
- <effort>Max</effort>
- <xmlOutput>true</xmlOutput>
- <failOnError>${spotbugs.failOnViolation}</failOnError>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.kie</groupId>
- <artifactId>kie-maven-plugin</artifactId>
- <version>${project.version}</version>
- </plugin>
- <plugin>
- <groupId>org.pitest</groupId>
- <artifactId>pitest-maven</artifactId>
- <version>1.2.0</version>
- </plugin>
- <!-- Incremental compiler-->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>1.5.0</version>
- </plugin>
- <plugin>
- <groupId>org.wildfly.plugins</groupId>
- <artifactId>wildfly-maven-plugin</artifactId>
- <version>1.2.0.Final</version>
- </plugin>
- <plugin>
- <groupId>org.sonarsource.scanner.maven</groupId>
- <artifactId>sonar-maven-plugin</artifactId>
- <version>3.6.0.1398</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>${version.maven-javadoc-plugin.override}</version>
- <configuration>
- <header><![CDATA[<b>${project.name} ${project.version}</b>]]></header>
- <footer><![CDATA[<b>${project.name} ${project.version}</b>]]></footer>
- <archive>
- <index>true</index>
- </archive>
- <quiet>true</quiet>
- <doclint>none</doclint>
- <legacyMode>true</legacyMode>
- </configuration>
- </plugin>
- <plugin>
- <groupId>com.github.eirslett</groupId>
- <artifactId>frontend-maven-plugin</artifactId>
- <version>${version.com.github.eirslett}</version>
- </plugin>
- <plugin>
- <groupId>com.societegenerale.commons</groupId>
- <artifactId>arch-unit-maven-plugin</artifactId>
- <version>${version.archunit.maven.plugin}</version>
- <executions>
- <execution>
- <goals>
- <goal>arch-test</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>io.github.download-maven-plugin</groupId>
- <artifactId>download-maven-plugin</artifactId>
- <version>${version.download-maven-plugin}</version>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>properties-maven-plugin</artifactId>
- <version>${version.property-maven-plugin}</version>
- </plugin>
</plugins>
</pluginManagement>
- <plugins>
- <plugin>
- <artifactId>maven-enforcer-plugin</artifactId>
- </plugin>
- <plugin>
- <artifactId>maven-checkstyle-plugin</artifactId>
- </plugin>
- <plugin>
- <!-- Entry needed to provide parsed version properties -->
- <!-- also adds generated sources to -source artifact -->
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>${version.build.helper.maven.plugin}</version>
- <executions>
- <execution>
- <phase>generate-sources</phase>
- <goals>
- <goal>add-source</goal>
- <goal>parse-version</goal>
- </goals>
- <configuration>
- <sources>
- <source>target/generated-sources/annotations/</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-sources</id>
- <goals>
- <goal>jar-no-fork</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <!-- Entry needed to create test-jars even for packaging types war, bundle, ... -->
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>${version.maven-jar-plugin}</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- </plugin>
- </plugins>
</build>
- <reporting>
- <plugins>
- <!-- Note: It's not possible to configure reporting plugins in pluginManagement in m2.0.4 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-project-info-reports-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jxr-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-report-plugin</artifactId>
- <version>2.6</version>
- <reportSets>
- <reportSet>
- <reports>
- <report>report-only</report>
- </reports>
- </reportSet>
- </reportSets>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>javancss-maven-plugin</artifactId>
- <version>2.0</version>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>taglist-maven-plugin</artifactId>
- <version>2.4</version>
- </plugin>
- <plugin>
- <groupId>com.github.spotbugs</groupId>
- <artifactId>spotbugs-maven-plugin</artifactId>
- </plugin>
- </plugins>
- </reporting>
-
- <profiles>
- <profile>
- <!-- Performs the quick build: all plugins deactivated -->
- <id>quick-build</id>
- <activation>
- <property>
- <name>quickly</name>
- </property>
- </activation>
- <properties>
- <formatter.skip>true</formatter.skip>
- <skipITs>true</skipITs>
- <skipTests>true</skipTests>
- <invoker.skip>true</invoker.skip>
- <archetype.test.skip>true</archetype.test.skip>
- <enforcer.skip>true</enforcer.skip>
- <revapi.skip>true</revapi.skip>
- <maven.javadoc.skip>true</maven.javadoc.skip>
- <checkstyle.skip>true</checkstyle.skip>
- </properties>
- <build>
- <defaultGoal>clean install</defaultGoal>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>properties-maven-plugin</artifactId>
- <executions>
- <execution>
- <phase>initialize</phase>
- <goals>
- <goal>set-system-properties</goal>
- </goals>
- <configuration>
- <properties>
- <property>
- <name>quarkus.container-image.build</name>
- <value>false</value>
- </property>
- </properties>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
- </profile>
- <profile>
- <!-- Performs the quick test: only formatting validation and unit tests enabled -->
- <id>quick-test</id>
- <activation>
- <property>
- <name>quickTests</name>
- </property>
- </activation>
- <properties>
- <formatter.skip>false</formatter.skip>
- <formatter.goal>validate</formatter.goal>
- <impsort.goal>check</impsort.goal>
- <skipITs>true</skipITs>
- <invoker.skip>true</invoker.skip>
- <archetype.test.skip>true</archetype.test.skip>
- </properties>
- <build>
- <defaultGoal>clean install</defaultGoal>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>properties-maven-plugin</artifactId>
- <executions>
- <execution>
- <phase>initialize</phase>
- <goals>
- <goal>set-system-properties</goal>
- </goals>
- <configuration>
- <properties>
- <property>
- <name>quarkus.container-image.build</name>
- <value>false</value>
- </property>
- </properties>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-invoker-plugin</artifactId>
- <configuration>
- <skipInstallation>true</skipInstallation>
- <skipInvocation>true</skipInvocation>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
- </profile>
- <profile>
- <!--
- Translates -DskipAllTests parameter passed to build into setting corresponding skip properties.
- It does NOT reflect the change made to the property value inside the pom files, just from cmd line.
- Inside pom file it needs to be in sync explicitly in each profile.
- -->
- <id>skip-all-tests</id>
- <activation>
- <property>
- <name>skipAllTests</name>
- </property>
- </activation>
- <properties>
- <skipITs>true</skipITs>
- <skipTests>true</skipTests>
- <invoker.skip>true</invoker.skip>
- <archetype.test.skip>true</archetype.test.skip>
- </properties>
- </profile>
-
- <profile>
- <id>fullProfile</id>
- <activation>
- <property>
- <name>full</name>
- </property>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <executions>
- <execution>
- <id>ban-duplicated-classes</id>
- <!-- The execution's configuration is part of the pluginManagement. This piece here only makes sure the
- execution is enabled (by specifying a phase) for full profile builds. -->
- <phase>validate</phase>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- <configuration>
- <source>${maven.compiler.release}</source>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <!--
- Creates JaCoCo XML reports and invokes the Sonar scanner, which uploads code quality data into the SonarCloud.
- -->
- <profile>
- <id>sonarcloud-analysis</id>
- <properties>
- <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
- <sonar.host.url>https://sonarcloud.io</sonar.host.url>
- <sonar.organization>kiegroup</sonar.organization>
- <!--suppress UnresolvedMavenProperty -->
- <sonar.login>${env.SONARCLOUD_TOKEN}</sonar.login>
- </properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <id>generate-aggregated-jacoco-report</id>
- <phase>validate</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <!--
- Jacoco ant "report" task provides control over scope of the generated report. The report task
- requires access to sources, classes and .exec file containing coverage data. The configuration
- below uses sources and classes of the entire project (each of its modules) and a single jacoco.exec
- file placed in project root directory.
- Jacoco maven plugin does not provide such a level of control and requires an artificial module that
- depends on all modules in the project to generate an aggregated report for all the modules.
- This necessity of creating a reporting module in every project is rather intrusive.
- See:
- https://www.jacoco.org/jacoco/trunk/doc/report-aggregate-mojo.html and
- https://groups.google.com/forum/#!topic/jacoco/oMxNZs_DNII
- -->
- <target>
- <echo message="Generating JaCoCo Reports"/>
- <taskdef name="report" classname="org.jacoco.ant.ReportTask"/>
- <mkdir dir="${project.reporting.outputDirectory}/jacoco"/>
- <report>
- <executiondata>
- <fileset dir="${project.root.dir}/target">
- <!--
- Include a single jacoco.exec file, which should be used in append mode by every module.
- -->
- <include name="jacoco.exec"/>
- </fileset>
- </executiondata>
- <structure name="Coverage Report">
- <group name="${project.artifactId}">
- <classfiles>
- <fileset dir="${project.root.dir}">
- <!--
- Include class files from every module.
- -->
- <include name="**/target/classes/**/*.class"/>
- <!--
- Following classes are excluded as they are present in multiple modules. Usually they
- are a product of tests or 3rd party dependencies that got unwrapped in target/classes
- folder during the build. These are not a subject of test coverage measurement.
- -->
- <exclude name="**/target/**/target/classes/**/*.class"/>
-
- <!--
- TODO: there are multiple classes of the same fully qualified name in kie-server modules.
- They need to be renamed to enable coverage reporting for them.
- -->
- <exclude name="**/target/classes/**/org/kie/server/gateway/KieServerGateway.class"/>
- <exclude name="**/target/classes/**/org/kie/server/springboot/samples/KieServerApplication.class"/>
- </fileset>
- </classfiles>
- <sourcefiles encoding="UTF-8">
- <fileset dir="${project.root.dir}">
- <!--
- Include source files from every module.
- -->
- <include name="**/src/main/**/*.java"/>
- </fileset>
- </sourcefiles>
- </group>
- </structure>
- <!-- The same report is generated in each module -->
- <xml destfile="${project.reporting.outputDirectory}/jacoco/jacoco.xml"/>
- </report>
- </target>
- </configuration>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>org.jacoco</groupId>
- <artifactId>org.jacoco.ant</artifactId>
- <!-- Keep the version in sync with jacoco-maven-plugin -->
- <version>${version.jacoco.plugin}</version>
- </dependency>
- </dependencies>
- </plugin>
- <plugin>
- <groupId>org.sonarsource.scanner.maven</groupId>
- <artifactId>sonar-maven-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>sonar</goal>
- </goals>
- <phase>validate</phase>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>sonarcloud-analysis-pull-request</id>
- <activation>
- <property>
- <name>env.ghprbPullId</name>
- </property>
- </activation>
- <properties>
- <sonar.pullrequest.provider>GitHub</sonar.pullrequest.provider>
- <!--suppress UnresolvedMavenProperty -->
- <sonar.pullrequest.branch>${env.ghprbSourceBranch}</sonar.pullrequest.branch>
- <!--suppress UnresolvedMavenProperty -->
- <sonar.pullrequest.key>${env.ghprbPullId}</sonar.pullrequest.key>
- <!--suppress UnresolvedMavenProperty -->
- <sonar.pullrequest.base>${env.ghprbTargetBranch}</sonar.pullrequest.base>
- </properties>
- </profile>
- <!-- Forces en_US usage during test execution. Useful for machine with different locale -->
- <profile>
- <id>test-en</id>
- <activation>
- <property>
- <name>TestEn</name>
- </property>
- </activation>
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <argLine>-Xmx1024m -Dfile.encoding=UTF-8 -Duser.language=en -Duser.region=US</argLine>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <configuration>
- <argLine>-Xmx1024m -Dfile.encoding=UTF-8 -Duser.language=en -Duser.region=US</argLine>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
- </profile>
-
- <profile>
- <id>run-code-coverage</id>
- <properties>
- <jacoco.excludes>*Lexer</jacoco.excludes>
-
- <!--suppress UnresolvedMavenProperty -->
- <jacoco.agent.line>-javaagent:${settings.localRepository}/org/jacoco/org.jacoco.agent/${version.jacoco.plugin}/org.jacoco.agent-${version.jacoco.plugin}-runtime.jar=destfile=${jacoco.exec.file},append=true,excludes=${jacoco.excludes}</jacoco.agent.line>
- <surefire.argLine>
- -Dfile.encoding=${project.build.sourceEncoding}
- ${jacoco.agent.line}
- </surefire.argLine>
- </properties>
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <argLine>${surefire.argLine}</argLine>
- </configuration>
- <dependencies>
- <dependency>
- <groupId>org.jacoco</groupId>
- <artifactId>org.jacoco.agent</artifactId>
- <version>${version.jacoco.plugin}</version>
- <classifier>runtime</classifier>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
- </profile>
- <profile>
- <id>test-with-custom-binaries</id>
- <activation>
- <property>
- <name>unpackbuild.version</name>
- </property>
- <file>
- <exists>src/main/java</exists>
- </file>
- </activation>
- <properties>
- <maven.main.skip>true</maven.main.skip>
- </properties>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>${project.groupId}</groupId>
- <artifactId>${project.artifactId}</artifactId>
- <version>${unpackbuild.version}</version>
- <type>${project.packaging}</type>
- <overWrite>true</overWrite>
- <outputDirectory>target/classes</outputDirectory>
- </artifactItem>
- </artifactItems>
- </configuration>
- <executions>
- <execution>
- <id>unpack-jar</id>
- <phase>compile</phase>
- <goals>
- <goal>unpack</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
-
- <profile>
- <id>archunit-java17</id>
- <activation>
- <jdk>[17,21)</jdk>
- </activation>
- <properties>
- <version.archunit.maven.plugin>2.9.1</version.archunit.maven.plugin>
- <version.archunit.junit5>1.2.0</version.archunit.junit5>
- </properties>
- </profile>
-
- </profiles>
</project>
diff --git a/drools-distribution/pom.xml b/drools-distribution/pom.xml
index 2b1855b49a..a38d41d685 100644
--- a/drools-distribution/pom.xml
+++ b/drools-distribution/pom.xml
@@ -47,7 +47,7 @@
<executions>
<execution>
<id>ban-duplicated-classes</id>
- <phase>validate</phase>
+ <phase>${enforcer.ban-duplicated-classes.phase}</phase>
<goals>
<goal>enforce</goal>
</goals>
diff --git a/drools-examples-api/pom.xml b/drools-examples-api/pom.xml
index c7b3cef379..f1976f7199 100644
--- a/drools-examples-api/pom.xml
+++ b/drools-examples-api/pom.xml
@@ -36,16 +36,6 @@
<packaging>pom</packaging>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>kiebase-inclusion</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<modules>
<module>default-kiesession</module>
<module>named-kiesession</module>
diff --git a/drools-examples/pom.xml b/drools-examples/pom.xml
index 870cb960e3..cee9c444f2 100644
--- a/drools-examples/pom.xml
+++ b/drools-examples/pom.xml
@@ -61,16 +61,6 @@
</plugins>
</build>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>com.miglayout</groupId>
- <artifactId>miglayout</artifactId>
- <version>${version.com.miglayout}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
<!-- Internal dependencies -->
<dependency>
diff --git a/drools-model/drools-model-codegen/pom.xml b/drools-model/drools-model-codegen/pom.xml
index 9cfeeaa310..29dd840cbb 100644
--- a/drools-model/drools-model-codegen/pom.xml
+++ b/drools-model/drools-model-codegen/pom.xml
@@ -30,7 +30,6 @@
<version>999-SNAPSHOT</version>
</parent>
- <groupId>org.drools</groupId>
<artifactId>drools-model-codegen</artifactId>
<name>Drools :: Model :: Codegen</name>
@@ -39,23 +38,6 @@
<java.module.name>org.drools.model.codegen</java.module.name>
</properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.openjdk.jmh</groupId>
- <artifactId>jmh-core</artifactId>
- <version>${version.org.openjdk.jmh}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.openjdk.jmh</groupId>
- <artifactId>jmh-generator-annprocess</artifactId>
- <version>${version.org.openjdk.jmh}</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
<dependency>
<groupId>org.drools</groupId>
diff --git a/drools-persistence/drools-persistence-jpa/pom.xml b/drools-persistence/drools-persistence-jpa/pom.xml
index 914db80138..f243bf2033 100644
--- a/drools-persistence/drools-persistence-jpa/pom.xml
+++ b/drools-persistence/drools-persistence-jpa/pom.xml
@@ -79,16 +79,6 @@
</plugins>
</build>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.jboss.weld.se</groupId>
- <artifactId>weld-se-core</artifactId>
- <version>${version.org.jboss.weld.weld}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
<dependency>
<groupId>org.kie</groupId>
diff --git a/drools-quarkus-extension/drools-quarkus-deployment/pom.xml b/drools-quarkus-extension/drools-quarkus-deployment/pom.xml
index 1a9f683483..52d587bd6d 100644
--- a/drools-quarkus-extension/drools-quarkus-deployment/pom.xml
+++ b/drools-quarkus-extension/drools-quarkus-deployment/pom.xml
@@ -36,16 +36,6 @@
<java.module.name>org.drools.quarkus.deployment</java.module.name>
</properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-drl-map-input-runtime</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
<dependency>
diff --git a/drools-quarkus-extension/drools-quarkus-integration-test-multimodule/drools-quarkus-integration-test-multimodule-main/pom.xml b/drools-quarkus-extension/drools-quarkus-integration-test-multimodule/drools-quarkus-integration-test-multimodule-main/pom.xml
index d059241f91..90a5c56c65 100644
--- a/drools-quarkus-extension/drools-quarkus-integration-test-multimodule/drools-quarkus-integration-test-multimodule-main/pom.xml
+++ b/drools-quarkus-extension/drools-quarkus-integration-test-multimodule/drools-quarkus-integration-test-multimodule-main/pom.xml
@@ -36,16 +36,6 @@
<java.module.name>org.drools.quarkus.integrationtest.multimodule.main</java.module.name>
</properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>drools-quarkus-integration-test-multimodule-dep</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
<dependency>
<groupId>org.drools</groupId>
diff --git a/drools-quarkus-extension/drools-quarkus-ruleunits-deployment/pom.xml b/drools-quarkus-extension/drools-quarkus-ruleunits-deployment/pom.xml
index fe68eaebb6..fcf8415d6f 100644
--- a/drools-quarkus-extension/drools-quarkus-ruleunits-deployment/pom.xml
+++ b/drools-quarkus-extension/drools-quarkus-ruleunits-deployment/pom.xml
@@ -36,17 +36,6 @@
<java.module.name>org.drools.quarkus.ruleunits.deployment</java.module.name>
</properties>
-
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-drl-map-input-runtime</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
<dependency>
diff --git a/drools-quarkus-extension/pom.xml b/drools-quarkus-extension/pom.xml
index 3205dd66e8..282713edd4 100644
--- a/drools-quarkus-extension/pom.xml
+++ b/drools-quarkus-extension/pom.xml
@@ -25,9 +25,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.kie</groupId>
- <artifactId>drools-build-parent</artifactId>
+ <artifactId>kie-quarkus-build-parent</artifactId>
<version>999-SNAPSHOT</version>
- <relativePath>../build-parent/pom.xml</relativePath>
+ <relativePath>../kie-quarkus-build-parent/pom.xml</relativePath>
</parent>
<name>Drools :: Quarkus Extension</name>
@@ -51,16 +51,4 @@
<module>drools-quarkus-examples</module>
</modules>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>io.quarkus</groupId>
- <artifactId>quarkus-bom</artifactId>
- <version>${version.io.quarkus}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
</project>
diff --git a/drools-reliability/drools-reliability-infinispan/pom.xml b/drools-reliability/drools-reliability-infinispan/pom.xml
index 3cd4f2b5b4..34e2f8933e 100644
--- a/drools-reliability/drools-reliability-infinispan/pom.xml
+++ b/drools-reliability/drools-reliability-infinispan/pom.xml
@@ -37,18 +37,6 @@
<java.module.name>org.drools.reliability.infinispan</java.module.name>
</properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.infinispan</groupId>
- <artifactId>infinispan-bom</artifactId>
- <version>${version.org.infinispan}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
<dependency>
<groupId>org.infinispan</groupId>
diff --git a/drools-reliability/drools-reliability-tests/pom.xml b/drools-reliability/drools-reliability-tests/pom.xml
index 4ed09efd17..43be6d6317 100644
--- a/drools-reliability/drools-reliability-tests/pom.xml
+++ b/drools-reliability/drools-reliability-tests/pom.xml
@@ -35,35 +35,9 @@
<properties>
<java.module.name>org.drools.reliability.infinispan</java.module.name>
- <version.testcontainers>2.0.3</version.testcontainers>
</properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.infinispan</groupId>
- <artifactId>infinispan-bom</artifactId>
- <version>${version.org.infinispan}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>org.testcontainers</groupId>
- <artifactId>testcontainers-junit-jupiter</artifactId>
- <version>${version.testcontainers}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.testcontainers</groupId>
- <artifactId>testcontainers-jdbc</artifactId>
- <version>${version.testcontainers}</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
-
<dependency>
<groupId>org.drools</groupId>
<artifactId>drools-reliability-core</artifactId>
diff --git a/drools-scenario-simulation/drools-scenario-simulation-backend/pom.xml b/drools-scenario-simulation/drools-scenario-simulation-backend/pom.xml
index 94d83ae050..7ede9317f7 100644
--- a/drools-scenario-simulation/drools-scenario-simulation-backend/pom.xml
+++ b/drools-scenario-simulation/drools-scenario-simulation-backend/pom.xml
@@ -177,30 +177,6 @@
</dependency>
</dependencies>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-bom</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-efesto-compilation</artifactId>
- <version>${project.version}</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-efesto-runtime</artifactId>
- <version>${project.version}</version>
- <scope>compile</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<profiles>
<profile>
<id>sonarcloud-analysis</id>
diff --git a/drools-scenario-simulation/drools-scenario-simulation-integrationtest/pom.xml b/drools-scenario-simulation/drools-scenario-simulation-integrationtest/pom.xml
index e6a571b67e..bcca81c615 100644
--- a/drools-scenario-simulation/drools-scenario-simulation-integrationtest/pom.xml
+++ b/drools-scenario-simulation/drools-scenario-simulation-integrationtest/pom.xml
@@ -37,31 +37,6 @@
<java.module.name>org.drools.scenariosimulation.integrationtest</java.module.name>
</properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-drl-compilation-common</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-drl-map-input-runtime</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-efesto-compilation</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-efesto-runtime</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
<dependency>
<groupId>org.drools</groupId>
diff --git a/drools-templates/pom.xml b/drools-templates/pom.xml
index 286ae1e329..5a35d34a45 100644
--- a/drools-templates/pom.xml
+++ b/drools-templates/pom.xml
@@ -39,16 +39,6 @@
<java.module.name>org.drools.templates</java.module.name>
</properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.hsqldb</groupId>
- <artifactId>hsqldb</artifactId>
- <version>${version.org.hsqldb}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
<!-- Internal dependencies -->
<dependency>
diff --git a/drools-test-coverage/drools-test-coverage-jars/drools-test-coverage-jars-with-invoker/pom.xml b/drools-test-coverage/drools-test-coverage-jars/drools-test-coverage-jars-with-invoker/pom.xml
index 964dc93bc4..3a0131db04 100644
--- a/drools-test-coverage/drools-test-coverage-jars/drools-test-coverage-jars-with-invoker/pom.xml
+++ b/drools-test-coverage/drools-test-coverage-jars/drools-test-coverage-jars-with-invoker/pom.xml
@@ -36,18 +36,9 @@
<java.module.name>org.drools.compiler.integrationtests.jars.with.invoker</java.module.name>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<org.kie.version>${project.version}</org.kie.version>
+ <path.to.buildlog.directory>${project.parent.parent.basedir}/../${buildlogs.dir}</path.to.buildlog.directory>
</properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-maven-plugin</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
<dependency>
<groupId>org.kie</groupId>
@@ -69,6 +60,7 @@
<artifactId>maven-invoker-plugin</artifactId>
<configuration>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
+ <logDirectory>${path.to.buildlog.directory}</logDirectory>
<streamLogs>true</streamLogs>
<goal>clean</goal>
<goal>package</goal>
diff --git a/drools-test-coverage/standalone/kie-ci-with-domain/pom.xml b/drools-test-coverage/standalone/kie-ci-with-domain/pom.xml
index 7e3090a231..541c958577 100644
--- a/drools-test-coverage/standalone/kie-ci-with-domain/pom.xml
+++ b/drools-test-coverage/standalone/kie-ci-with-domain/pom.xml
@@ -43,14 +43,4 @@
<module>tests</module>
</modules>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.drools.testcoverage</groupId>
- <artifactId>drools-kie-ci-with-domain-test-domain</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
</project>
diff --git a/drools-test-coverage/standalone/kie-ci-without-domain/pom.xml b/drools-test-coverage/standalone/kie-ci-without-domain/pom.xml
index 9f58d0a603..b5e6209830 100644
--- a/drools-test-coverage/standalone/kie-ci-without-domain/pom.xml
+++ b/drools-test-coverage/standalone/kie-ci-without-domain/pom.xml
@@ -43,14 +43,4 @@
<module>tests</module>
</modules>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.drools.testcoverage</groupId>
- <artifactId>drools-kie-ci-without-domain-test-domain</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
</project>
diff --git a/drools-test-coverage/test-compiler-integration/pom.xml b/drools-test-coverage/test-compiler-integration/pom.xml
index ba3594a265..6bc76d1d36 100644
--- a/drools-test-coverage/test-compiler-integration/pom.xml
+++ b/drools-test-coverage/test-compiler-integration/pom.xml
@@ -36,19 +36,9 @@
<properties>
<java.module.name>org.drools.compiler.integrationtests</java.module.name>
<surefire.forkCount>2</surefire.forkCount>
+ <path.to.buildlog.directory>${project.parent.basedir}/../${buildlogs.dir}</path.to.buildlog.directory>
</properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.drools.testcoverage</groupId>
- <artifactId>drools-test-coverage-jars</artifactId>
- <type>pom</type>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
<dependency>
<groupId>org.drools</groupId>
@@ -227,6 +217,7 @@
<phase>generate-test-resources</phase>
<configuration>
<projectsDirectory>${basedir}/../drools-test-coverage-jars</projectsDirectory>
+ <logDirectory>${path.to.buildlog.directory}</logDirectory>
<goals>
<goal>clean</goal>
<goal>install</goal>
diff --git a/drools-test-coverage/test-integration-ruleunits/test-integration-ruleunits-tests/pom.xml b/drools-test-coverage/test-integration-ruleunits/test-integration-ruleunits-tests/pom.xml
index 3a76fbaae7..02874f6d11 100644
--- a/drools-test-coverage/test-integration-ruleunits/test-integration-ruleunits-tests/pom.xml
+++ b/drools-test-coverage/test-integration-ruleunits/test-integration-ruleunits-tests/pom.xml
@@ -38,16 +38,6 @@
<surefire.forkCount>1</surefire.forkCount>
</properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.drools.testcoverage</groupId>
- <artifactId>test-integration-ruleunits-jar</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
<dependency>
<groupId>org.drools</groupId>
diff --git a/drools-test-coverage/test-suite/pom.xml b/drools-test-coverage/test-suite/pom.xml
index c6ac7e4df8..78d400b8cd 100644
--- a/drools-test-coverage/test-suite/pom.xml
+++ b/drools-test-coverage/test-suite/pom.xml
@@ -37,19 +37,9 @@
<properties>
<java.module.name>org.drools.testcoverage.testsuite</java.module.name>
+ <path.to.buildlog.directory>${project.parent.basedir}/../${buildlogs.dir}</path.to.buildlog.directory>
</properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.drools.testcoverage</groupId>
- <artifactId>drools-test-coverage-jars</artifactId>
- <type>pom</type>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
<!-- Internal dependencies -->
<dependency>
@@ -249,6 +239,7 @@
<phase>generate-test-resources</phase>
<configuration>
<projectsDirectory>${basedir}/../drools-test-coverage-jars</projectsDirectory>
+ <logDirectory>${path.to.buildlog.directory}</logDirectory>
<goals>
<goal>clean</goal>
<goal>install</goal>
diff --git a/drools-verifier/drools-verifier-drl/pom.xml b/drools-verifier/drools-verifier-drl/pom.xml
index 474178b3a6..f519f6f232 100644
--- a/drools-verifier/drools-verifier-drl/pom.xml
+++ b/drools-verifier/drools-verifier-drl/pom.xml
@@ -36,23 +36,9 @@
<properties>
<java.module.name>org.drools.verifier</java.module.name>
+ <path.to.buildlog.directory>${project.parent.basedir}/../${buildlogs.dir}</path.to.buildlog.directory>
</properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.apache.pdfbox</groupId>
- <artifactId>pdfbox</artifactId>
- <version>${version.org.apache.pdfbox}</version>
- </dependency>
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>drools-verifier-test-jar</artifactId>
- <version>1.0.0</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
<!-- Internal dependencies -->
<dependency>
@@ -167,6 +153,7 @@
<phase>generate-test-resources</phase>
<configuration>
<projectsDirectory>${basedir}/../drools-verifier-test-jar</projectsDirectory>
+ <logDirectory>${path.to.buildlog.directory}</logDirectory>
<goals>
<goal>clean</goal>
<goal>install</goal>
diff --git a/efesto/pom.xml b/efesto/pom.xml
index 0a5d4e884c..26bf4b905a 100644
--- a/efesto/pom.xml
+++ b/efesto/pom.xml
@@ -37,9 +37,6 @@
<description>New model container framework</description>
<properties>
- <rewrite.maven.plugin.version>4.42.0</rewrite.maven.plugin.version>
- <rewrite.testing.frameworks.version>1.22.0</rewrite.testing.frameworks.version>
- <jdepend.maven.plugin.version>2.0</jdepend.maven.plugin.version>
<skip.jdepend>true</skip.jdepend>
</properties>
@@ -81,20 +78,6 @@
</dependencies>
<build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.openrewrite.maven</groupId>
- <artifactId>rewrite-maven-plugin</artifactId>
- <version>${rewrite.maven.plugin.version}</version>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>jdepend-maven-plugin</artifactId>
- <version>${jdepend.maven.plugin.version}</version>
- </plugin>
- </plugins>
- </pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -137,7 +120,7 @@
<dependency>
<groupId>org.openrewrite.recipe</groupId>
<artifactId>rewrite-testing-frameworks</artifactId>
- <version>${rewrite.testing.frameworks.version}</version>
+ <version>${version.rewrite.testing.frameworks}</version>
</dependency>
</dependencies>
</plugin>
diff --git a/kie-archetypes/pom.xml b/kie-archetypes/pom.xml
index 8600e71c71..710609b5e5 100644
--- a/kie-archetypes/pom.xml
+++ b/kie-archetypes/pom.xml
@@ -43,29 +43,6 @@
<module>kie-drools-yaml-archetype</module>
</modules>
- <!-- ensure integration test of the archetypes, after the kie-maven-plugin build -->
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-bom</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-maven-plugin</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>drools-scenario-simulation-backend</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- </dependency>
- </dependencies>
- </dependencyManagement>
<dependencies>
<dependency>
<groupId>org.kie</groupId>
@@ -91,18 +68,6 @@
</exclusion>
</exclusions>
</dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-bom</artifactId>
- <type>pom</type>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
</dependencies>
</project>
diff --git a/kie-ci/kie-ci-test-jars/kie-ci-test-bom/pom.xml b/kie-ci/kie-ci-test-jars/kie-ci-test-bom/pom.xml
index cccbd46e21..fe8b8f4df2 100644
--- a/kie-ci/kie-ci-test-jars/kie-ci-test-bom/pom.xml
+++ b/kie-ci/kie-ci-test-jars/kie-ci-test-bom/pom.xml
@@ -37,19 +37,4 @@
<java.module.name>org.kie.ci.test.bom</java.module.name>
</properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.kie.ci.test</groupId>
- <artifactId>kie-ci-test-jar</artifactId>
- <version>1.2.3.Final</version>
- </dependency>
- <dependency>
- <groupId>org.kie.ci.test</groupId>
- <artifactId>org.kie.ci.test.jar.with.dep</artifactId>
- <version>1.2.3.Final</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
</project>
\ No newline at end of file
diff --git a/kie-ci/pom.xml b/kie-ci/pom.xml
index 798cddac7b..ec454a2aca 100644
--- a/kie-ci/pom.xml
+++ b/kie-ci/pom.xml
@@ -36,6 +36,7 @@
<properties>
<java.module.name>org.kie.ci</java.module.name>
+ <path.to.buildlog.directory>${project.basedir}/../${buildlogs.dir}</path.to.buildlog.directory>
</properties>
<dependencies>
@@ -217,6 +218,7 @@
<pomInclude>kie-ci-test-jars/pom.xml</pomInclude>
</pomIncludes>
<projectsDirectory>${project.basedir}</projectsDirectory>
+ <logDirectory>${path.to.buildlog.directory}</logDirectory>
<goals>clean install</goals>
<properties>
<kie.maven.settings.custom>${project.build.testOutputDirectory}/kie-ci-tests-custom-settings.xml</kie.maven.settings.custom>
diff --git a/kie-dmn/kie-dmn-core-jsr223-jq/pom.xml b/kie-dmn/kie-dmn-core-jsr223-jq/pom.xml
index 6c243d1125..0feea21a8e 100644
--- a/kie-dmn/kie-dmn-core-jsr223-jq/pom.xml
+++ b/kie-dmn/kie-dmn-core-jsr223-jq/pom.xml
@@ -30,17 +30,8 @@
<description>An opinionated JSR-223 binding for jq, for use in Drools DMN Engine.</description>
<properties>
<java.module.name>org.kie.dmn.core.jsr223.jq</java.module.name>
- <version.net.thisptr.jackson.jq>1.0.0-preview.20210928</version.net.thisptr.jackson.jq>
</properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>net.thisptr</groupId>
- <artifactId>jackson-jq</artifactId>
- <version>${version.net.thisptr.jackson.jq}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>net.thisptr</groupId>
diff --git a/kie-dmn/kie-dmn-core-jsr223/pom.xml b/kie-dmn/kie-dmn-core-jsr223/pom.xml
index 42c9feff4f..18f37e6220 100644
--- a/kie-dmn/kie-dmn-core-jsr223/pom.xml
+++ b/kie-dmn/kie-dmn-core-jsr223/pom.xml
@@ -30,40 +30,8 @@
<properties>
<java.module.name>org.kie.dmn.core.jsr223</java.module.name>
- <!-- test scope versions -->
- <nashorn.version>15.3</nashorn.version>
- <graalvm.version>22.0.0.2</graalvm.version>
</properties>
- <dependencyManagement>
- <dependencies>
- <!-- test-only scope dependencies -->
- <dependency>
- <groupId>org.openjdk.nashorn</groupId>
- <artifactId>nashorn-core</artifactId>
- <version>${nashorn.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.graalvm.js</groupId>
- <artifactId>js</artifactId>
- <version>${graalvm.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.graalvm.js</groupId>
- <artifactId>js-scriptengine</artifactId>
- <version>${graalvm.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-core-jsr223-jq</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <!-- /test-only scope dependencies -->
- </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
diff --git a/kie-dmn/kie-dmn-core/pom.xml b/kie-dmn/kie-dmn-core/pom.xml
index 7b5fbb867c..9cdc08a7b4 100644
--- a/kie-dmn/kie-dmn-core/pom.xml
+++ b/kie-dmn/kie-dmn-core/pom.xml
@@ -37,35 +37,8 @@
<properties>
<java.module.name>org.kie.dmn.core</java.module.name>
- <dependency-plugin.version>3.6.1</dependency-plugin.version>
</properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>drools-bom</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-feel</artifactId>
- <version>${project.version}</version>
- <classifier>tests</classifier>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-test-resources</artifactId>
- <version>${project.version}</version>
- <classifier>tests</classifier>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
<dependency>
<groupId>org.kie</groupId>
@@ -297,7 +270,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
- <version>${dependency-plugin.version}</version>
+ <version>${version.dependency-plugin}</version>
<executions>
<execution>
<id>unpack</id>
diff --git a/kie-dmn/kie-dmn-efesto-compilation/pom.xml b/kie-dmn/kie-dmn-efesto-compilation/pom.xml
index 479a916dc4..d44280556a 100644
--- a/kie-dmn/kie-dmn-efesto-compilation/pom.xml
+++ b/kie-dmn/kie-dmn-efesto-compilation/pom.xml
@@ -35,45 +35,8 @@
<properties>
<java.module.name>org.kie.dmn.efesto.compilation</java.module.name>
- <dependency-plugin.version>3.6.1</dependency-plugin.version>
</properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-efesto-api</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-test-resources</artifactId>
- <version>${project.version}</version>
- <classifier>tests</classifier>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-pmml-compiler-core</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-pmml-models-regression-compiler</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-pmml-models-regression-evaluator</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
-
<dependencies>
<!-- DMN -->
<dependency>
@@ -154,7 +117,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
- <version>${dependency-plugin.version}</version>
+ <version>${version.dependency-plugin}</version>
<executions>
<execution>
<id>unpack</id>
diff --git a/kie-dmn/kie-dmn-efesto-runtime/pom.xml b/kie-dmn/kie-dmn-efesto-runtime/pom.xml
index 38932d4fb0..9b6d6f538e 100644
--- a/kie-dmn/kie-dmn-efesto-runtime/pom.xml
+++ b/kie-dmn/kie-dmn-efesto-runtime/pom.xml
@@ -37,26 +37,6 @@
<java.module.name>org.kie.dmn.efesto.runtime</java.module.name>
</properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-efesto-api</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>efesto-runtime-manager-api</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>efesto-runtime-manager-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
<!-- DMN -->
<dependency>
diff --git a/kie-dmn/kie-dmn-feel/pom.xml b/kie-dmn/kie-dmn-feel/pom.xml
index bf48ce5d89..081bdc069e 100644
--- a/kie-dmn/kie-dmn-feel/pom.xml
+++ b/kie-dmn/kie-dmn-feel/pom.xml
@@ -38,19 +38,8 @@
<java.module.name>org.kie.dmn.feel</java.module.name>
<surefire.forkCount>2</surefire.forkCount>
<enforcer.skip>true</enforcer.skip>
- <version.net.sf.saxon.Saxon-HE>12.7</version.net.sf.saxon.Saxon-HE>
</properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>net.sf.saxon</groupId>
- <artifactId>Saxon-HE</artifactId>
- <version>${version.net.sf.saxon.Saxon-HE}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
<!-- Internal dependencies -->
<dependency>
diff --git a/kie-dmn/kie-dmn-legacy-tests/pom.xml b/kie-dmn/kie-dmn-legacy-tests/pom.xml
index 57258c6b2c..70bea7d065 100644
--- a/kie-dmn/kie-dmn-legacy-tests/pom.xml
+++ b/kie-dmn/kie-dmn-legacy-tests/pom.xml
@@ -32,32 +32,6 @@
<properties>
<java.module.name>org.kie.dmn.legacytests</java.module.name>
</properties>
-
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-bom</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-core</artifactId>
- <classifier>tests</classifier>
- <scope>test</scope>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-validation</artifactId>
- <classifier>tests</classifier>
- <scope>test</scope>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
<dependencies>
<dependency>
diff --git a/kie-dmn/kie-dmn-openapi/pom.xml b/kie-dmn/kie-dmn-openapi/pom.xml
index f97d27d6c9..8154beb545 100644
--- a/kie-dmn/kie-dmn-openapi/pom.xml
+++ b/kie-dmn/kie-dmn-openapi/pom.xml
@@ -34,24 +34,6 @@
<java.module.name>org.kie.dmn.openapi</java.module.name>
</properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-core</artifactId>
- <classifier>tests</classifier>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-test-resources</artifactId>
- <version>${project.version}</version>
- <classifier>tests</classifier>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
<dependency>
<groupId>io.smallrye</groupId>
diff --git a/kie-dmn/kie-dmn-pmml-tests-parent/kie-dmn-pmml-tests-trusty/pom.xml b/kie-dmn/kie-dmn-pmml-tests-parent/kie-dmn-pmml-tests-trusty/pom.xml
index 3faff6dcd4..34999972f8 100644
--- a/kie-dmn/kie-dmn-pmml-tests-parent/kie-dmn-pmml-tests-trusty/pom.xml
+++ b/kie-dmn/kie-dmn-pmml-tests-parent/kie-dmn-pmml-tests-trusty/pom.xml
@@ -36,21 +36,6 @@
<java.module.name>org.kie.dmn.pmml.tests.trusty</java.module.name>
</properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-drl-compilation-common</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-drl-map-input-runtime</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
<dependency>
<groupId>org.kie</groupId>
diff --git a/kie-dmn/kie-dmn-pmml-tests-parent/pom.xml b/kie-dmn/kie-dmn-pmml-tests-parent/pom.xml
index 09982a8ea3..fc11ab1474 100644
--- a/kie-dmn/kie-dmn-pmml-tests-parent/pom.xml
+++ b/kie-dmn/kie-dmn-pmml-tests-parent/pom.xml
@@ -38,39 +38,6 @@
<module>kie-dmn-pmml-tests-trusty</module>
</modules>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-bom</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-core</artifactId>
- <classifier>tests</classifier>
- <scope>test</scope>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-validation</artifactId>
- <classifier>tests</classifier>
- <scope>test</scope>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-pmml-tests</artifactId>
- <classifier>tests</classifier>
- <scope>test</scope>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
diff --git a/kie-dmn/kie-dmn-ruleset2dmn-parent/kie-dmn-ruleset2dmn-cli/pom.xml b/kie-dmn/kie-dmn-ruleset2dmn-parent/kie-dmn-ruleset2dmn-cli/pom.xml
index b561e12e70..8e8c8972cc 100644
--- a/kie-dmn/kie-dmn-ruleset2dmn-parent/kie-dmn-ruleset2dmn-cli/pom.xml
+++ b/kie-dmn/kie-dmn-ruleset2dmn-parent/kie-dmn-ruleset2dmn-cli/pom.xml
@@ -33,23 +33,6 @@
<java.module.name>org.kie.dmn.ruleset2dmn.cli</java.module.name>
</properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>drools-bom</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency> <!-- this is not an user dependency, hence is not added to the boms. -->
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-ruleset2dmn</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
<dependency>
<groupId>org.kie</groupId>
diff --git a/kie-dmn/kie-dmn-ruleset2dmn-parent/kie-dmn-ruleset2dmn/pom.xml b/kie-dmn/kie-dmn-ruleset2dmn-parent/kie-dmn-ruleset2dmn/pom.xml
index e032a96e65..cfe78cb074 100644
--- a/kie-dmn/kie-dmn-ruleset2dmn-parent/kie-dmn-ruleset2dmn/pom.xml
+++ b/kie-dmn/kie-dmn-ruleset2dmn-parent/kie-dmn-ruleset2dmn/pom.xml
@@ -32,25 +32,6 @@
<properties>
<java.module.name>org.kie.dmn.ruleset2dmn</java.module.name>
</properties>
-
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>drools-bom</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency> <!-- this is not an user dependency, hence is not added to the boms. -->
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-core</artifactId>
- <version>${project.version}</version>
- <classifier>tests</classifier>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
<dependencies>
<dependency>
diff --git a/kie-dmn/kie-dmn-signavio/pom.xml b/kie-dmn/kie-dmn-signavio/pom.xml
index c29cd5c3ac..ad1969351d 100644
--- a/kie-dmn/kie-dmn-signavio/pom.xml
+++ b/kie-dmn/kie-dmn-signavio/pom.xml
@@ -33,18 +33,6 @@
<java.module.name>org.kie.dmn.signavio</java.module.name>
</properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>drools-bom</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
<dependency>
<groupId>org.kie</groupId>
diff --git a/kie-dmn/kie-dmn-trisotech/pom.xml b/kie-dmn/kie-dmn-trisotech/pom.xml
index 0f14bee0cc..246ab7b21f 100644
--- a/kie-dmn/kie-dmn-trisotech/pom.xml
+++ b/kie-dmn/kie-dmn-trisotech/pom.xml
@@ -35,24 +35,6 @@
<java.module.name>org.kie.dmn.trisotech</java.module.name>
</properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>drools-bom</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency> <!-- this is not an user dependency, hence is not added to the boms. -->
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-core</artifactId>
- <classifier>tests</classifier>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
<dependency>
<groupId>org.kie</groupId>
diff --git a/kie-dmn/kie-dmn-validation/pom.xml b/kie-dmn/kie-dmn-validation/pom.xml
index cfd6c47f26..eabdb408b4 100644
--- a/kie-dmn/kie-dmn-validation/pom.xml
+++ b/kie-dmn/kie-dmn-validation/pom.xml
@@ -35,44 +35,6 @@
<drools.reproducibleExecutableModelGeneration>true</drools.reproducibleExecutableModelGeneration>
</properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>drools-bom</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-pmml-bom</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-core</artifactId>
- <classifier>tests</classifier>
- <version>${project.version}</version>
- </dependency>
- <dependency> <!-- this is not an user dependency, hence is not added to the boms. -->
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-validation-bootstrap</artifactId>
- <optional>true</optional>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-test-resources</artifactId>
- <version>${project.version}</version>
- <classifier>tests</classifier>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
<dependency>
<groupId>org.kie</groupId>
diff --git a/kie-dmn/kie-dmn-xls2dmn-cli/pom.xml b/kie-dmn/kie-dmn-xls2dmn-cli/pom.xml
index 469e788a42..184a2803a7 100644
--- a/kie-dmn/kie-dmn-xls2dmn-cli/pom.xml
+++ b/kie-dmn/kie-dmn-xls2dmn-cli/pom.xml
@@ -33,25 +33,6 @@
<properties>
<java.module.name>org.kie.dmn.xls2dmn.cli</java.module.name>
</properties>
-
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>drools-bom</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency> <!-- this is not an user dependency, hence is not added to the boms. -->
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-core</artifactId>
- <version>${project.version}</version>
- <classifier>tests</classifier>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
<dependencies>
<dependency>
diff --git a/kie-dmn/pom.xml b/kie-dmn/pom.xml
index 34d8d87698..bcfb6fa93e 100644
--- a/kie-dmn/pom.xml
+++ b/kie-dmn/pom.xml
@@ -61,18 +61,6 @@
<module>kie-dmn-ruleset2dmn-parent</module>
</modules>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-bom</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<build>
<plugins>
<plugin>
diff --git a/kie-drl/pom.xml b/kie-drl/pom.xml
index 9b671bc1e7..7d092c61eb 100644
--- a/kie-drl/pom.xml
+++ b/kie-drl/pom.xml
@@ -46,72 +46,6 @@
<module>kie-drl-tests-without-index-file</module>
</modules>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <artifactId>efesto-compilation-manager-api</artifactId>
- <groupId>org.kie</groupId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <artifactId>efesto-compilation-manager-core</artifactId>
- <groupId>org.kie</groupId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <artifactId>efesto-runtime-manager-api</artifactId>
- <groupId>org.kie</groupId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <artifactId>efesto-runtime-manager-core</artifactId>
- <groupId>org.kie</groupId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <artifactId>kie-drl-api</artifactId>
- <groupId>org.kie</groupId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <artifactId>kie-drl-compilation-common</artifactId>
- <groupId>org.kie</groupId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <artifactId>kie-drl-runtime-common</artifactId>
- <groupId>org.kie</groupId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <artifactId>kie-drl-kiesession-local-runtime</artifactId>
- <groupId>org.kie</groupId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <artifactId>kie-drl-map-input-runtime</artifactId>
- <groupId>org.kie</groupId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <artifactId>kie-drl-tests</artifactId>
- <groupId>org.kie</groupId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <artifactId>drools-model-codegen</artifactId>
- <groupId>org.drools</groupId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>drools-model-compiler</artifactId>
- <version>${project.version}</version>
- <scope>compile</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
diff --git a/kie-maven-plugin/pom.xml b/kie-maven-plugin/pom.xml
index ff14d14c53..06a38e38fc 100644
--- a/kie-maven-plugin/pom.xml
+++ b/kie-maven-plugin/pom.xml
@@ -38,10 +38,7 @@
<properties>
<java.module.name>org.kie.maven.plugin</java.module.name>
- <plugin.testing.harness.version>3.3.0</plugin.testing.harness.version>
- <plugin.plugin.version>3.6.4</plugin.plugin.version>
- <sisu.inject.version>1.4.2</sisu.inject.version>
- <maven.resolver.api.version>1.7.3</maven.resolver.api.version>
+ <path.to.buildlog.directory>${project.basedir}/../${buildlogs.dir}</path.to.buildlog.directory>
</properties>
<build>
@@ -70,9 +67,10 @@
<projectsDirectory>src/it</projectsDirectory>
<debug>true</debug>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
- <logDirectory>${project.build.directory}/it</logDirectory>
+ <logDirectory>${path.to.buildlog.directory}</logDirectory>
<filterProperties>
<org.kie.version>${project.version}</org.kie.version>
+ <path.to.buildlog.directory>${path.to.buildlog.directory}</path.to.buildlog.directory>
</filterProperties>
</configuration>
<executions>
@@ -88,40 +86,6 @@
</plugins>
</build>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.drools</groupId>
- <artifactId>drools-xml-support</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>efesto-compilation-manager-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-pmml-bom</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.maven.plugin-testing</groupId>
- <artifactId>maven-plugin-testing-harness</artifactId>
- <version>${plugin.testing.harness.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.sonatype.sisu</groupId>
- <artifactId>sisu-inject-plexus</artifactId>
- <version>${sisu.inject.version}</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
@@ -329,6 +293,22 @@
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-archiver</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>aopalliance</groupId>
+ <artifactId>aopalliance</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.enterprise</groupId>
+ <artifactId>cdi-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.eclipse.sisu</groupId>
+ <artifactId>org.eclipse.sisu.inject</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.eclipse.sisu</groupId>
+ <artifactId>org.eclipse.sisu.plexus</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
diff --git a/kie-maven-plugin/src/it/kie-maven-plugin-test-kjar-3/src/test/java/org/kie/maven/plugin/ittests/AdditionalPropertiesIntegrationTestIT.java b/kie-maven-plugin/src/it/kie-maven-plugin-test-kjar-3/src/test/java-filtered/org/kie/maven/plugin/ittests/AdditionalPropertiesIntegrationTestIT.java
similarity index 92%
rename from kie-maven-plugin/src/it/kie-maven-plugin-test-kjar-3/src/test/java/org/kie/maven/plugin/ittests/AdditionalPropertiesIntegrationTestIT.java
rename to kie-maven-plugin/src/it/kie-maven-plugin-test-kjar-3/src/test/java-filtered/org/kie/maven/plugin/ittests/AdditionalPropertiesIntegrationTestIT.java
index 68784333d6..d8af8811ca 100644
--- a/kie-maven-plugin/src/it/kie-maven-plugin-test-kjar-3/src/test/java/org/kie/maven/plugin/ittests/AdditionalPropertiesIntegrationTestIT.java
+++ b/kie-maven-plugin/src/it/kie-maven-plugin-test-kjar-3/src/test/java-filtered/org/kie/maven/plugin/ittests/AdditionalPropertiesIntegrationTestIT.java
@@ -29,13 +29,14 @@ import static org.assertj.core.api.Assertions.assertThat;
public class AdditionalPropertiesIntegrationTestIT {
+ private final String buildLogsDir = "${buildlog.directory}";
@Test
public void testAdditionalPropertiesCorrectlySet() throws Exception {
// additional properties are logged during debug (-X) build
// following string is created directly inside the KIE Maven plugin execution (the property names and values
// are logged multiple by maven itself as well, so we should check directly against that string)
final URL targetLocation = AdditionalPropertiesIntegrationTestIT.class.getProtectionDomain().getCodeSource().getLocation();
- final File basedir = new File(targetLocation.getFile().replace("/target/test-classes/", ""));
+ final File basedir = new File(buildLogsDir, "kie-maven-plugin-test-kjar-3");
final File buildLog = new File(basedir, "build.log");
final String expected = "Additional system properties: {drools.dialect.java.compiler.lnglevel=1.8, my.property=some-value}";
assertThat(Files.lines(buildLog.toPath(), StandardCharsets.UTF_8)
diff --git a/kie-maven-plugin/src/it/kie-maven-plugin-test-kjar-setup/kie-maven-plugin-test-kjar-parent/pom.xml b/kie-maven-plugin/src/it/kie-maven-plugin-test-kjar-setup/kie-maven-plugin-test-kjar-parent/pom.xml
index 619ef5692f..e62230c57b 100644
--- a/kie-maven-plugin/src/it/kie-maven-plugin-test-kjar-setup/kie-maven-plugin-test-kjar-parent/pom.xml
+++ b/kie-maven-plugin/src/it/kie-maven-plugin-test-kjar-setup/kie-maven-plugin-test-kjar-parent/pom.xml
@@ -40,6 +40,7 @@
<compiler.plugin.version>3.13.0</compiler.plugin.version>
<surefire.plugin.version>3.2.5</surefire.plugin.version>
<failsafe.plugin.version>3.2.5</failsafe.plugin.version>
+ <buildlog.directory>@path.to.buildlog.directory@</buildlog.directory>
</properties>
<dependencies>
diff --git a/kie-no-dependency-management-enforcer-rule/pom.xml b/kie-no-dependency-management-enforcer-rule/pom.xml
new file mode 100644
index 0000000000..cf5eac8891
--- /dev/null
+++ b/kie-no-dependency-management-enforcer-rule/pom.xml
@@ -0,0 +1,136 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ 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.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.kie</groupId>
+ <artifactId>drools-parent</artifactId>
+ <version>999-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>kie-no-dependency-management-enforcer-rule</artifactId>
+ <name>Drools :: No Dependency Management Rule</name>
+ <description>Enforcer rule to forbid declaration of dependencyManagement tag in pom.</description>
+
+ <!-- Since the drools-build-parent pom depends on this rule, we can't inherit properties from it here -->
+ <properties>
+ <maven.compiler.source>17</maven.compiler.source>
+ <maven.compiler.target>17</maven.compiler.target>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <version.enforcer.api>3.6.2</version.enforcer.api>
+ <version.org.apache.maven>3.9.11</version.org.apache.maven>
+ <version.org.assertj>3.27.7</version.org.assertj>
+ <version.org.mockito>5.18.0</version.org.mockito>
+ <version.sisu.maven.plugin>1.0.0</version.sisu.maven.plugin>
+ </properties>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven.enforcer</groupId>
+ <artifactId>enforcer-api</artifactId>
+ <version>${version.enforcer.api}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-core</artifactId>
+ <version>${version.org.apache.maven}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.inject</groupId>
+ <artifactId>javax.inject</artifactId>
+ <version>1</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-junit-jupiter</artifactId>
+ <version>${version.org.mockito}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.assertj</groupId>
+ <artifactId>assertj-core</artifactId>
+ <version>${version.org.assertj}</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven.enforcer</groupId>
+ <artifactId>enforcer-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-core</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.inject</groupId>
+ <artifactId>javax.inject</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-junit-jupiter</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.assertj</groupId>
+ <artifactId>assertj-core</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <!-- generate index of project components -->
+ <groupId>org.eclipse.sisu</groupId>
+ <artifactId>sisu-maven-plugin</artifactId>
+ <version>${version.sisu.maven.plugin}</version>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ <plugins>
+ <plugin>
+ <!-- generate index of project components -->
+ <groupId>org.eclipse.sisu</groupId>
+ <artifactId>sisu-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>main-index</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
\ No newline at end of file
diff --git a/kie-no-dependency-management-enforcer-rule/src/main/java/org/kie/nodependencymanagementrule/NoDependencyManagementRule.java b/kie-no-dependency-management-enforcer-rule/src/main/java/org/kie/nodependencymanagementrule/NoDependencyManagementRule.java
new file mode 100644
index 0000000000..e3e742edaa
--- /dev/null
+++ b/kie-no-dependency-management-enforcer-rule/src/main/java/org/kie/nodependencymanagementrule/NoDependencyManagementRule.java
@@ -0,0 +1,112 @@
+/*
+ * 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.
+ */
+package org.kie.nodependencymanagementrule;
+
+import java.util.Objects;
+
+import javax.inject.Inject;
+import javax.inject.Named;
+
+import java.util.Set;
+import org.apache.maven.enforcer.rule.api.AbstractEnforcerRule;
+import org.apache.maven.enforcer.rule.api.EnforcerRuleException;
+import org.apache.maven.model.DependencyManagement;
+import org.apache.maven.model.Profile;
+import org.apache.maven.project.MavenProject;
+
+/**
+ * No DependencyManagement Enforcer Rule
+ * This rule is meant to forbid dependencyManagement tag in pom
+ */
+@Named("noDependencyManagementRule")
+public class NoDependencyManagementRule extends AbstractEnforcerRule {
+
+ // Inject needed Maven components
+ private final MavenProject project;
+
+ /**
+ * Set of allowed poms.
+ */
+ private Set<String> allowedPoms;
+
+ @Inject
+ public NoDependencyManagementRule(MavenProject project) {
+ this.project = Objects.requireNonNull(project);
+ }
+
+ public void execute() throws EnforcerRuleException {
+ if (!isAllowed(project.getGroupId(), project.getArtifactId())) {
+ checkForDependencyManagement();
+ }
+ }
+
+ void checkForDependencyManagement() throws EnforcerRuleException {
+ checkDependencyManagementInProject();
+ checkDependencyManagementInProfiles();
+ }
+
+ void checkDependencyManagementInProject() throws EnforcerRuleException {
+ if (invalidDependencyManagement(project.getDependencyManagement())) { // The getLocation("") retrieve the position, in the pom, of that specific dependencyManagement element; it is null when such an element is inherited
+ throw new EnforcerRuleException(String.format("The current pom %s:%s:%s has dependencyManagement tag!", project.getGroupId(), project.getArtifactId(), project.getVersion()));
+ }
+ }
+
+ void checkDependencyManagementInProfiles() throws EnforcerRuleException {
+ if (project.getModel().getProfiles() != null) {
+ for (Profile profile : project.getModel().getProfiles()) {
+ checkDependencyManagementInProfile(profile);
+ }
+ }
+ }
+
+ void checkDependencyManagementInProfile(Profile profile) throws EnforcerRuleException {
+ if (invalidDependencyManagement(profile.getDependencyManagement())) { // The getLocation("") retrieve the position, in the pom, of that specific dependencyManagement element; it is null when such an element is inherited
+ throw new EnforcerRuleException(String.format("The profile %s in the current pom %s:%s:%s has dependencyManagement tag!", profile.getId(), project.getGroupId(), project.getArtifactId(), project.getVersion()));
+ }
+ }
+
+ boolean invalidDependencyManagement(DependencyManagement dependencyManagement) {
+ return dependencyManagement != null && dependencyManagement.getLocation("") != null;
+ }
+
+ boolean isAllowed(String groupId, String artifactId) {
+ String ga = String.format("%s:%s", groupId, artifactId);
+ return allowedPoms != null && !allowedPoms.isEmpty() && allowedPoms.contains(ga);
+ }
+
+ /**
+ * A good practice is provided toString method for Enforcer Rule.
+ * <p>
+ * Output is used in verbose Maven logs, can help during investigate problems.
+ *
+ * @return rule description
+ */
+ @Override
+ public String toString() {
+ return "NoDependencyManagementRule";
+ }
+
+ /**
+ * This is introduced only for testing purpose
+ */
+ void setAllowedPoms(Set<String> allowedPoms) {
+ this.allowedPoms = allowedPoms;
+ }
+
+}
\ No newline at end of file
diff --git a/kie-no-dependency-management-enforcer-rule/src/test/java/org/kie/nodependencymanagementrule/NoDependencyManagementRuleTest.java b/kie-no-dependency-management-enforcer-rule/src/test/java/org/kie/nodependencymanagementrule/NoDependencyManagementRuleTest.java
new file mode 100644
index 0000000000..5e6b2d9b88
--- /dev/null
+++ b/kie-no-dependency-management-enforcer-rule/src/test/java/org/kie/nodependencymanagementrule/NoDependencyManagementRuleTest.java
@@ -0,0 +1,216 @@
+/*
+ * 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.
+ */
+package org.kie.nodependencymanagementrule;
+
+import static org.assertj.core.api.Assertions.assertThat;
+import static org.junit.jupiter.api.Assertions.*;
+import static org.mockito.Mockito.when;
+
+import java.util.List;
+import java.util.Set;
+import org.apache.maven.enforcer.rule.api.EnforcerRuleException;
+import org.apache.maven.model.DependencyManagement;
+import org.apache.maven.model.InputLocation;
+import org.apache.maven.model.Model;
+import org.apache.maven.model.Profile;
+import org.apache.maven.project.MavenProject;
+import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.extension.ExtendWith;
+import org.mockito.Mockito;
+import org.mockito.junit.jupiter.MockitoExtension;
+import org.mockito.junit.jupiter.MockitoSettings;
+import org.mockito.quality.Strictness;
+
+@ExtendWith(MockitoExtension.class)
+class NoDependencyManagementRuleTest {
+
+ private MavenProject project;
+
+ private Model model;
+
+ private NoDependencyManagementRule rule;
+
+ @BeforeEach
+ void setUp() {
+ model = Mockito.mock(Model.class);
+ project = Mockito.mock(MavenProject.class);
+ rule = new NoDependencyManagementRule(project);
+ }
+
+ @MockitoSettings(strictness = Strictness.LENIENT)
+ @Test
+ void executeValidWithAllowedPoms() {
+ DependencyManagement dependencyManagement = new DependencyManagement();
+ dependencyManagement.setLocation("", new InputLocation(2,2));
+ when(project.getDependencyManagement()).thenReturn(dependencyManagement);
+ when(project.getGroupId()).thenReturn("org.kie");
+ when(project.getArtifactId()).thenReturn("allowed-pom");
+ Set<String> allowedPoms = Set.of("org.kie:allowed-pom");
+ rule.setAllowedPoms(allowedPoms);
+ assertDoesNotThrow(() -> rule.execute());
+ }
+
+ @Test
+ void executeValidWithoutAllowedPoms() {
+ when(project.getDependencyManagement()).thenReturn(null);
+ when(project.getModel()).thenReturn(model);
+ when(project.getGroupId()).thenReturn("org.kie");
+ when(project.getArtifactId()).thenReturn("not-allowed-pom");
+ Set<String> allowedPoms = Set.of("org.kie:allowed-pom");
+ rule.setAllowedPoms(allowedPoms);
+ assertDoesNotThrow(() -> rule.execute());
+ }
+
+ @Test
+ void executeInvalidWithAllowedPoms() {
+ DependencyManagement dependencyManagement = new DependencyManagement();
+ dependencyManagement.setLocation("", new InputLocation(2,2));
+ when(project.getDependencyManagement()).thenReturn(dependencyManagement);
+ when(project.getGroupId()).thenReturn("org.kie");
+ when(project.getArtifactId()).thenReturn("not-allowed-pom");
+ Set<String> allowedPoms = Set.of("org.kie:allowed-pom");
+ rule.setAllowedPoms(allowedPoms);
+ assertThrows(EnforcerRuleException.class, () -> rule.execute());
+ }
+
+ @MockitoSettings(strictness = Strictness.LENIENT)
+ @Test
+ void executeInvalidWithoutAllowedPoms() {
+ DependencyManagement dependencyManagement = new DependencyManagement();
+ dependencyManagement.setLocation("", new InputLocation(2,2));
+ when(project.getDependencyManagement()).thenReturn(dependencyManagement);
+ when(project.getModel()).thenReturn(model);
+ when(project.getGroupId()).thenReturn("org.kie");
+ when(project.getArtifactId()).thenReturn("not-allowed-pom");
+ assertThrows(EnforcerRuleException.class, () -> rule.execute());
+ }
+
+ @Test
+ void checkDependencyManagementValid() {
+ when(project.getModel()).thenReturn(model);
+ assertDoesNotThrow(() -> rule.checkForDependencyManagement());
+ //---
+ DependencyManagement dependencyManagement = new DependencyManagement();
+ dependencyManagement.setLocation("some key", new InputLocation(2,2));
+ when(project.getDependencyManagement()).thenReturn(dependencyManagement);
+ assertDoesNotThrow(() -> rule.checkForDependencyManagement());
+
+ //--- /
+ List<Profile> profiles = List.of(new Profile(), new Profile());
+ when(model.getProfiles()).thenReturn(profiles);
+ when(project.getDependencyManagement()).thenReturn(null);
+ assertDoesNotThrow(() -> rule.checkForDependencyManagement());
+ }
+
+ @Test
+ void checkDependencyManagementInvalid() {
+ DependencyManagement dependencyManagement = new DependencyManagement();
+ dependencyManagement.setLocation("", new InputLocation(2,2));
+ when(project.getDependencyManagement()).thenReturn(dependencyManagement);
+ assertThrows(EnforcerRuleException.class, () -> rule.checkForDependencyManagement());
+
+ //--- /
+ Profile profile = new Profile();
+ profile.setDependencyManagement(dependencyManagement);
+ List<Profile> profiles = List.of(new Profile(), profile);
+ when(model.getProfiles()).thenReturn(profiles);
+ when(project.getModel()).thenReturn(model);
+ when(project.getDependencyManagement()).thenReturn(null);
+ assertThrows(EnforcerRuleException.class, () -> rule.checkForDependencyManagement());
+ }
+
+ @Test
+ void checkDependencyManagementInProjectValid() {
+ assertDoesNotThrow(() -> rule.checkDependencyManagementInProject());
+ }
+
+ @Test
+ void checkDependencyManagementInProjectInvalid() {
+ DependencyManagement dependencyManagement = new DependencyManagement();
+ dependencyManagement.setLocation("", new InputLocation(2,2));
+ when(project.getDependencyManagement()).thenReturn(dependencyManagement);
+ assertThrows(EnforcerRuleException.class, () -> rule.checkDependencyManagementInProject());
+ }
+
+ @Test
+ void checkDependencyManagementInProfilesValid() {
+ List<Profile> profiles = List.of(new Profile(), new Profile());
+ when(model.getProfiles()).thenReturn(profiles);
+ when(project.getModel()).thenReturn(model);
+ assertDoesNotThrow(() -> rule.checkDependencyManagementInProfiles());
+ }
+
+ @Test
+ void checkDependencyManagementInProfilesInvalid() {
+ DependencyManagement dependencyManagement = new DependencyManagement();
+ dependencyManagement.setLocation("", new InputLocation(2,2));
+ Profile profile = new Profile();
+ profile.setDependencyManagement(dependencyManagement);
+ List<Profile> profiles = List.of(new Profile(), profile);
+ when(model.getProfiles()).thenReturn(profiles);
+ when(project.getModel()).thenReturn(model);
+ assertThrows(EnforcerRuleException.class, () -> rule.checkDependencyManagementInProfiles());
+ }
+
+ @Test
+ void checkDependencyManagementInProfileValid() {
+ Profile profile = new Profile();
+ assertDoesNotThrow(() -> rule.checkDependencyManagementInProfile(profile));
+ }
+
+ @Test
+ void checkDependencyManagementInProfileInvalid() {
+ DependencyManagement dependencyManagement = new DependencyManagement();
+ dependencyManagement.setLocation("", new InputLocation(2,2));
+ Profile profile = new Profile();
+ profile.setDependencyManagement(dependencyManagement);
+ assertThrows(EnforcerRuleException.class, () -> rule.checkDependencyManagementInProfile(profile));
+ }
+
+ @Test
+ void invalidDependencyManagementTrue() {
+ DependencyManagement dependencyManagement = new DependencyManagement();
+ dependencyManagement.setLocation("", new InputLocation(2,2));
+ assertThat(rule.invalidDependencyManagement(dependencyManagement)).isTrue();
+ }
+
+ @Test
+ void invalidDependencyManagementFalse() {
+ DependencyManagement dependencyManagement = null;
+ assertThat(rule.invalidDependencyManagement(dependencyManagement)).isFalse();
+ dependencyManagement = new DependencyManagement();
+ assertThat(rule.invalidDependencyManagement(dependencyManagement)).isFalse();
+ }
+
+ @Test
+ void isAllowedTrue() {
+ Set<String> allowedPoms = Set.of("org.kie:allowed-pom");
+ rule.setAllowedPoms(allowedPoms);
+ assertThat(rule.isAllowed("org.kie", "allowed-pom")).isTrue();
+ }
+
+ @Test
+ void isAllowedFalse() {
+ assertThat(rule.isAllowed("org.kie", "allowed-pom")).isFalse();
+ Set<String> allowedPoms = Set.of("org.kie:allowed-pom");
+ rule.setAllowedPoms(allowedPoms);
+ assertThat(rule.isAllowed("org.kie", "not- allowed-pom")).isFalse();
+ }
+}
\ No newline at end of file
diff --git a/kie-no-external-managed-dependency-enforcer-rule/pom.xml b/kie-no-external-managed-dependency-enforcer-rule/pom.xml
new file mode 100644
index 0000000000..f3f21d3517
--- /dev/null
+++ b/kie-no-external-managed-dependency-enforcer-rule/pom.xml
@@ -0,0 +1,150 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ 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.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.kie</groupId>
+ <artifactId>drools-parent</artifactId>
+ <version>999-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>kie-no-external-managed-dependency-enforcer-rule</artifactId>
+ <name>Drools :: No External Managed Dependency Rule</name>
+ <description>Enforcer rule to forbid declaration of dependency management of artifacts not being part of the current multi-module project.</description>
+
+ <!-- Since the drools-build-parent pom depends on this rule, we can't inherit properties from it here -->
+ <properties>
+ <maven.compiler.source>17</maven.compiler.source>
+ <maven.compiler.target>17</maven.compiler.target>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <version.enforcer.api>3.6.2</version.enforcer.api>
+ <version.org.apache.maven>3.9.11</version.org.apache.maven>
+ <version.sisu.maven.plugin>1.0.0</version.sisu.maven.plugin>
+ </properties>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven.enforcer</groupId>
+ <artifactId>enforcer-api</artifactId>
+ <version>${version.enforcer.api}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-core</artifactId>
+ <version>${version.org.apache.maven}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-compat</artifactId>
+ <version>${version.org.apache.maven}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.inject</groupId>
+ <artifactId>javax.inject</artifactId>
+ <version>1</version>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven.enforcer</groupId>
+ <artifactId>enforcer-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-core</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.inject</groupId>
+ <artifactId>javax.inject</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <!-- generate index of project components -->
+ <groupId>org.eclipse.sisu</groupId>
+ <artifactId>sisu-maven-plugin</artifactId>
+ <version>${version.sisu.maven.plugin}</version>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ <plugins>
+ <plugin>
+ <!-- generate index of project components -->
+ <groupId>org.eclipse.sisu</groupId>
+ <artifactId>sisu-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>main-index</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-invoker-plugin</artifactId>
+ <configuration>
+ <skipInstallation>${skipITs}</skipInstallation>
+ <skipInvocation>${skipITs}</skipInvocation>
+ <!--<writeJunitReport>true</writeJunitReport>-->
+ <junitPackageName>org.kie.noexternalmanageddependencyrule</junitPackageName>
+ <postBuildHookScript>verify.groovy</postBuildHookScript>
+ <pomIncludes>
+ <pomInclude>*/pom.xml</pomInclude>
+ </pomIncludes>
+ <projectsDirectory>src/it</projectsDirectory>
+ <debug>true</debug>
+ <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
+ <logDirectory>${path.to.buildlog.directory}</logDirectory>
+ <filterProperties>
+ <org.kie.version>${project.version}</org.kie.version>
+ </filterProperties>
+ </configuration>
+ <executions>
+ <execution>
+ <id>integration-test</id>
+ <goals>
+ <goal>install</goal>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
\ No newline at end of file
diff --git a/kie-no-external-managed-dependency-enforcer-rule/src/it/noexternalmanageddependencyrule/invoker.properties b/kie-no-external-managed-dependency-enforcer-rule/src/it/noexternalmanageddependencyrule/invoker.properties
new file mode 100644
index 0000000000..fc68dc2d37
--- /dev/null
+++ b/kie-no-external-managed-dependency-enforcer-rule/src/it/noexternalmanageddependencyrule/invoker.properties
@@ -0,0 +1,27 @@
+#
+# 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.
+#
+
+# A comma or space separated list of goals/phases to execute, may
+# specify an empty list to execute the default goal of the IT project.
+# Environment variables used by maven plugins can be added here
+invoker.goals = clean validate
+invoker.buildResult = failure
+
+# Uncomment the following to debug invoker. Do note that you have to connect the remote debugger after "maven-invoker-plugin:3.2.0:run" has been print on console
+#invoker.mavenOpts=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
diff --git a/kie-ci/kie-ci-test-jars/kie-ci-test-bom/pom.xml b/kie-no-external-managed-dependency-enforcer-rule/src/it/noexternalmanageddependencyrule/module1/pom.xml
similarity index 67%
copy from kie-ci/kie-ci-test-jars/kie-ci-test-bom/pom.xml
copy to kie-no-external-managed-dependency-enforcer-rule/src/it/noexternalmanageddependencyrule/module1/pom.xml
index cccbd46e21..107bf02005 100644
--- a/kie-ci/kie-ci-test-jars/kie-ci-test-bom/pom.xml
+++ b/kie-no-external-managed-dependency-enforcer-rule/src/it/noexternalmanageddependencyrule/module1/pom.xml
@@ -23,31 +23,28 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
-
<parent>
- <groupId>org.kie.ci.test</groupId>
- <artifactId>kie-ci-test-jars</artifactId>
- <version>1.2.3.Final</version>
+ <groupId>org.foo.bar</groupId>
+ <artifactId>empty</artifactId>
+ <version>@org.kie.version@</version>
</parent>
- <artifactId>kie-ci-test-bom</artifactId>
- <packaging>pom</packaging>
+
+ <artifactId>module1</artifactId>
<properties>
- <java.module.name>org.kie.ci.test.bom</java.module.name>
+ <!-- To be overridden by poms with dependency management to point to actual root -->
+ <root_pom>../pom.xml</root_pom>
+ <!-- Used to define which artifact are allowed in dependency management even if not implemented in the multimodule project; e.g. if those are generated on-the-fly by script -->
+ <allowed_GA>org.drools:drools-docs</allowed_GA>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
- <groupId>org.kie.ci.test</groupId>
- <artifactId>kie-ci-test-jar</artifactId>
- <version>1.2.3.Final</version>
- </dependency>
- <dependency>
- <groupId>org.kie.ci.test</groupId>
- <artifactId>org.kie.ci.test.jar.with.dep</artifactId>
- <version>1.2.3.Final</version>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-docs</artifactId>
+ <version>${project.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
diff --git a/kie-ci/kie-ci-test-jars/kie-ci-test-bom/pom.xml b/kie-no-external-managed-dependency-enforcer-rule/src/it/noexternalmanageddependencyrule/module2/pom.xml
similarity index 69%
copy from kie-ci/kie-ci-test-jars/kie-ci-test-bom/pom.xml
copy to kie-no-external-managed-dependency-enforcer-rule/src/it/noexternalmanageddependencyrule/module2/pom.xml
index cccbd46e21..2f191c4e26 100644
--- a/kie-ci/kie-ci-test-jars/kie-ci-test-bom/pom.xml
+++ b/kie-no-external-managed-dependency-enforcer-rule/src/it/noexternalmanageddependencyrule/module2/pom.xml
@@ -23,33 +23,28 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
-
<parent>
- <groupId>org.kie.ci.test</groupId>
- <artifactId>kie-ci-test-jars</artifactId>
- <version>1.2.3.Final</version>
+ <groupId>org.foo.bar</groupId>
+ <artifactId>empty</artifactId>
+ <version>@org.kie.version@</version>
</parent>
- <artifactId>kie-ci-test-bom</artifactId>
- <packaging>pom</packaging>
+ <artifactId>module2</artifactId>
<properties>
- <java.module.name>org.kie.ci.test.bom</java.module.name>
+ <!-- To be overridden by poms with dependency management to point to actual root -->
+ <root_pom>../pom.xml</root_pom>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
- <groupId>org.kie.ci.test</groupId>
- <artifactId>kie-ci-test-jar</artifactId>
- <version>1.2.3.Final</version>
- </dependency>
- <dependency>
- <groupId>org.kie.ci.test</groupId>
- <artifactId>org.kie.ci.test.jar.with.dep</artifactId>
- <version>1.2.3.Final</version>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-docs</artifactId>
+ <version>${project.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
+
</project>
\ No newline at end of file
diff --git a/kie-no-external-managed-dependency-enforcer-rule/src/it/noexternalmanageddependencyrule/pom.xml b/kie-no-external-managed-dependency-enforcer-rule/src/it/noexternalmanageddependencyrule/pom.xml
new file mode 100644
index 0000000000..4eb6b5759e
--- /dev/null
+++ b/kie-no-external-managed-dependency-enforcer-rule/src/it/noexternalmanageddependencyrule/pom.xml
@@ -0,0 +1,105 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ 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.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>org.foo.bar</groupId>
+ <artifactId>empty</artifactId>
+ <version>@org.kie.version@</version>
+ <packaging>pom</packaging>
+
+ <properties>
+ <!-- To be overridden by poms with dependency management to point to actual root -->
+ <root_pom>./pom.xml</root_pom>
+ <!-- Used to define which artifact are allowed in dependency management even if not implemented in the multimodule project; e.g. if those are generated on-the-fly by script -->
+ <allowed_GA>org.kie:kie-no-external-managed-dependency-enforcer-rule</allowed_GA>
+ <version.maven.enforcer>3.3.0</version.maven.enforcer>
+ </properties>
+
+ <modules>
+ <module>module1</module>
+ <module>module2</module>
+ </modules>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.kie</groupId>
+ <artifactId>kie-no-external-managed-dependency-enforcer-rule</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.kie</groupId>
+ <artifactId>kie-no-external-managed-dependency-enforcer-rule</artifactId>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>${version.maven.enforcer}</version>
+ <dependencies>
+ <dependency>
+ <groupId>org.kie</groupId>
+ <artifactId>kie-no-external-managed-dependency-enforcer-rule</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>no-externalmanageddependency</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <noExternalManagedDependencyRule>
+ <rootPom>${root_pom}</rootPom>
+ <filteredGroupIds>org.kie,org.kie.kogito,org.drools,org.apache.kie.sonataflow,org.jbpm</filteredGroupIds>
+ <allowedGA>${allowed_GA}</allowedGA>
+ </noExternalManagedDependencyRule>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+
+</project>
\ No newline at end of file
diff --git a/kie-no-external-managed-dependency-enforcer-rule/src/it/noexternalmanageddependencyrule/verify.groovy b/kie-no-external-managed-dependency-enforcer-rule/src/it/noexternalmanageddependencyrule/verify.groovy
new file mode 100644
index 0000000000..70b3e3a1a7
--- /dev/null
+++ b/kie-no-external-managed-dependency-enforcer-rule/src/it/noexternalmanageddependencyrule/verify.groovy
@@ -0,0 +1,29 @@
+/**
+ * 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.
+ */
+
+
+String log = new File(basedir, 'build.log').text;
+
+log.contains("[INFO] empty .............................................. SUCCESS [ 0.179 s]")
+log.contains("[INFO] module1 ............................................ SUCCESS [ 0.008 s]")
+log.contains("[INFO] module2 ............................................ FAILURE [ 0.009 s]")
+log.contains("[INFO] BUILD FAILURE")
+log.contains("org.kie.noexternalmanageddependencyrule.NoExternalManagedDependencyRule failed with message:")
+log.contains("The current pom org.foo.bar:module2:999-SNAPSHOT-2026-05-14 has the following invalid managed dependencies:")
+log.contains("org.drools:drools-docs")
diff --git a/kie-no-external-managed-dependency-enforcer-rule/src/main/java/org/kie/noexternalmanageddependencyrule/NoExternalManagedDependencyRule.java b/kie-no-external-managed-dependency-enforcer-rule/src/main/java/org/kie/noexternalmanageddependencyrule/NoExternalManagedDependencyRule.java
new file mode 100644
index 0000000000..e9fca93dd0
--- /dev/null
+++ b/kie-no-external-managed-dependency-enforcer-rule/src/main/java/org/kie/noexternalmanageddependencyrule/NoExternalManagedDependencyRule.java
@@ -0,0 +1,211 @@
+/*
+ * 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.
+ */
+package org.kie.noexternalmanageddependencyrule;
+
+import java.io.File;
+import java.io.PrintWriter;
+import java.io.StringWriter;
+import java.util.HashSet;
+import java.util.Objects;
+
+import javax.inject.Inject;
+import javax.inject.Named;
+
+import java.util.Set;
+import org.apache.maven.enforcer.rule.api.AbstractEnforcerRule;
+import org.apache.maven.enforcer.rule.api.EnforcerRuleException;
+import org.apache.maven.execution.MavenSession;
+import org.apache.maven.model.Dependency;
+import org.apache.maven.model.DependencyManagement;
+import org.apache.maven.model.Profile;
+import org.apache.maven.project.MavenProject;
+import org.apache.maven.project.ProjectBuilder;
+
+/**
+ * No External Managed Dependency Enforcer Rule
+ * This rule is meant to forbid declaration of managed dependencies that are not part of the current multi-module maven project.
+ */
+@Named("noExternalManagedDependencyRule")
+public class NoExternalManagedDependencyRule extends AbstractEnforcerRule {
+
+ // Inject needed Maven components
+ private final MavenProject project;
+ private final ProjectBuilder projectBuilder;
+ private final MavenSession mavenSession;
+
+ /**
+ * Comma-separated set of group ids to check for
+ */
+ private Set<String> filteredGroupIds;
+
+ /**
+ * Comma-separated set of group:artifact that are allowed
+ */
+ private Set<String> allowedGA;
+ /**
+ * The relative path to the root of the current multimodule project.
+ */
+ private String rootPom;
+
+ @Inject
+ public NoExternalManagedDependencyRule(MavenProject project, ProjectBuilder projectBuilder, MavenSession mavenSession) {
+ this.project = Objects.requireNonNull(project);
+ this.projectBuilder = Objects.requireNonNull(projectBuilder);
+ this.mavenSession = Objects.requireNonNull(mavenSession);
+ }
+
+ public void execute() throws EnforcerRuleException {
+ if (rootPom == null || rootPom.isEmpty()) {
+ throw new EnforcerRuleException("The rootPom parameter is required and cannot be empty.");
+ }
+ if (filteredGroupIds == null || filteredGroupIds.isEmpty()) {
+ throw new EnforcerRuleException("The filteredGroupIds parameter is required and cannot be empty.");
+ }
+ if (project.getOriginalModel().getDependencyManagement() == null && (project.getOriginalModel().getProfiles() == null || project.getOriginalModel().getProfiles().stream().allMatch(profile -> profile.getDependencyManagement() == null))) {
+ // If there is no dependency management there is no need to check for managed dependencies
+ return;
+ }
+ checkForManagedDependencies();
+ }
+
+ private void checkForManagedDependencies() throws EnforcerRuleException {
+ MavenProject rootMavenProject = getRootMavenProject();
+ Set<Dependency> implementedDependencies = getImplementedDependencies(rootMavenProject);
+ checkForManagedDependenciesInProject(implementedDependencies);
+ checkForManagedDependenciesInProfiles(implementedDependencies);
+ }
+
+ private void checkForManagedDependenciesInProject(Set<Dependency> implementedDependencies) throws EnforcerRuleException {
+ Set<String> invalidManagedDependencies = invalidManagedDependencies(project.getOriginalModel().getDependencyManagement(), implementedDependencies);
+ if (!invalidManagedDependencies.isEmpty()) {
+ String invalidDependencies = String.join(",\r\n", invalidManagedDependencies);
+ throw new EnforcerRuleException(String.format("The current pom %s:%s:%s has the following invalid managed dependencies:\n" +
+ "%s", project.getGroupId(), project.getArtifactId(), project.getVersion(), invalidDependencies));
+ }
+ }
+
+ private void checkForManagedDependenciesInProfiles(Set<Dependency> implementedDependencies) throws EnforcerRuleException {
+ if (project.getOriginalModel().getProfiles() != null) {
+ for (Profile profile : project.getModel().getProfiles()) {
+ checkForManagedDependenciesInProfile(profile, implementedDependencies);
+ }
+ }
+ }
+
+ private void checkForManagedDependenciesInProfile(Profile profile, Set<Dependency> implementedDependencies) throws EnforcerRuleException {
+ Set<String> invalidManagedDependencies = invalidManagedDependencies(profile.getDependencyManagement(), implementedDependencies);
+ if (!invalidManagedDependencies.isEmpty()) {
+ String invalidDependencies = String.join(",\r\n", invalidManagedDependencies);
+ throw new EnforcerRuleException(String.format("The profile %s in the current pom %s:%s:%s has the following invalid managed dependencies:\r\n%s", profile.getId(), project.getGroupId(),
+ project.getArtifactId(), project.getVersion(), invalidDependencies));
+ }
+ }
+
+ private Set<String> invalidManagedDependencies(DependencyManagement dependencyManagement, Set<Dependency> implementedDependencies) {
+ Set<String> toReturn = new HashSet<>();
+ if (dependencyManagement != null) {
+ for (Dependency dependency : dependencyManagement.getDependencies()) {
+ if (!isAllowedGA(dependency) && isFiltered(dependency) && isNotAllowed(dependency, implementedDependencies)) {
+ toReturn.add(String.format("%s:%s:%s", dependency.getGroupId(), dependency.getArtifactId(), dependency.getVersion()));
+ }
+ }
+ }
+ return toReturn;
+ }
+
+ private boolean isAllowedGA(Dependency dependency) {
+ return allowedGA != null && allowedGA.stream()
+ .anyMatch(allowedGA -> allowedGA.equals(dependency.getGroupId() + ":" + dependency.getArtifactId()));
+ }
+
+ private boolean isFiltered(Dependency dependency) {
+ return filteredGroupIds.contains(dependency.getGroupId());
+ }
+
+ private boolean isNotAllowed(Dependency dependency, Set<Dependency> implementedDependencies) {
+ return implementedDependencies.stream()
+ .noneMatch(implementedDependency -> implementedDependency.getGroupId().equals(dependency.getGroupId()) && implementedDependency.getArtifactId().equals(dependency.getArtifactId()));
+ }
+
+ private Set<Dependency> getImplementedDependencies(MavenProject project) throws EnforcerRuleException {
+ Set<Dependency> toReturn = new HashSet<>();
+ populateImplementedDependencies(project, toReturn);
+ return toReturn;
+ }
+
+ private void populateImplementedDependencies(MavenProject project, Set<Dependency> toPopulate) throws EnforcerRuleException {
+ Set<String> nestedModules = new HashSet<>();
+ if (project.getModules() != null) {
+ nestedModules.addAll(project.getModules());
+ }
+ if (project.getModel().getProfiles() != null) {
+ for (Profile profile : project.getModel().getProfiles()) {
+ if (profile.getModules() != null) {
+ nestedModules.addAll(profile.getModules());
+ }
+ }
+ }
+ if (!nestedModules.isEmpty()) {
+ for (String module : nestedModules) {
+ String nestedModulePom = project.getBasedir().getAbsolutePath() + File.separator + module + File.separator + "pom.xml";
+ File nestedPom = new File(nestedModulePom);
+ MavenProject nestedMavenProject = getMavenProject(nestedPom);
+ Dependency dependency = new Dependency();
+ dependency.setGroupId(nestedMavenProject.getGroupId());
+ dependency.setArtifactId(nestedMavenProject.getArtifactId());
+ dependency.setVersion(nestedMavenProject.getVersion());
+ toPopulate.add(dependency);
+ populateImplementedDependencies(nestedMavenProject, toPopulate);
+ }
+ }
+ }
+
+ private MavenProject getRootMavenProject() throws EnforcerRuleException {
+ File rootPomFile = new File(project.getBasedir(), rootPom);
+ return getMavenProject(rootPomFile);
+ }
+
+ private MavenProject getMavenProject(File pomFile) throws EnforcerRuleException {
+ if (!pomFile.exists() || !pomFile.isFile() || !pomFile.canRead()) {
+ throw new EnforcerRuleException(String.format("The pomFile file %s does not exist or cannot be read.", pomFile.getAbsolutePath()));
+ }
+ try {
+ return projectBuilder.build(pomFile, mavenSession.getProjectBuildingRequest()).getProject();
+ } catch (Exception e) {
+ StringWriter sw = new StringWriter();
+ e.printStackTrace(new PrintWriter(sw));
+ String exceptionAsString = sw.toString();
+ getLog().error(exceptionAsString);
+ throw new EnforcerRuleException(String.format("Failed to build the Maven project from the pomFile file %s.", pomFile.getAbsolutePath()), e);
+ }
+ }
+
+ /**
+ * A good practice is provided toString method for Enforcer Rule.
+ * <p>
+ * Output is used in verbose Maven logs, can help during investigate problems.
+ *
+ * @return rule description
+ */
+ @Override
+ public String toString() {
+ return "NoExternalManagedDependencyRule";
+ }
+
+}
\ No newline at end of file
diff --git a/kie-dmn/kie-dmn-pmml-tests-parent/pom.xml b/kie-parent-drools/pom.xml
similarity index 58%
copy from kie-dmn/kie-dmn-pmml-tests-parent/pom.xml
copy to kie-parent-drools/pom.xml
index 09982a8ea3..23b48241e7 100644
--- a/kie-dmn/kie-dmn-pmml-tests-parent/pom.xml
+++ b/kie-parent-drools/pom.xml
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
-
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
@@ -8,38 +7,50 @@
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.
-
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
<parent>
- <artifactId>kie-dmn</artifactId>
<groupId>org.kie</groupId>
+ <artifactId>kie-parent</artifactId>
<version>999-SNAPSHOT</version>
+ <relativePath>../kie-parent/pom.xml</relativePath>
</parent>
- <modelVersion>4.0.0</modelVersion>
- <packaging>pom</packaging>
- <name>KiE :: Decision Model Notation - PMML Tests :: Parent</name>
- <artifactId>kie-dmn-pmml-tests-parent</artifactId>
+ <artifactId>kie-parent-drools</artifactId>
+ <packaging>pom</packaging>
+ <name>Kie :: Parent :: Drools</name>
- <modules>
- <module>kie-dmn-pmml-tests</module>
- <module>kie-dmn-pmml-tests-trusty</module>
- </modules>
+ <properties>
+ <!-- Used to define which poms are allowed to have dependencyManagement sections. This is to enforce the convention that only the root pom should have dependencyManagement, and all other poms should inherit from it. -->
+ <allowedPomsList>org.kie:kie-parent-drools</allowedPomsList>
+ </properties>
<dependencyManagement>
<dependencies>
+ <dependency>
+ <groupId>org.kie</groupId>
+ <artifactId>kie-core-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
<dependency>
<groupId>org.kie</groupId>
<artifactId>kie-dmn-bom</artifactId>
@@ -49,34 +60,29 @@
</dependency>
<dependency>
<groupId>org.kie</groupId>
- <artifactId>kie-dmn-core</artifactId>
- <classifier>tests</classifier>
- <scope>test</scope>
+ <artifactId>kie-pmml-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.kie</groupId>
+ <artifactId>kie-efesto-bom</artifactId>
<version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
</dependency>
<dependency>
<groupId>org.kie</groupId>
- <artifactId>kie-dmn-validation</artifactId>
- <classifier>tests</classifier>
- <scope>test</scope>
+ <artifactId>kie-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.kie</groupId>
- <artifactId>kie-dmn-pmml-tests</artifactId>
- <classifier>tests</classifier>
- <scope>test</scope>
+ <artifactId>efesto-dependencies</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-engine</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
-</project>
+</project>
\ No newline at end of file
diff --git a/build-parent/pom.xml b/kie-parent/pom.xml
similarity index 64%
copy from build-parent/pom.xml
copy to kie-parent/pom.xml
index 89ab809ff0..7c308c4541 100644
--- a/build-parent/pom.xml
+++ b/kie-parent/pom.xml
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
-
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
@@ -8,276 +7,366 @@
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.
-
-->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
<parent>
- <artifactId>drools-parent</artifactId>
<groupId>org.kie</groupId>
+ <artifactId>drools-parent</artifactId>
<version>999-SNAPSHOT</version>
</parent>
- <modelVersion>4.0.0</modelVersion>
-
- <artifactId>drools-build-parent</artifactId>
- <name>Drools :: Build Parent</name>
+ <artifactId>kie-parent</artifactId>
<packaging>pom</packaging>
-
+ <name>Kie :: Parent</name>
<properties>
- <maven.compiler.release>17</maven.compiler.release>
-
- <surefire.forkCount>1</surefire.forkCount>
- <alphanetworkCompilerEnabled>false</alphanetworkCompilerEnabled>
-
- <checkstyle.failOnViolation>true</checkstyle.failOnViolation>
+ <!-- Used to define which poms are allowed to have dependencyManagement sections. This is to enforce the convention that only the root pom should have dependencyManagement, and all other poms should inherit from it. -->
+ <allowedPomsList>org.kie:kie-parent</allowedPomsList>
+ <!-- Used to define wich artifact are allowed in dependency management even if not implemented in the multimodule project; e.g. if those are generated on-the-fly by script -->
+ <allowed_GA></allowed_GA>
+ <buildlogs.dir>build_logs</buildlogs.dir>
+ <!-- CHECKSTYLE -->
+ <checkstyle.failOnViolation>false</checkstyle.failOnViolation>
+ <checkstyle.header.extensions>java</checkstyle.header.extensions>
+ <checkstyle.header.template>.*</checkstyle.header.template>
<checkstyle.logViolationsToConsole>true</checkstyle.logViolationsToConsole>
- <drools.exclude.checkstyle></drools.exclude.checkstyle>
-
- <victims.updates>weekly</victims.updates>
+ <drools.exclude.checkstyle/>
+ <!-- ENFORCER -->
+ <!-- set to "none" to disable the ban-duplicated-classes rule -->
+ <enforcer.ban-duplicated-classes.phase>none</enforcer.ban-duplicated-classes.phase>
+ <enforcer.failOnBannedDependencies>true</enforcer.failOnBannedDependencies>
+ <enforcer.failOnDuplicatedClasses>true</enforcer.failOnDuplicatedClasses>
+ <!-- set to "none" to disable the no-managed-deps rule -->
+ <enforcer.no-managed-deps.phase>initialize</enforcer.no-managed-deps.phase>
<illegaltransitivereportonly>false</illegaltransitivereportonly>
+ <!-- JaCoCo -->
+ <!-- JaCoCo coverage data file location -->
+ <jacoco.exec.file>${project.root.dir}/target/jacoco.exec</jacoco.exec.file>
+ <!-- Jacoco plugin configurations -->
+ <jacoco.haltOnFailure>false</jacoco.haltOnFailure>
+ <jacoco.line.coveredratio.minimum>0.9</jacoco.line.coveredratio.minimum>
+ <!-- This property needs to be defined in all modules that use the packaging 'jar' or 'bundle'. It is
+ being used by different plugins to make sure the module/bundle names are consistent. -->
+ <java.module.name/>
+ <latestReleasedVersionFromThisBranch>notYetReleased</latestReleasedVersionFromThisBranch>
+ <maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
+ <maven.compiler.source>17</maven.compiler.source>
+ <maven.compiler.target>17</maven.compiler.target>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <!--suppress UnresolvedMavenProperty -->
+ <project.root.dir>${maven.multiModuleProjectDirectory}</project.root.dir>
+ <!-- Used by noExternalManagedDependencyRule -->
+ <!-- Should point to the topmost multimodule pom.xml -->
+ <!-- To be overridden by poms with dependency management to point to actual root -->
+ <root_pom>../pom.xml</root_pom>
+ <!-- Set to "true" on every project that has no violations. -->
+ <spotbugs.failOnViolation>false</spotbugs.failOnViolation>
+ <surefire.forkCount>1</surefire.forkCount>
<!--
- CONVENTIONS:
- - A version property must be specified in the format "version.{groupId}", optionally with a suffix to make it unique.
- - Version properties must be sorted alphabetically (other form of sorting were found to be unclear and ambiguous).
- -->
+ CONVENTIONS:
+ - A version property must be specified in the format "version.{groupId}", optionally with a suffix to make it unique.
+ - Version properties must be sorted alphabetically (other form of sorting were found to be unclear and ambiguous).
+ -->
+ <version.angus.mail>2.0.5</version.angus.mail>
+ <version.antlr>2.7.7</version.antlr>
+ <version.ant-apache-regexp>1.8.2</version.ant-apache-regexp>
+ <version.apache.commons.commons-compress>1.28.0</version.apache.commons.commons-compress>
+ <version.archunit.junit5>1.4.0</version.archunit.junit5>
+ <!-- plugin used to enforce architectural constraints -->
+ <version.archunit.maven.plugin>4.0.2</version.archunit.maven.plugin>
+ <version.artifact.transfer>0.9.1</version.artifact.transfer>
+ <version.asciidoctor-maven-plugin>2.0.0-RC.1</version.asciidoctor-maven-plugin>
+ <version.at.yawk.lz4.java>1.10.1</version.at.yawk.lz4.java>
+ <version.black.ninia>4.2.0</version.black.ninia>
+ <version.build.helper.maven.plugin>3.4.0</version.build.helper.maven.plugin>
+ <version.ch.obermuhlner>2.0.1</version.ch.obermuhlner>
<version.ch.qos.logback>1.5.32</version.ch.qos.logback>
- <version.commons-codec>1.19.0</version.commons-codec>
- <version.commons-collections>3.2.2</version.commons-collections>
- <version.commons-logging>1.1.1</version.commons-logging>
- <version.commons-io>2.20.0</version.commons-io>
- <version.common-text>1.14.0</version.common-text>
<version.com.fasterxml.jackson>2.21.2</version.com.fasterxml.jackson>
- <version.com.fasterxml.jackson.databind>2.21.2</version.com.fasterxml.jackson.databind>
<version.com.fasterxml.jackson.annotations>2.21</version.com.fasterxml.jackson.annotations>
- <version.com.github.victools>4.37.0</version.com.github.victools> <!-- victools should align with Jackson if possible -->
- <version.com.miglayout>3.7.4</version.com.miglayout>
- <version.domino-slf4j-logger>1.0.1</version.domino-slf4j-logger>
+ <version.com.fasterxml.jackson.databind>2.21.2</version.com.fasterxml.jackson.databind>
+ <version.com.fasterxml.jackson.datatype>2.21.2</version.com.fasterxml.jackson.datatype>
+ <version.com.github.docker-java>3.7.1</version.com.github.docker-java><!-- align with testcontainers ABI; Quarkus BOM pins older docker-java missing ImageHistoryCmd -->
+ <version.com.github.eirslett>1.15.1</version.com.github.eirslett>
+ <version.com.github.haifengl.smile>1.5.2</version.com.github.haifengl.smile>
+ <version.com.github.javaparser>3.27.0</version.com.github.javaparser>
+ <!-- replaces findbugs-maven-plugin -->
+ <version.com.github.spotbugs-maven-plugin>4.9.8.3</version.com.github.spotbugs-maven-plugin>
+ <version.com.github.stephenc.jcip>1.0-1</version.com.github.stephenc.jcip>
+ <version.com.github.victools>4.37.0</version.com.github.victools>
+ <version.com.google.collections>1.0</version.com.google.collections>
+ <version.com.google.gson>2.13.2</version.com.google.gson>
+ <version.com.google.guava>33.4.8-jre</version.com.google.guava>
<version.com.google.protobuf>3.25.5</version.com.google.protobuf>
+ <version.com.graphql-java>25.0</version.com.graphql-java>
+ <version.com.graphql-java-extended-scalars>24.0</version.com.graphql-java-extended-scalars>
+ <version.com.h2>2.4.240</version.com.h2>
<version.com.h2database>2.4.240</version.com.h2database>
+ <version.com.jayway.jsonpath>2.9.0</version.com.jayway.jsonpath>
+ <!-- victools should align with Jackson if possible -->
+ <version.com.miglayout>3.7.4</version.com.miglayout>
+ <version.com.networknt>1.0.86</version.com.networknt>
<version.com.networknt.json-schema-validator>1.0.86</version.com.networknt.json-schema-validator>
+ <version.com.ongres.scram>3.2</version.com.ongres.scram>
+ <version.com.squareup.okhttp3>4.12.0</version.com.squareup.okhttp3>
+ <version.com.sun.activation>2.0.2</version.com.sun.activation>
<version.com.sun.xml.bind>4.0.5</version.com.sun.xml.bind>
+ <version.com.sun.xml.bind.core>4.0.5</version.com.sun.xml.bind.core>
<version.com.thoughtworks.xstream>1.4.21</version.com.thoughtworks.xstream>
+ <version.common-text>1.14.0</version.common-text>
+ <version.common.compress>1.28.0</version.common.compress>
+ <version.common.exec>1.3</version.common.exec>
+ <version.commons-codec>1.19.0</version.commons-codec>
+ <version.commons-collections>3.2.2</version.commons-collections>
+ <version.commons-io>2.20.0</version.commons-io>
+ <version.commons-logging>1.1.1</version.commons-logging>
+ <version.compiler.plugin>3.13.0</version.compiler.plugin>
+ <version.copy-rename-maven-plugin>1.0</version.copy-rename-maven-plugin>
+ <version.dependency-plugin>3.6.1</version.dependency-plugin>
+ <version.domino-slf4j-logger>1.0.1</version.domino-slf4j-logger>
+ <!-- download-maven-plugin used to download arbitrary files at compile time -->
+ <version.download-maven-plugin>2.0.0</version.download-maven-plugin>
+ <version.enforce-managed-deps-rule>1.3</version.enforce-managed-deps-rule>
+ <version.enforce-victims-rule>1.3.4</version.enforce-victims-rule>
+ <version.exec-maven-plugin>1.5.0</version.exec-maven-plugin>
+ <version.extra-enforcer-rules>1.0</version.extra-enforcer-rules>
+ <version.graalvm>22.0.0.2</version.graalvm>
+ <version.gradle>8.11.1</version.gradle>
<version.guru.nidi>0.18.0</version.guru.nidi>
+ <version.illegal-transitive-dependency-check>1.7.4</version.illegal-transitive-dependency-check>
<version.info.picocli>4.7.7</version.info.picocli>
+ <version.io.cloudevents>3.0.0</version.io.cloudevents>
+ <version.io.fabric8>7.3.1</version.io.fabric8>
+ <version.io.fabric8.kubernetes-client>7.3.1</version.io.fabric8.kubernetes-client>
+ <version.io.grpc>1.76.0</version.io.grpc>
<version.io.micrometer>1.16.4</version.io.micrometer>
- <version.io.quarkus>3.27.3</version.io.quarkus>
<version.io.netty>4.1.133.Final</version.io.netty>
- <version.io.smallrye.openapi.core>4.0.12</version.io.smallrye.openapi.core>
+ <version.io.opentelemetry>1.0.0-alpha</version.io.opentelemetry>
+ <version.io.rest-assured>5.5.6</version.io.rest-assured>
+ <version.io.smallrye-config>3.13.4</version.io.smallrye-config>
+ <version.io.smallrye-health>4.2.0</version.io.smallrye-health>
+ <version.io.smallrye-open-api>4.0.12</version.io.smallrye-open-api>
<version.io.smallrye.config.core>3.13.4</version.io.smallrye.config.core>
- <version.org.apache.kafka>4.1.2</version.org.apache.kafka>
-
+ <version.io.smallrye.jandex>3.4.0</version.io.smallrye.jandex>
+ <version.io.smallrye.mutiny>2.9.5</version.io.smallrye.mutiny>
+ <version.io.smallrye.openapi.core>4.0.12</version.io.smallrye.openapi.core>
+ <version.io.smallrye.reactive.messaging.in.memory>4.28.0</version.io.smallrye.reactive.messaging.in.memory>
+ <version.io.smallrye.reactive.mutiny-vertx-web-client>3.21.3</version.io.smallrye.reactive.mutiny-vertx-web-client>
+ <!-- Mutiny Zero Flow Adapters -->
+ <version.io.smallrye.reactive.mutiny-zero>1.1.1</version.io.smallrye.reactive.mutiny-zero>
+ <version.io.swagger.core.v3>2.2.38</version.io.swagger.core.v3>
+ <version.io.swagger.parser.v3>2.1.34</version.io.swagger.parser.v3>
+ <version.io.vertx>4.5.27</version.io.vertx>
<version.it.unimi.dsi.fastutil>8.5.11</version.it.unimi.dsi.fastutil>
+ <version.jacoco.plugin>0.8.11</version.jacoco.plugin>
+ <version.jakarta.activation>2.0.3</version.jakarta.activation>
+ <version.jakarta.activation-api>2.1.4</version.jakarta.activation-api>
+ <version.jakarta.annotation-api>3.0.0</version.jakarta.annotation-api>
+ <version.jakarta.enterprise.cdi-api>4.1.0</version.jakarta.enterprise.cdi-api>
+ <version.jakarta.inject-api>2.0.1</version.jakarta.inject-api>
+ <version.jakarta.json>1.1.7</version.jakarta.json>
+ <version.jakarta.json-api>2.1.3</version.jakarta.json-api>
+ <version.jakarta.json.bind-api>3.0.1</version.jakarta.json.bind-api>
+ <version.jakarta.persistence-api>3.2.0</version.jakarta.persistence-api>
+ <version.jakarta.transaction-api>2.0.1</version.jakarta.transaction-api>
+ <version.jakarta.validation-api>3.1.1</version.jakarta.validation-api>
+ <version.jakarta.ws.rs>3.1.0</version.jakarta.ws.rs>
+ <version.jakarta.xml.bind-api>4.0.4</version.jakarta.xml.bind-api>
+ <version.javax.inject>1</version.javax.inject>
+ <version.jaxb2-maven-plugin>2.2</version.jaxb2-maven-plugin>
+ <!-- JDepend plugin -->
+ <version.jdepend.maven.plugin>2.0</version.jdepend.maven.plugin>
+ <!-- DROOLS-7140 Drools 8 enforce JDK and Maven versions as a rule -->
+ <version.jdk>${maven.compiler.release}</version.jdk>
<!-- JUnit 4 API for legacy test classes that still use org.junit.* annotations.
- junit-vintage-engine (part of JUnit 6, see version.org.junit) runs them on the JUnit Platform. -->
+ junit-vintage-engine (part of JUnit 6) runs them on the JUnit Platform. -->
<version.junit>4.13.2</version.junit>
+ <version.lifecycle-mapping>1.0.0</version.lifecycle-mapping>
+ <version.maven>${version.org.apache.maven}</version.maven>
+ <!-- These are added as part of the migration from JBoss to Apache parent pom.xml. They may be extracted to a KIE parent bom. -->
+ <version.maven-checkstyle>3.3.0</version.maven-checkstyle>
+ <version.maven.enforcer>3.3.0</version.maven.enforcer>
+ <version.maven-javadoc-plugin.override>3.6.2</version.maven-javadoc-plugin.override>
+ <!-- Note: following ones are two different plugins -->
+ <version.maven.invoker>3.2.0</version.maven.invoker>
+ <version.maven-invoker-plugin>3.6.1</version.maven-invoker-plugin>
+ <version.maven.min>3.8.1</version.maven.min>
+ <version.maven.plugin>3.15.1</version.maven.plugin>
+ <version.maven.project>2.2.1</version.maven.project>
+ <version.maven.resolver.api>1.7.3</version.maven.resolver.api>
+ <version.mongodb-driver-sync>5.5.1</version.mongodb-driver-sync>
+ <version.nashorn>15.3</version.nashorn>
+ <version.native2ascii-maven-plugin>1.0-beta-1</version.native2ascii-maven-plugin>
+ <version.net.byte-buddy>1.17.6</version.net.byte-buddy>
<version.net.java.dev.glazedlists>1.8.0</version.net.java.dev.glazedlists>
- <version.antlr>2.7.7</version.antlr>
+ <version.net.minidev.jsonsmart>2.4.10</version.net.minidev.jsonsmart>
+ <version.net.sf.saxon.Saxon-HE>12.7</version.net.sf.saxon.Saxon-HE>
+ <version.net.thisptr.jackson-jq>1.0.0-preview.20240207</version.net.thisptr.jackson-jq>
<version.org.antlr>3.5.2</version.org.antlr>
<version.org.antlr.ST4>4.0.7</version.org.antlr.ST4>
+ <!-- External dependency versions bom -->
+ <!-- ################################################################################ -->
+ <!-- New and overwritten dependencies -->
+ <!-- ################################################################################ -->
+ <version.org.antlr4>4.13.2</version.org.antlr4>
<version.org.apache.ant>1.10.11</version.org.apache.ant>
+ <version.org.apache.avro>1.12.1</version.org.apache.avro>
+ <version.org.apache.commons>3.19.0</version.org.apache.commons>
+ <version.org.apache.commons.csv>1.10.0</version.org.apache.commons.csv>
<version.org.apache.commons.lang3>3.19.0</version.org.apache.commons.lang3>
<version.org.apache.commons.math3>3.6.1</version.org.apache.commons.math3>
+ <version.org.apache.groovy>4.0.29</version.org.apache.groovy>
<version.org.apache.httpcomponents.httpcore>4.4.16</version.org.apache.httpcomponents.httpcore>
+ <version.org.apache.kafka>4.1.2</version.org.apache.kafka>
<version.org.apache.maven>3.9.11</version.org.apache.maven>
<version.org.apache.maven.resolver>1.7.3</version.org.apache.maven.resolver>
<version.org.apache.maven.wagon>3.5.3</version.org.apache.maven.wagon>
+ <version.org.apache.openjpa>4.0.0</version.org.apache.openjpa>
+ <version.org.apache.opennlp>2.5.9</version.org.apache.opennlp>
<version.org.apache.pdfbox>2.0.28</version.org.apache.pdfbox>
<version.org.apache.poi>5.4.1</version.org.apache.poi>
+ <version.org.apache.tomcat>6.0.53</version.org.apache.tomcat>
<version.org.apache.tomcat.tomcat-dbcp>10.1.48</version.org.apache.tomcat.tomcat-dbcp>
+ <!-- therefore the property is rewritten in that repository parent -->
+ <version.org.asciidoctor.asciidoctorj>2.2.0</version.org.asciidoctor.asciidoctorj>
+ <version.org.asciidoctor.asciidoctorj-pdf>1.5.0</version.org.asciidoctor.asciidoctorj-pdf>
<version.org.assertj>3.27.7</version.org.assertj>
+ <version.org.awaitility>4.3.0</version.org.awaitility>
+ <version.org.bouncycastle.bc.jdk18on>1.84</version.org.bouncycastle.bc.jdk18on>
+ <version.org.codehaus.plexus.plexus-utils>3.6.1</version.org.codehaus.plexus.plexus-utils>
<version.org.eclipse.jdt>3.44.0</version.org.eclipse.jdt>
+ <version.org.eclipse.jetty.jakarta.servlet.api>5.0.2</version.org.eclipse.jetty.jakarta.servlet.api>
+ <version.org.eclipse.microprofile.config>3.1</version.org.eclipse.microprofile.config>
+ <version.org.eclipse.microprofile.openapi>4.0.2</version.org.eclipse.microprofile.openapi>
+ <version.org.eclipse.yasson>3.0.4</version.org.eclipse.yasson>
+ <version.org.flywaydb>11.14.1</version.org.flywaydb>
<version.org.freemarker>2.3.34</version.org.freemarker>
<version.org.glassfish.jaxb>4.0.6</version.org.glassfish.jaxb>
+ <version.org.graalvm.nativeimage>23.1.2</version.org.graalvm.nativeimage>
<!--This needs to be in sync with JUnit-->
<version.org.hamcrest>3.0</version.org.hamcrest>
+ <version.org.hamcrest.hamcrest-all>1.3</version.org.hamcrest.hamcrest-all>
+ <version.org.hibernate>7.1.18.Final</version.org.hibernate>
<version.org.hsqldb>2.7.1</version.org.hsqldb>
<version.org.infinispan>15.2.6.Final</version.org.infinispan>
<version.org.infinispan.protostream>5.0.13.Final</version.org.infinispan.protostream>
<version.org.javassist>3.26.0-GA</version.org.javassist>
- <version.org.jboss.narayana.tomcat>7.2.2.Final</version.org.jboss.narayana.tomcat>
+ <version.org.jboss.arquillian.selenium>3.13.0</version.org.jboss.arquillian.selenium>
<version.org.jboss.logging>3.6.1.Final</version.org.jboss.logging>
+ <version.org.jboss.logmanager>3.2.1.Final</version.org.jboss.logmanager>
+ <version.org.jboss.logmanager.embedded>1.2.0.Final</version.org.jboss.logmanager.embedded>
+ <version.org.jboss.narayana.tomcat>7.2.2.Final</version.org.jboss.narayana.tomcat>
+ <version.org.jboss.resteasy>6.2.12.Final</version.org.jboss.resteasy>
<version.org.jboss.transaction.spi>8.0.0.Final</version.org.jboss.transaction.spi>
<version.org.jboss.weld.weld>3.1.6.Final</version.org.jboss.weld.weld>
- <version.org.eclipse.microprofile.config>3.1</version.org.eclipse.microprofile.config>
- <version.jakarta.enterprise.cdi-api>4.1.0</version.jakarta.enterprise.cdi-api>
- <version.jakarta.activation>2.0.3</version.jakarta.activation>
- <version.jakarta.activation-api>2.1.4</version.jakarta.activation-api>
- <version.jakarta.inject-api>2.0.1</version.jakarta.inject-api>
- <version.jakarta.annotation-api>3.0.0</version.jakarta.annotation-api>
- <version.jakarta.transaction-api>2.0.1</version.jakarta.transaction-api>
- <version.jakarta.persistence-api>3.2.0</version.jakarta.persistence-api>
- <version.jakarta.xml.bind-api>4.0.4</version.jakarta.xml.bind-api>
- <version.jakarta.json.bind-api>3.0.1</version.jakarta.json.bind-api>
- <version.jakarta.json>1.1.7</version.jakarta.json>
- <version.jakarta.json-api>2.1.3</version.jakarta.json-api>
- <version.org.apache.openjpa>4.0.0</version.org.apache.openjpa>
- <version.org.jpmml.model>1.6.4</version.org.jpmml.model> <!-- jpmml-model BSD 3C license - ATTENTION 1.5.1 intentional, because 1.5.1 evaluators works with 1.5.1 -->
- <!-- JUnit 6: single version property for jupiter + platform + vintage artifacts. See version.junit above for the legacy JUnit 4 API. -->
+ <version.org.jpmml.model>1.6.4</version.org.jpmml.model>
+ <version.org.jredisearch>2.2.0</version.org.jredisearch>
+ <version.org.json>20231013</version.org.json>
+ <version.org.json-unit-assertj>2.9.0</version.org.json-unit-assertj>
+ <!-- JUnit 6: single version property for jupiter + platform + vintage artifacts. See version.junit above for the legacy JUnit 4 API. -->
<version.org.junit>6.0.3</version.org.junit>
+ <version.org.keycloak>26.1.0</version.org.keycloak>
+ <version.org.mapstruct>1.5.5.Final</version.org.mapstruct>
+ <version.org.mockito>5.18.0</version.org.mockito>
+ <version.org.mongo>5.3.1</version.org.mongo>
+ <version.org.mozilla.rhino>1.8.1</version.org.mozilla.rhino>
+ <!-- Keep synchronized with junit-jupiter (middle and minor should be the same) -->
<version.org.mvel>2.5.2.Final</version.org.mvel>
+ <!-- Version of JMH -->
+ <version.org.openjdk.jmh>1.21</version.org.openjdk.jmh>
+ <version.org.postgresql>42.7.11</version.org.postgresql>
<version.org.powermock>2.0.9</version.org.powermock>
+ <version.org.reactivestreams>1.0.4</version.org.reactivestreams>
+ <version.org.reflections>0.10.2</version.org.reflections>
+ <version.org.rocksdb>7.10.2</version.org.rocksdb>
+ <version.org.skyscreamer>1.5.1</version.org.skyscreamer>
<version.org.slf4j>2.0.17</version.org.slf4j>
- <!-- simple-jndi is a small library that helps us avoid JNDI error messages during testing -->
- <version.simple-jndi>0.11.4.1</version.simple-jndi>
- <version.xerces>2.12.0.SP04</version.xerces>
- <version.com.squareup.okhttp3>4.12.0</version.com.squareup.okhttp3>
-
- <!-- External dependency versions bom -->
- <!-- ################################################################################ -->
- <!-- New and overwritten dependencies -->
- <!-- ################################################################################ -->
-
- <version.org.antlr4>4.13.2</version.org.antlr4>
- <version.org.jboss.arquillian.selenium>3.13.0</version.org.jboss.arquillian.selenium>
- <version.io.swagger.core.v3>2.2.38</version.io.swagger.core.v3>
- <version.io.swagger.parser.v3>2.1.34</version.io.swagger.parser.v3>
- <version.org.xmlunit>2.10.4</version.org.xmlunit>
- <!-- therefore the property is rewritten in that repository parent -->
- <version.org.asciidoctor.asciidoctorj>2.2.0</version.org.asciidoctor.asciidoctorj>
- <version.org.asciidoctor.asciidoctorj-pdf>1.5.0</version.org.asciidoctor.asciidoctorj-pdf>
+ <version.org.spockframework>2.2-groovy-4.0</version.org.spockframework>
+ <version.org.springdoc>2.8.13</version.org.springdoc>
+ <version.org.testcontainers>2.0.4</version.org.testcontainers>
+ <version.org.testcontainers.junit-jupiter>1.21.4</version.org.testcontainers.junit-jupiter>
+ <version.org.testcontainers.postgresql>1.21.4</version.org.testcontainers.postgresql>
<version.org.w3c.dom>2.3.0-jaxb-1.0.6</version.org.w3c.dom>
- <version.org.mockito>5.18.0</version.org.mockito>
- <!-- Version of JMH -->
- <version.org.openjdk.jmh>1.21</version.org.openjdk.jmh>
-
- <maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
-
- <!-- This property needs to be defined in all modules that use the packaging 'jar' or 'bundle'. It is
- being used by different plugins to make sure the module/bundle names are consistent. -->
- <java.module.name/>
-
+ <version.org.webjars.bootstrap>5.1.3</version.org.webjars.bootstrap>
+ <version.org.webjars.jquery>3.6.0</version.org.webjars.jquery>
+ <version.org.wiremock>3.13.0</version.org.wiremock>
+ <version.org.wiremock.webhooks>3.0.4</version.org.wiremock.webhooks>
+ <version.org.xmlunit>2.10.4</version.org.xmlunit>
+ <version.org.xmlunit-core>2.10.4</version.org.xmlunit-core>
+ <version.org.yaml.snakeyaml>2.6</version.org.yaml.snakeyaml>
+ <version.pitest-maven>1.2.0</version.pitest-maven>
+ <version.plexus>2.2.0</version.plexus>
+ <version.plexus.classworld>2.9.0</version.plexus.classworld>
+ <version.plexus.container>2.1.1</version.plexus.container>
+ <version.plugin.annotations>3.15.1</version.plugin.annotations>
<!-- Add for kie-maven-plugin -->
<version.plugin.plugin>3.10.2</version.plugin.plugin>
- <version.plugin.annotations>3.15.1</version.plugin.annotations>
- <version.artifact.transfer>0.9.1</version.artifact.transfer>
- <version.shared.utils>3.4.2</version.shared.utils>
- <version.common.compress>1.28.0</version.common.compress>
- <version.common.exec>1.3</version.common.exec>
- <version.com.github.eirslett>1.15.1</version.com.github.eirslett>
- <!-- -->
- <!-- Jacoco plugin configurations -->
- <jacoco.haltOnFailure>false</jacoco.haltOnFailure>
- <jacoco.line.coveredratio.minimum>0.9</jacoco.line.coveredratio.minimum>
- <version.jacoco.plugin>0.8.11</version.jacoco.plugin>
- <!-- TODO: remove this once all repositories comply to the defined checkstyle rules -->
- <checkstyle.failOnViolation>false</checkstyle.failOnViolation>
- <checkstyle.logViolationsToConsole>false</checkstyle.logViolationsToConsole>
- <checkstyle.header.template>.*</checkstyle.header.template>
- <checkstyle.header.extensions>java</checkstyle.header.extensions>
- <enforcer.failOnDuplicatedClasses>true</enforcer.failOnDuplicatedClasses>
- <enforcer.failOnBannedDependencies>true</enforcer.failOnBannedDependencies>
- <!-- Set to "true" on every project that has no violations. -->
- <spotbugs.failOnViolation>false</spotbugs.failOnViolation>
- <version.com.github.spotbugs-maven-plugin>4.9.8.3</version.com.github.spotbugs-maven-plugin>
-
- <version.maven.min>3.8.1</version.maven.min>
- <!-- property for productisation to know the last released version -->
- <latestReleasedVersionFromThisBranch>notYetReleased</latestReleasedVersionFromThisBranch>
-
- <version.compiler.plugin>3.13.0</version.compiler.plugin>
- <version.shade.plugin>3.3.0</version.shade.plugin>
-
- <version.net.byte-buddy>1.17.6</version.net.byte-buddy>
-
- <version.org.postgresql>42.7.11</version.org.postgresql>
-
- <version.ch.obermuhlner>2.0.1</version.ch.obermuhlner>
- <version.io.smallrye.jandex>3.4.0</version.io.smallrye.jandex>
- <version.org.eclipse.yasson>3.0.4</version.org.eclipse.yasson>
- <version.org.yaml.snakeyaml>2.6</version.org.yaml.snakeyaml>
-
- <version.com.github.javaparser>3.27.0</version.com.github.javaparser>
-
- <version.com.google.guava>33.4.8-jre</version.com.google.guava>
-
- <!-- JaCoCo coverage data file location -->
- <!--suppress UnresolvedMavenProperty -->
- <project.root.dir>${maven.multiModuleProjectDirectory}</project.root.dir>
- <jacoco.exec.file>${project.root.dir}/target/jacoco.exec</jacoco.exec.file>
-
- <version.org.awaitility>4.3.0</version.org.awaitility>
-
- <!-- DROOLS-7140 Drools 8 enforce JDK and Maven versions as a rule -->
- <version.jdk>${maven.compiler.release}</version.jdk>
- <version.maven>${version.org.apache.maven}</version.maven>
-
- <!-- These are added as part of the migration from JBoss to Apache parent pom.xml. They may be extracted to a KIE parent bom. -->
- <version.maven-checkstyle>3.3.0</version.maven-checkstyle>
- <version.build.helper.maven.plugin>3.4.0</version.build.helper.maven.plugin>
- <version.maven-javadoc-plugin.override>3.6.2</version.maven-javadoc-plugin.override>
-
- <!-- download-maven-plugin used to download arbitrary files at compile time -->
- <version.download-maven-plugin>2.0.0</version.download-maven-plugin>
+ <!-- TODO: This version comes from kogito-runtimes : double check-->
+ <version.plugin.testing.harness>4.0.0-alpha-2</version.plugin.testing.harness>
+ <version.project-sources-maven-plugin>0.3</version.project-sources-maven-plugin>
<version.property-maven-plugin>1.2.1</version.property-maven-plugin>
- <!-- plugin used to enforce architectural constraints -->
- <version.archunit.maven.plugin>4.0.2</version.archunit.maven.plugin>
- <version.archunit.junit5>1.4.0</version.archunit.junit5>
-
- <version.io.vertx>4.5.27</version.io.vertx>
- <version.org.codehaus.plexus.plexus-utils>3.6.1</version.org.codehaus.plexus.plexus-utils>
+ <!-- OpenRewrite plugin -->
+ <version.rewrite.maven.plugin>4.42.0</version.rewrite.maven.plugin>
+ <version.rewrite.testing.frameworks>1.22.0</version.rewrite.testing.frameworks>
+ <version.shade.plugin>3.3.0</version.shade.plugin>
+ <version.shared.utils>3.4.2</version.shared.utils>
+ <!-- simple-jndi is a small library that helps us avoid JNDI error messages during testing -->
+ <version.simple-jndi>0.11.4.1</version.simple-jndi>
+ <version.sisu.inject>1.4.2</version.sisu.inject>
+ <version.sonar-maven-plugin>3.6.0.1398</version.sonar-maven-plugin>
+ <version.tomcat.embed.core>11.0.22</version.tomcat.embed.core>
+ <version.versions-maven-plugin>2.10.0</version.versions-maven-plugin>
+ <version.wildfly-maven-plugin>1.2.0.Final</version.wildfly-maven-plugin>
+ <version.xerces>2.12.0.SP04</version.xerces>
+ <version.xml-maven-plugin>1.0</version.xml-maven-plugin>
</properties>
-
<dependencyManagement>
<dependencies>
- <!-- Version overrides to fix vulnerabilities. -->
- <!-- Override vertx-core version from Quarkus 3.27.3 BOM (CVE fix) -->
+ <!--Both antlr:antlr and org.antlr:antlr-runtime is needed. They are completely different.-->
<dependency>
- <groupId>io.vertx</groupId>
- <artifactId>vertx-core</artifactId>
- <version>${version.io.vertx}</version>
+ <groupId>antlr</groupId>
+ <artifactId>antlr</artifactId>
+ <version>${version.antlr}</version>
</dependency>
<dependency>
- <groupId>io.vertx</groupId>
- <artifactId>vertx-web</artifactId>
- <version>${version.io.vertx}</version>
+ <groupId>at.yawk.lz4</groupId>
+ <artifactId>lz4-java</artifactId>
+ <version>${version.at.yawk.lz4.java}</version>
</dependency>
<dependency>
- <groupId>org.codehaus.plexus</groupId>
- <artifactId>plexus-utils</artifactId>
- <version>${version.org.codehaus.plexus.plexus-utils}</version>
+ <groupId>black.ninia</groupId>
+ <artifactId>jep</artifactId>
+ <version>${version.black.ninia}</version>
</dependency>
- <!-- Version overrides to fix vulnerabilities - end -->
-
- <!-- Keep in sync with groupId org.slf4j -->
+ <!-- used by DMN for BigDecimal arithmetics -->
+ <dependency>
+ <groupId>ch.obermuhlner</groupId>
+ <artifactId>big-math</artifactId>
+ <version>${version.ch.obermuhlner}</version>
+ </dependency>
+ <!-- kie server controller over websockets -->
<dependency>
<groupId>ch.qos.logback</groupId>
- <artifactId>logback-core</artifactId>
+ <artifactId>logback-classic</artifactId>
<version>${version.ch.qos.logback}</version>
</dependency>
-
- <!-- Keep in sync with groupId org.apache.commons -->
- <dependency>
- <groupId>commons-codec</groupId>
- <artifactId>commons-codec</artifactId>
- <version>${version.commons-codec}</version>
- </dependency>
- <dependency>
- <groupId>commons-collections</groupId>
- <artifactId>commons-collections</artifactId>
- <version>${version.commons-collections}</version>
- </dependency>
+ <!-- Keep in sync with groupId org.slf4j -->
<dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <version>${version.commons-io}</version>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-core</artifactId>
+ <version>${version.ch.qos.logback}</version>
</dependency>
<dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-text</artifactId>
- <version>${version.common-text}</version>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-annotations</artifactId>
+ <version>${version.com.fasterxml.jackson.annotations}</version>
</dependency>
-
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
@@ -288,224 +377,215 @@
<artifactId>jackson-databind</artifactId>
<version>${version.com.fasterxml.jackson.databind}</version>
</dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-annotations</artifactId>
- <version>${version.com.fasterxml.jackson.annotations}</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.module</groupId>
- <artifactId>jackson-module-jakarta-xmlbind-annotations</artifactId>
- <version>${version.com.fasterxml.jackson}</version>
- </dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
- <artifactId>jackson-dataformat-yaml</artifactId>
+ <artifactId>jackson-dataformat-avro</artifactId>
<version>${version.com.fasterxml.jackson}</version>
</dependency>
<dependency>
- <groupId>com.fasterxml.jackson.jakarta.rs</groupId>
- <artifactId>jackson-jakarta-rs-json-provider</artifactId>
+ <groupId>com.fasterxml.jackson.dataformat</groupId>
+ <artifactId>jackson-dataformat-cbor</artifactId>
<version>${version.com.fasterxml.jackson}</version>
</dependency>
<dependency>
- <groupId>com.fasterxml.jackson.jaxrs</groupId>
- <artifactId>jackson-jaxrs-base</artifactId>
+ <groupId>com.fasterxml.jackson.dataformat</groupId>
+ <artifactId>jackson-dataformat-smile</artifactId>
<version>${version.com.fasterxml.jackson}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
- <artifactId>jackson-dataformat-smile</artifactId>
+ <artifactId>jackson-dataformat-xml</artifactId>
<version>${version.com.fasterxml.jackson}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
- <artifactId>jackson-dataformat-cbor</artifactId>
+ <artifactId>jackson-dataformat-yaml</artifactId>
<version>${version.com.fasterxml.jackson}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
- <artifactId>jackson-datatype-jsr310</artifactId>
+ <artifactId>jackson-datatype-jakarta-jsonp</artifactId>
<version>${version.com.fasterxml.jackson}</version>
</dependency>
-
- <!-- Forced version of the majority of general netty dependencies. This is to enforce an aligned netty libraries version in transitive dependencies, due to possible CVEs. -->
<dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-buffer</artifactId>
- <version>${version.io.netty}</version>
+ <groupId>com.fasterxml.jackson.datatype</groupId>
+ <artifactId>jackson-datatype-jdk8</artifactId>
+ <version>${version.com.fasterxml.jackson}</version>
</dependency>
<dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-codec</artifactId>
- <version>${version.io.netty}</version>
+ <groupId>com.fasterxml.jackson.datatype</groupId>
+ <artifactId>jackson-datatype-json-org</artifactId>
+ <version>${version.com.fasterxml.jackson}</version>
</dependency>
<dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-codec-dns</artifactId>
- <version>${version.io.netty}</version>
+ <groupId>com.fasterxml.jackson.datatype</groupId>
+ <artifactId>jackson-datatype-jsr310</artifactId>
+ <version>${version.com.fasterxml.jackson}</version>
</dependency>
<dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-codec-haproxy</artifactId>
- <version>${version.io.netty}</version>
+ <groupId>com.fasterxml.jackson.jakarta.rs</groupId>
+ <artifactId>jackson-jakarta-rs-json-provider</artifactId>
+ <version>${version.com.fasterxml.jackson}</version>
</dependency>
<dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-codec-http</artifactId>
- <version>${version.io.netty}</version>
+ <groupId>com.fasterxml.jackson.jaxrs</groupId>
+ <artifactId>jackson-jaxrs-base</artifactId>
+ <version>${version.com.fasterxml.jackson}</version>
</dependency>
<dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-codec-http2</artifactId>
- <version>${version.io.netty}</version>
+ <groupId>com.fasterxml.jackson.module</groupId>
+ <artifactId>jackson-module-jakarta-xmlbind-annotations</artifactId>
+ <version>${version.com.fasterxml.jackson}</version>
</dependency>
<dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-codec-memcache</artifactId>
- <version>${version.io.netty}</version>
+ <groupId>com.fasterxml.jackson.module</groupId>
+ <artifactId>jackson-module-parameter-names</artifactId>
+ <version>${version.com.fasterxml.jackson}</version>
</dependency>
<dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-codec-mqtt</artifactId>
- <version>${version.io.netty}</version>
+ <groupId>com.github.docker-java</groupId>
+ <artifactId>docker-java-api</artifactId>
+ <version>${version.com.github.docker-java}</version>
</dependency>
<dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-codec-redis</artifactId>
- <version>${version.io.netty}</version>
+ <groupId>com.github.docker-java</groupId>
+ <artifactId>docker-java-transport-zerodep</artifactId>
+ <version>${version.com.github.docker-java}</version>
</dependency>
<dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-codec-smtp</artifactId>
- <version>${version.io.netty}</version>
+ <groupId>com.github.haifengl</groupId>
+ <artifactId>smile-core</artifactId>
+ <version>${version.com.github.haifengl.smile}</version>
</dependency>
<dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-codec-socks</artifactId>
- <version>${version.io.netty}</version>
+ <groupId>com.github.javaparser</groupId>
+ <artifactId>javaparser-core</artifactId>
+ <version>${version.com.github.javaparser}</version>
</dependency>
<dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-codec-stomp</artifactId>
- <version>${version.io.netty}</version>
+ <groupId>com.github.javaparser</groupId>
+ <artifactId>javaparser-symbol-solver-core</artifactId>
+ <version>${version.com.github.javaparser}</version>
</dependency>
<dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-codec-xml</artifactId>
- <version>${version.io.netty}</version>
+ <groupId>com.github.stephenc.jcip</groupId>
+ <artifactId>jcip-annotations</artifactId>
+ <version>${version.com.github.stephenc.jcip}</version>
+ <scope>test</scope>
</dependency>
<dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-common</artifactId>
- <version>${version.io.netty}</version>
+ <groupId>com.github.victools</groupId>
+ <artifactId>jsonschema-generator</artifactId>
+ <version>${version.com.github.victools}</version>
</dependency>
<dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-dev-tools</artifactId>
- <version>${version.io.netty}</version>
+ <groupId>com.github.victools</groupId>
+ <artifactId>jsonschema-module-jackson</artifactId>
+ <version>${version.com.github.victools}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>com.fasterxml</groupId>
+ <artifactId>classmate</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-core</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-handler</artifactId>
- <version>${version.io.netty}</version>
+ <groupId>com.google.code.gson</groupId>
+ <artifactId>gson</artifactId>
+ <version>${version.com.google.gson}</version>
</dependency>
<dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-handler-proxy</artifactId>
- <version>${version.io.netty}</version>
+ <groupId>com.google.collections</groupId>
+ <artifactId>google-collections</artifactId>
+ <version>${version.com.google.collections}</version>
</dependency>
+ <!-- Used inside kie-ci -->
<dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-handler-ssl-ocsp</artifactId>
- <version>${version.io.netty}</version>
+ <groupId>com.google.guava</groupId>
+ <artifactId>guava</artifactId>
+ <version>${version.com.google.guava}</version>
</dependency>
<dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-resolver</artifactId>
- <version>${version.io.netty}</version>
+ <groupId>com.google.protobuf</groupId>
+ <artifactId>protobuf-java</artifactId>
+ <version>${version.com.google.protobuf}</version>
</dependency>
<dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-resolver-dns</artifactId>
- <version>${version.io.netty}</version>
+ <groupId>com.google.protobuf</groupId>
+ <artifactId>protobuf-java-util</artifactId>
+ <version>${version.com.google.protobuf}</version>
</dependency>
<dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-transport</artifactId>
- <version>${version.io.netty}</version>
+ <groupId>com.graphql-java</groupId>
+ <artifactId>graphql-java</artifactId>
+ <version>${version.com.graphql-java}</version>
</dependency>
<dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-transport-rxtx</artifactId>
- <version>${version.io.netty}</version>
+ <groupId>com.graphql-java</groupId>
+ <artifactId>graphql-java-extended-scalars</artifactId>
+ <version>${version.com.graphql-java-extended-scalars}</version>
</dependency>
<dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-transport-sctp</artifactId>
- <version>${version.io.netty}</version>
+ <groupId>com.h2database</groupId>
+ <artifactId>h2</artifactId>
+ <version>${version.com.h2database}</version>
</dependency>
<dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-transport-udt</artifactId>
- <version>${version.io.netty}</version>
+ <groupId>com.jayway.jsonpath</groupId>
+ <artifactId>json-path</artifactId>
+ <version>${version.com.jayway.jsonpath}</version>
</dependency>
<dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-all</artifactId>
- <version>${version.io.netty}</version>
+ <groupId>com.jayway.jsonpath</groupId>
+ <artifactId>json-path-assert</artifactId>
+ <version>${version.com.jayway.jsonpath}</version>
</dependency>
-
<dependency>
- <groupId>com.github.victools</groupId>
- <artifactId>jsonschema-generator</artifactId>
- <version>${version.com.github.victools}</version>
+ <groupId>com.miglayout</groupId>
+ <artifactId>miglayout</artifactId>
+ <version>${version.com.miglayout}</version>
</dependency>
+ <!-- used by JUnit test suite for JSON Schema conformance -->
<dependency>
- <groupId>com.github.victools</groupId>
- <artifactId>jsonschema-module-jackson</artifactId>
- <version>${version.com.github.victools}</version>
+ <groupId>com.networknt</groupId>
+ <artifactId>json-schema-validator</artifactId>
+ <version>${version.com.networknt}</version>
<exclusions>
<exclusion>
- <groupId>com.fasterxml</groupId>
- <artifactId>classmate</artifactId>
- </exclusion>
- <exclusion>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-core</artifactId>
- </exclusion>
- <exclusion>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-databind</artifactId>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-lang3</artifactId>
</exclusion>
</exclusions>
</dependency>
-
<dependency>
- <groupId>com.google.protobuf</groupId>
- <artifactId>protobuf-java</artifactId>
- <version>${version.com.google.protobuf}</version>
+ <groupId>com.ongres.scram</groupId>
+ <artifactId>scram-client</artifactId>
+ <version>${version.com.ongres.scram}</version>
</dependency>
-
<dependency>
- <groupId>com.h2database</groupId>
- <artifactId>h2</artifactId>
- <version>${version.com.h2database}</version>
+ <groupId>com.redislabs</groupId>
+ <artifactId>jredisearch</artifactId>
+ <version>${version.org.jredisearch}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.json</groupId>
+ <artifactId>json</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
-
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>${version.com.squareup.okhttp3}</version>
</dependency>
-
- <dependency>
- <groupId>com.networknt</groupId>
- <artifactId>json-schema-validator</artifactId>
- <version>${version.com.networknt.json-schema-validator}</version>
- <scope>test</scope> <!-- used by JUnit test suite for JSON Schema conformance -->
- </dependency>
-
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId>
@@ -522,450 +602,1315 @@
</exclusion>
</exclusions>
</dependency>
-
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
<version>${version.com.thoughtworks.xstream}</version>
</dependency>
-
+ <dependency>
+ <groupId>com.tngtech.archunit</groupId>
+ <artifactId>archunit-junit5</artifactId>
+ <version>${version.archunit.junit5}</version>
+ <scope>test</scope>
+ </dependency>
+ <!-- Keep in sync with groupId org.apache.commons -->
+ <dependency>
+ <groupId>commons-codec</groupId>
+ <artifactId>commons-codec</artifactId>
+ <version>${version.commons-codec}</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-collections</groupId>
+ <artifactId>commons-collections</artifactId>
+ <version>${version.commons-collections}</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
+ <version>${version.commons-io}</version>
+ </dependency>
+ <dependency>
+ <groupId>dev.gradleplugins</groupId>
+ <artifactId>gradle-api</artifactId>
+ <version>${version.gradle}</version>
+ </dependency>
+ <dependency>
+ <groupId>dev.gradleplugins</groupId>
+ <artifactId>gradle-test-kit</artifactId>
+ <version>${version.gradle}</version>
+ </dependency>
<dependency>
<groupId>guru.nidi</groupId>
<artifactId>graphviz-java</artifactId>
<version>${version.guru.nidi}</version>
</dependency>
-
- <dependency>
- <groupId>javax.inject</groupId>
- <artifactId>javax.inject</artifactId>
- <version>1</version>
- </dependency>
-
<dependency>
<groupId>info.picocli</groupId>
<artifactId>picocli</artifactId>
<version>${version.info.picocli}</version>
</dependency>
-
<dependency>
- <groupId>io.smallrye</groupId>
- <artifactId>smallrye-open-api-core</artifactId>
- <version>${version.io.smallrye.openapi.core}</version>
+ <groupId>io.cloudevents</groupId>
+ <artifactId>cloudevents-api</artifactId>
+ <version>${version.io.cloudevents}</version>
</dependency>
-
<dependency>
- <groupId>io.smallrye.config</groupId>
- <artifactId>smallrye-config</artifactId>
- <version>${version.io.smallrye.config.core}</version>
- <exclusions>
- <exclusion>
- <groupId>org.osgi</groupId>
- <artifactId>org.osgi.annotation.versioning</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.ow2.asm</groupId>
- <artifactId>asm</artifactId>
- </exclusion>
- </exclusions>
+ <groupId>io.cloudevents</groupId>
+ <artifactId>cloudevents-core</artifactId>
+ <version>${version.io.cloudevents}</version>
</dependency>
-
<dependency>
- <groupId>org.eclipse.parsson</groupId>
- <artifactId>parsson</artifactId>
- <version>${version.jakarta.json}</version>
+ <groupId>io.cloudevents</groupId>
+ <artifactId>cloudevents-http-restful-ws</artifactId>
+ <version>${version.io.cloudevents}</version>
</dependency>
<dependency>
- <groupId>org.glassfish.jaxb</groupId>
- <artifactId>jaxb-runtime</artifactId>
- <version>${version.org.glassfish.jaxb}</version>
- <exclusions>
- <exclusion>
- <groupId>javax.xml.bind</groupId>
- <artifactId>jaxb-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.activation</groupId>
- <artifactId>javax.activation-api</artifactId>
- </exclusion>
- </exclusions>
+ <groupId>io.cloudevents</groupId>
+ <artifactId>cloudevents-http-restful-ws-jakarta</artifactId>
+ <version>${version.io.cloudevents}</version>
</dependency>
<dependency>
- <groupId>org.glassfish.jaxb</groupId>
- <artifactId>jaxb-xjc</artifactId>
- <version>${version.org.glassfish.jaxb}</version>
+ <groupId>io.cloudevents</groupId>
+ <artifactId>cloudevents-http-vertx</artifactId>
+ <version>${version.io.cloudevents}</version>
</dependency>
<dependency>
- <groupId>jakarta.json.bind</groupId>
- <artifactId>jakarta.json.bind-api</artifactId>
- <version>${version.jakarta.json.bind-api}</version>
+ <groupId>io.cloudevents</groupId>
+ <artifactId>cloudevents-json-jackson</artifactId>
+ <version>${version.io.cloudevents}</version>
</dependency>
<dependency>
- <groupId>jakarta.json</groupId>
- <artifactId>jakarta.json-api</artifactId>
- <version>${version.jakarta.json-api}</version>
+ <groupId>io.cloudevents</groupId>
+ <artifactId>cloudevents-kafka</artifactId>
+ <version>${version.io.cloudevents}</version>
</dependency>
-
+ <!-- fabric8 dependencies -->
<dependency>
- <groupId>org.eclipse.angus</groupId>
- <artifactId>angus-activation</artifactId>
- <version>${version.jakarta.activation}</version>
+ <groupId>io.fabric8</groupId>
+ <artifactId>knative-client</artifactId>
+ <version>${version.io.fabric8.kubernetes-client}</version>
</dependency>
<dependency>
- <groupId>jakarta.activation</groupId>
- <artifactId>jakarta.activation-api</artifactId>
- <version>${version.jakarta.activation-api}</version>
+ <groupId>io.fabric8</groupId>
+ <artifactId>knative-model</artifactId>
+ <version>${version.io.fabric8.kubernetes-client}</version>
</dependency>
<dependency>
- <groupId>jakarta.annotation</groupId>
- <artifactId>jakarta.annotation-api</artifactId>
- <version>${version.jakarta.annotation-api}</version>
+ <groupId>io.fabric8</groupId>
+ <artifactId>kubernetes-client</artifactId>
+ <version>${version.io.fabric8.kubernetes-client}</version>
</dependency>
<dependency>
- <groupId>jakarta.transaction</groupId>
- <artifactId>jakarta.transaction-api</artifactId>
- <version>${version.jakarta.transaction-api}</version>
+ <groupId>io.fabric8</groupId>
+ <artifactId>kubernetes-client-api</artifactId>
+ <version>${version.io.fabric8.kubernetes-client}</version>
</dependency>
<dependency>
- <groupId>jakarta.persistence</groupId>
- <artifactId>jakarta.persistence-api</artifactId>
- <version>${version.jakarta.persistence-api}</version>
+ <groupId>io.fabric8</groupId>
+ <artifactId>kubernetes-client-bom</artifactId>
+ <version>${version.io.fabric8}</version>
+ <type>pom</type>
+ <scope>import</scope>
</dependency>
<dependency>
- <groupId>jakarta.xml.bind</groupId>
- <artifactId>jakarta.xml.bind-api</artifactId>
- <version>${version.jakarta.xml.bind-api}</version>
+ <groupId>io.fabric8</groupId>
+ <artifactId>kubernetes-server-mock</artifactId>
+ <version>${version.io.fabric8.kubernetes-client}</version>
</dependency>
<dependency>
- <groupId>jakarta.inject</groupId>
- <artifactId>jakarta.inject-api</artifactId>
- <version>${version.jakarta.inject-api}</version>
+ <groupId>io.fabric8</groupId>
+ <artifactId>openshift-client</artifactId>
+ <version>${version.io.fabric8}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>io.fabric8</groupId>
+ <artifactId>openshift-model-config</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
-
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>${version.junit}</version>
+ <groupId>io.fabric8</groupId>
+ <artifactId>openshift-client-api</artifactId>
+ <version>${version.io.fabric8.kubernetes-client}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>io.fabric8</groupId>
+ <artifactId>openshift-model-config</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
+ <!-- gRPC dependencies -->
<dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-api</artifactId>
- <version>${version.org.junit}</version>
+ <groupId>io.grpc</groupId>
+ <artifactId>grpc-api</artifactId>
+ <version>${version.io.grpc}</version>
</dependency>
<dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter</artifactId>
- <version>${version.org.junit}</version>
+ <groupId>io.grpc</groupId>
+ <artifactId>grpc-context</artifactId>
+ <version>${version.io.grpc}</version>
</dependency>
<dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-engine</artifactId>
- <version>${version.org.junit}</version>
+ <groupId>io.grpc</groupId>
+ <artifactId>grpc-core</artifactId>
+ <version>${version.io.grpc}</version>
</dependency>
<dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-params</artifactId>
- <version>${version.org.junit}</version>
+ <groupId>io.grpc</groupId>
+ <artifactId>grpc-netty</artifactId>
+ <version>${version.io.grpc}</version>
</dependency>
<dependency>
- <groupId>org.junit.vintage</groupId>
- <artifactId>junit-vintage-engine</artifactId>
- <version>${version.org.junit}</version>
+ <groupId>io.grpc</groupId>
+ <artifactId>grpc-netty-shaded</artifactId>
+ <version>${version.io.grpc}</version>
</dependency>
<dependency>
- <groupId>org.junit.platform</groupId>
- <artifactId>junit-platform-commons</artifactId>
- <version>${version.org.junit}</version>
+ <groupId>io.grpc</groupId>
+ <artifactId>grpc-protobuf</artifactId>
+ <version>${version.io.grpc}</version>
</dependency>
<dependency>
- <groupId>org.junit.platform</groupId>
- <artifactId>junit-platform-engine</artifactId>
- <version>${version.org.junit}</version>
+ <groupId>io.grpc</groupId>
+ <artifactId>grpc-protobuf-lite</artifactId>
+ <version>${version.io.grpc}</version>
</dependency>
<dependency>
- <groupId>org.junit.platform</groupId>
- <artifactId>junit-platform-launcher</artifactId>
- <version>${version.org.junit}</version>
+ <groupId>io.grpc</groupId>
+ <artifactId>grpc-stub</artifactId>
+ <version>${version.io.grpc}</version>
</dependency>
-
<dependency>
- <groupId>net.java.dev.glazedlists</groupId>
- <artifactId>glazedlists_java15</artifactId>
- <version>${version.net.java.dev.glazedlists}</version>
+ <groupId>io.grpc</groupId>
+ <artifactId>grpc-util</artifactId>
+ <version>${version.io.grpc}</version>
</dependency>
-
- <!--Both antlr:antlr and org.antlr:antlr-runtime is needed. They are completely different.-->
+ <!-- Used by drools-metric -->
<dependency>
- <groupId>antlr</groupId>
- <artifactId>antlr</artifactId>
- <version>${version.antlr}</version>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-core</artifactId>
+ <version>${version.io.micrometer}</version>
</dependency>
-
<dependency>
- <groupId>org.antlr</groupId>
- <artifactId>antlr-runtime</artifactId>
- <version>${version.org.antlr}</version>
- <exclusions>
- <exclusion>
- <groupId>org.antlr</groupId>
- <artifactId>stringtemplate</artifactId>
- </exclusion>
- </exclusions>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-registry-elastic</artifactId>
+ <version>${version.io.micrometer}</version>
</dependency>
<dependency>
- <groupId>org.antlr</groupId>
- <artifactId>antlr</artifactId>
- <version>${version.org.antlr}</version>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-registry-prometheus</artifactId>
+ <version>${version.io.micrometer}</version>
</dependency>
+ <!-- Forced version of the majority of general netty dependencies. This is to enforce an aligned netty libraries version in transitive dependencies, due to possible CVEs. -->
<dependency>
- <groupId>org.antlr</groupId>
- <artifactId>gunit</artifactId>
- <version>${version.org.antlr}</version>
- <exclusions>
- <exclusion>
- <groupId>org.antlr</groupId>
- <artifactId>stringtemplate</artifactId>
- </exclusion>
- </exclusions>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-all</artifactId>
+ <version>${version.io.netty}</version>
</dependency>
<dependency>
- <groupId>org.antlr</groupId>
- <artifactId>ST4</artifactId>
- <version>${version.org.antlr.ST4}</version>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-buffer</artifactId>
+ <version>${version.io.netty}</version>
</dependency>
-
<dependency>
- <groupId>org.dominokit</groupId>
- <artifactId>domino-slf4j-logger</artifactId>
- <version>${version.domino-slf4j-logger}</version>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-codec</artifactId>
+ <version>${version.io.netty}</version>
</dependency>
-
<dependency>
- <groupId>org.apache.ant</groupId>
- <artifactId>ant</artifactId>
- <version>${version.org.apache.ant}</version>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-codec-dns</artifactId>
+ <version>${version.io.netty}</version>
</dependency>
-
<dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-compress</artifactId>
- <version>${version.common.compress}</version>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-codec-haproxy</artifactId>
+ <version>${version.io.netty}</version>
</dependency>
<dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-exec</artifactId>
- <version>${version.common.exec}</version>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-codec-http</artifactId>
+ <version>${version.io.netty}</version>
</dependency>
-
- <!-- Keep in sync with groupId commons-* -->
<dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-lang3</artifactId>
- <version>${version.org.apache.commons.lang3}</version>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-codec-http2</artifactId>
+ <version>${version.io.netty}</version>
</dependency>
<dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-math3</artifactId>
- <version>${version.org.apache.commons.math3}</version>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-codec-memcache</artifactId>
+ <version>${version.io.netty}</version>
</dependency>
-
<dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-artifact</artifactId>
- <version>${version.org.apache.maven}</version>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-codec-mqtt</artifactId>
+ <version>${version.io.netty}</version>
</dependency>
<dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-plugin-api</artifactId>
- <version>${version.org.apache.maven}</version>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-codec-redis</artifactId>
+ <version>${version.io.netty}</version>
</dependency>
<dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-core</artifactId>
- <version>${version.org.apache.maven}</version>
- <exclusions>
- <exclusion>
- <groupId>javax.enterprise</groupId>
- <artifactId>cdi-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.inject</groupId>
- <artifactId>javax.inject</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.annotation</groupId>
- <artifactId>javax.annotation-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- </exclusion>
- </exclusions>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-codec-smtp</artifactId>
+ <version>${version.io.netty}</version>
</dependency>
<dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-model</artifactId>
- <version>${version.org.apache.maven}</version>
- <scope>provided</scope>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-codec-socks</artifactId>
+ <version>${version.io.netty}</version>
</dependency>
<dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-compat</artifactId>
- <version>${version.org.apache.maven}</version>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-codec-stomp</artifactId>
+ <version>${version.io.netty}</version>
</dependency>
-
<dependency>
- <groupId>org.apache.maven.resolver</groupId>
- <artifactId>maven-resolver-api</artifactId>
- <version>${version.org.apache.maven.resolver}</version>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-codec-xml</artifactId>
+ <version>${version.io.netty}</version>
</dependency>
<dependency>
- <groupId>org.apache.maven.resolver</groupId>
- <artifactId>maven-resolver-impl</artifactId>
- <version>${version.org.apache.maven.resolver}</version>
- <exclusions>
- <exclusion>
- <groupId>javax.annotation</groupId>
- <artifactId>javax.annotation-api</artifactId>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-common</artifactId>
+ <version>${version.io.netty}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-dev-tools</artifactId>
+ <version>${version.io.netty}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-handler</artifactId>
+ <version>${version.io.netty}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-handler-proxy</artifactId>
+ <version>${version.io.netty}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-handler-ssl-ocsp</artifactId>
+ <version>${version.io.netty}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-resolver</artifactId>
+ <version>${version.io.netty}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-resolver-dns</artifactId>
+ <version>${version.io.netty}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-transport</artifactId>
+ <version>${version.io.netty}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-transport-rxtx</artifactId>
+ <version>${version.io.netty}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-transport-sctp</artifactId>
+ <version>${version.io.netty}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-transport-udt</artifactId>
+ <version>${version.io.netty}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.opentelemetry.proto</groupId>
+ <artifactId>opentelemetry-proto</artifactId>
+ <version>${version.io.opentelemetry}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>io.rest-assured</groupId>
+ <artifactId>json-path</artifactId>
+ <version>${version.io.rest-assured}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>io.rest-assured</groupId>
+ <artifactId>json-schema-validator</artifactId>
+ <version>${version.io.rest-assured}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>io.rest-assured</groupId>
+ <artifactId>rest-assured</artifactId>
+ <version>${version.io.rest-assured}</version>
+ <scope>test</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>io.rest-assured</groupId>
+ <artifactId>xml-path</artifactId>
+ <version>${version.io.rest-assured}</version>
+ <scope>test</scope>
+ </dependency>
+ <!-- used by DMN test to ensure NI reflect-conf.json is correctly up-to-date -->
+ <dependency>
+ <groupId>io.smallrye</groupId>
+ <artifactId>jandex</artifactId>
+ <version>${version.io.smallrye.jandex}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.smallrye</groupId>
+ <artifactId>smallrye-open-api-core</artifactId>
+ <version>${version.io.smallrye.openapi.core}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.smallrye</groupId>
+ <artifactId>smallrye-open-api-jaxrs</artifactId>
+ <version>${version.io.smallrye-open-api}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.smallrye</groupId>
+ <artifactId>smallrye-open-api-ui</artifactId>
+ <version>${version.io.smallrye-open-api}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.smallrye</groupId>
+ <artifactId>smallrye-open-api-vertx</artifactId>
+ <version>${version.io.smallrye-open-api}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.smallrye.config</groupId>
+ <artifactId>smallrye-config</artifactId>
+ <version>${version.io.smallrye.config.core}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.osgi</groupId>
+ <artifactId>org.osgi.annotation.versioning</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.ow2.asm</groupId>
+ <artifactId>asm</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>io.smallrye.config</groupId>
+ <artifactId>smallrye-config-core</artifactId>
+ <version>${version.io.smallrye-config}</version>
+ </dependency>
+ <!-- For the moment being, this is the version declared by Quarkus BOM, but we need to declare it here to be available for common modules. -->
+ <!-- Framework-specific BOMs would need,eventually, to override it -->
+ <dependency>
+ <groupId>io.smallrye.reactive</groupId>
+ <artifactId>mutiny</artifactId>
+ <version>${version.io.smallrye.mutiny}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.smallrye.reactive</groupId>
+ <artifactId>mutiny-zero-flow-adapters</artifactId>
+ <version>${version.io.smallrye.reactive.mutiny-zero}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.smallrye.reactive</groupId>
+ <artifactId>smallrye-mutiny-vertx-auth-oauth2</artifactId>
+ <version>${version.io.smallrye.reactive.mutiny-vertx-web-client}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.smallrye.reactive</groupId>
+ <artifactId>smallrye-mutiny-vertx-web-client</artifactId>
+ <version>${version.io.smallrye.reactive.mutiny-vertx-web-client}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.smallrye.reactive</groupId>
+ <artifactId>smallrye-reactive-messaging-in-memory</artifactId>
+ <version>${version.io.smallrye.reactive.messaging.in.memory}</version>
+ </dependency>
+ <!-- OAS v3 -->
+ <dependency>
+ <groupId>io.swagger.core.v3</groupId>
+ <artifactId>swagger-annotations</artifactId>
+ <version>${version.io.swagger.core.v3}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.swagger.core.v3</groupId>
+ <artifactId>swagger-core</artifactId>
+ <version>${version.io.swagger.core.v3}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.swagger.core.v3</groupId>
+ <artifactId>swagger-model</artifactId>
+ <version>${version.io.swagger.core.v3}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.swagger.parser.v3</groupId>
+ <artifactId>swagger-parser</artifactId>
+ <version>${version.io.swagger.parser.v3}</version>
+ <scope>test</scope>
+ <exclusions>
+ <!-- banned for kie-server tests: -->
+ <exclusion>
+ <groupId>javax.mail</groupId>
+ <artifactId>mailapi</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <!-- Vertx libraries, including PostgreSQL client -->
+ <dependency>
+ <groupId>io.vertx</groupId>
+ <artifactId>vertx-core</artifactId>
+ <version>${version.io.vertx}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.vertx</groupId>
+ <artifactId>vertx-pg-client</artifactId>
+ <version>${version.io.vertx}</version>
+ </dependency>
+ <!-- Version overrides to fix vulnerabilities. -->
+ <dependency>
+ <groupId>io.vertx</groupId>
+ <artifactId>vertx-web</artifactId>
+ <version>${version.io.vertx}</version>
+ </dependency>
+ <dependency>
+ <groupId>io.vertx</groupId>
+ <artifactId>vertx-web-client</artifactId>
+ <version>${version.io.vertx}</version>
+ </dependency>
+ <!-- Version overrides to fix vulnerabilities - end -->
+ <dependency>
+ <groupId>it.unimi.dsi</groupId>
+ <artifactId>fastutil</artifactId>
+ <version>${version.it.unimi.dsi.fastutil}</version>
+ </dependency>
+ <dependency>
+ <groupId>jakarta.activation</groupId>
+ <artifactId>jakarta.activation-api</artifactId>
+ <version>${version.jakarta.activation-api}</version>
+ </dependency>
+ <dependency>
+ <groupId>jakarta.annotation</groupId>
+ <artifactId>jakarta.annotation-api</artifactId>
+ <version>${version.jakarta.annotation-api}</version>
+ </dependency>
+ <dependency>
+ <groupId>jakarta.enterprise</groupId>
+ <artifactId>jakarta.enterprise.cdi-api</artifactId>
+ <version>${version.jakarta.enterprise.cdi-api}</version>
+ </dependency>
+ <dependency>
+ <groupId>jakarta.inject</groupId>
+ <artifactId>jakarta.inject-api</artifactId>
+ <version>${version.jakarta.inject-api}</version>
+ </dependency>
+ <dependency>
+ <groupId>jakarta.json</groupId>
+ <artifactId>jakarta.json-api</artifactId>
+ <version>${version.jakarta.json-api}</version>
+ </dependency>
+ <dependency>
+ <groupId>jakarta.json.bind</groupId>
+ <artifactId>jakarta.json.bind-api</artifactId>
+ <version>${version.jakarta.json.bind-api}</version>
+ </dependency>
+ <dependency>
+ <groupId>jakarta.persistence</groupId>
+ <artifactId>jakarta.persistence-api</artifactId>
+ <version>${version.jakarta.persistence-api}</version>
+ </dependency>
+ <dependency>
+ <groupId>jakarta.transaction</groupId>
+ <artifactId>jakarta.transaction-api</artifactId>
+ <version>${version.jakarta.transaction-api}</version>
+ </dependency>
+ <dependency>
+ <groupId>jakarta.validation</groupId>
+ <artifactId>jakarta.validation-api</artifactId>
+ <version>${version.jakarta.validation-api}</version>
+ </dependency>
+ <dependency>
+ <groupId>jakarta.ws.rs</groupId>
+ <artifactId>jakarta.ws.rs-api</artifactId>
+ <version>${version.jakarta.ws.rs}</version>
+ </dependency>
+ <dependency>
+ <groupId>jakarta.xml.bind</groupId>
+ <artifactId>jakarta.xml.bind-api</artifactId>
+ <version>${version.jakarta.xml.bind-api}</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.inject</groupId>
+ <artifactId>javax.inject</artifactId>
+ <version>${version.javax.inject}</version>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>${version.junit}</version>
+ </dependency>
+ <!-- Data source management libraries -->
+ <dependency>
+ <groupId>net.bytebuddy</groupId>
+ <artifactId>byte-buddy</artifactId>
+ <version>${version.net.byte-buddy}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.java.dev.glazedlists</groupId>
+ <artifactId>glazedlists_java15</artifactId>
+ <version>${version.net.java.dev.glazedlists}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.javacrumbs.json-unit</groupId>
+ <artifactId>json-unit-assertj</artifactId>
+ <version>${version.org.json-unit-assertj}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>net.minidev</groupId>
+ <artifactId>json-smart</artifactId>
+ <version>${version.net.minidev.jsonsmart}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.saxon</groupId>
+ <artifactId>Saxon-HE</artifactId>
+ <version>${version.net.sf.saxon.Saxon-HE}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.thisptr</groupId>
+ <artifactId>jackson-jq</artifactId>
+ <version>${version.net.thisptr.jackson-jq}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.thisptr</groupId>
+ <artifactId>jackson-jq-extra</artifactId>
+ <version>${version.net.thisptr.jackson-jq}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.antlr</groupId>
+ <artifactId>ST4</artifactId>
+ <version>${version.org.antlr.ST4}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.antlr</groupId>
+ <artifactId>antlr</artifactId>
+ <version>${version.org.antlr}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.antlr</groupId>
+ <artifactId>antlr-runtime</artifactId>
+ <version>${version.org.antlr}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.antlr</groupId>
+ <artifactId>stringtemplate</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.antlr</groupId>
+ <artifactId>antlr4</artifactId>
+ <version>${version.org.antlr4}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.antlr</groupId>
+ <artifactId>antlr4-runtime</artifactId>
+ <version>${version.org.antlr4}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.antlr</groupId>
+ <artifactId>gunit</artifactId>
+ <version>${version.org.antlr}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.antlr</groupId>
+ <artifactId>stringtemplate</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ant</groupId>
+ <artifactId>ant</artifactId>
+ <version>${version.org.apache.ant}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.avro</groupId>
+ <artifactId>avro</artifactId>
+ <version>${version.org.apache.avro}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-compress</artifactId>
+ <version>${version.common.compress}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-csv</artifactId>
+ <version>${version.org.apache.commons.csv}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-exec</artifactId>
+ <version>${version.common.exec}</version>
+ </dependency>
+ <!-- Keep in sync with groupId commons-* -->
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-lang3</artifactId>
+ <version>${version.org.apache.commons.lang3}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-math3</artifactId>
+ <version>${version.org.apache.commons.math3}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-text</artifactId>
+ <version>${version.common-text}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.groovy</groupId>
+ <artifactId>groovy</artifactId>
+ <version>${version.org.apache.groovy}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.groovy</groupId>
+ <artifactId>groovy-ant</artifactId>
+ <version>${version.org.apache.groovy}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.groovy</groupId>
+ <artifactId>groovy-json</artifactId>
+ <version>${version.org.apache.groovy}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.groovy</groupId>
+ <artifactId>groovy-xml</artifactId>
+ <version>${version.org.apache.groovy}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpcore</artifactId>
+ <version>${version.org.apache.httpcomponents.httpcore}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.kafka</groupId>
+ <artifactId>kafka-clients</artifactId>
+ <version>${version.org.apache.kafka}</version>
+ <exclusions>
+ <!-- Exclude old org.lz4 to avoid duplicate classes with at.yawk.lz4 -->
+ <exclusion>
+ <groupId>org.lz4</groupId>
+ <artifactId>lz4-java</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-artifact</artifactId>
+ <version>${version.org.apache.maven}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-compat</artifactId>
+ <version>${version.org.apache.maven}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-core</artifactId>
+ <version>${version.org.apache.maven}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.enterprise</groupId>
+ <artifactId>cdi-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.inject</groupId>
+ <artifactId>javax.inject</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.annotation</groupId>
+ <artifactId>javax.annotation-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.google.guava</groupId>
+ <artifactId>guava</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-model</artifactId>
+ <version>${version.org.apache.maven}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-plugin-api</artifactId>
+ <version>${version.org.apache.maven}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-project</artifactId>
+ <version>${version.maven.project}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.plugin-testing</groupId>
+ <artifactId>maven-plugin-testing-harness</artifactId>
+ <version>${version.plugin.testing.harness}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.plugin-tools</groupId>
+ <artifactId>maven-plugin-annotations</artifactId>
+ <version>${version.plugin.annotations}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.resolver</groupId>
+ <artifactId>maven-resolver-api</artifactId>
+ <version>${version.org.apache.maven.resolver}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.resolver</groupId>
+ <artifactId>maven-resolver-connector-basic</artifactId>
+ <version>${version.org.apache.maven.resolver}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.resolver</groupId>
+ <artifactId>maven-resolver-impl</artifactId>
+ <version>${version.org.apache.maven.resolver}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.annotation</groupId>
+ <artifactId>javax.annotation-api</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.resolver</groupId>
+ <artifactId>maven-resolver-spi</artifactId>
+ <version>${version.org.apache.maven.resolver}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.resolver</groupId>
+ <artifactId>maven-resolver-transport-file</artifactId>
+ <version>${version.org.apache.maven.resolver}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.resolver</groupId>
+ <artifactId>maven-resolver-transport-http</artifactId>
+ <version>${version.org.apache.maven.resolver}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.resolver</groupId>
+ <artifactId>maven-resolver-transport-wagon</artifactId>
+ <version>${version.org.apache.maven.resolver}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.shared</groupId>
+ <artifactId>maven-artifact-transfer</artifactId>
+ <version>${version.artifact.transfer}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.shared</groupId>
+ <artifactId>maven-invoker</artifactId>
+ <version>${version.maven.invoker}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.inject</groupId>
+ <artifactId>javax.inject</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.shared</groupId>
+ <artifactId>maven-shared-utils</artifactId>
+ <version>${version.shared.utils}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-http</artifactId>
+ <version>${version.org.apache.maven.wagon}</version>
+ </dependency>
+ <dependency>
+ <!-- Overwrites transitive dependencies of maven-plugin-api:3.0.3 with a lower version -->
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-provider-api</artifactId>
+ <version>${version.org.apache.maven.wagon}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.openjpa</groupId>
+ <artifactId>openjpa</artifactId>
+ <version>${version.org.apache.openjpa}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.opennlp</groupId>
+ <artifactId>opennlp-tools</artifactId>
+ <version>${version.org.apache.opennlp}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.pdfbox</groupId>
+ <artifactId>pdfbox</artifactId>
+ <version>${version.org.apache.pdfbox}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.poi</groupId>
+ <artifactId>poi</artifactId>
+ <version>${version.org.apache.poi}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.poi</groupId>
+ <artifactId>poi-ooxml</artifactId>
+ <version>${version.org.apache.poi}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.tomcat</groupId>
+ <artifactId>annotations-api</artifactId>
+ <version>${version.org.apache.tomcat}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.tomcat</groupId>
+ <artifactId>tomcat-dbcp</artifactId>
+ <version>${version.org.apache.tomcat.tomcat-dbcp}</version>
+ </dependency>
+ <!-- Not directly used, but used to override transitive versions from other dependencies to fix vulnerabilities -->
+ <dependency>
+ <groupId>org.apache.tomcat.embed</groupId>
+ <artifactId>tomcat-embed-core</artifactId>
+ <version>${version.tomcat.embed.core}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.asciidoctor</groupId>
+ <artifactId>asciidoctorj</artifactId>
+ <version>${version.org.asciidoctor.asciidoctorj}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.annotation</groupId>
+ <artifactId>javax.annotation-api</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.assertj</groupId>
+ <artifactId>assertj-core</artifactId>
+ <version>${version.org.assertj}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.awaitility</groupId>
+ <artifactId>awaitility</artifactId>
+ <version>${version.org.awaitility}</version>
+ <scope>test</scope>
+ </dependency>
+ <!-- Not directly used, but a vulnerable version has been brought from com.dajudge.kindcontainer dependency -->
+ <dependency>
+ <groupId>org.bouncycastle</groupId>
+ <artifactId>bcpkix-jdk18on</artifactId>
+ <version>${version.org.bouncycastle.bc.jdk18on}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.bouncycastle</groupId>
+ <artifactId>bcprov-jdk18on</artifactId>
+ <version>${version.org.bouncycastle.bc.jdk18on}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.bouncycastle</groupId>
+ <artifactId>bcutil-jdk18on</artifactId>
+ <version>${version.org.bouncycastle.bc.jdk18on}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-classworlds</artifactId>
+ <version>${version.plexus.classworld}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-component-annotations</artifactId>
+ <version>${version.plexus}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-container-default</artifactId>
+ <version>${version.plexus.container}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-utils</artifactId>
+ <version>${version.org.codehaus.plexus.plexus-utils}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.dominokit</groupId>
+ <artifactId>domino-slf4j-logger</artifactId>
+ <version>${version.domino-slf4j-logger}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse</groupId>
+ <artifactId>yasson</artifactId>
+ <version>${version.org.eclipse.yasson}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.angus</groupId>
+ <artifactId>angus-activation</artifactId>
+ <version>${version.jakarta.activation}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.angus</groupId>
+ <artifactId>angus-mail</artifactId>
+ <version>${version.angus.mail}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jdt</groupId>
+ <artifactId>ecj</artifactId>
+ <version>${version.org.eclipse.jdt}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty.toolchain</groupId>
+ <artifactId>jetty-jakarta-servlet-api</artifactId>
+ <version>${version.org.eclipse.jetty.jakarta.servlet.api}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.microprofile.config</groupId>
+ <artifactId>microprofile-config-api</artifactId>
+ <version>${version.org.eclipse.microprofile.config}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.microprofile.openapi</groupId>
+ <artifactId>microprofile-openapi-api</artifactId>
+ <version>${version.org.eclipse.microprofile.openapi}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.parsson</groupId>
+ <artifactId>parsson</artifactId>
+ <version>${version.jakarta.json}</version>
+ </dependency>
+ <!-- Flyway -->
+ <dependency>
+ <groupId>org.flywaydb</groupId>
+ <artifactId>flyway-core</artifactId>
+ <version>${version.org.flywaydb}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.flywaydb</groupId>
+ <artifactId>flyway-database-postgresql</artifactId>
+ <version>${version.org.flywaydb}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.freemarker</groupId>
+ <artifactId>freemarker</artifactId>
+ <version>${version.org.freemarker}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.jaxb</groupId>
+ <artifactId>jaxb-runtime</artifactId>
+ <version>${version.org.glassfish.jaxb}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.activation</groupId>
+ <artifactId>javax.activation-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
- <groupId>org.apache.maven.resolver</groupId>
- <artifactId>maven-resolver-spi</artifactId>
- <version>${version.org.apache.maven.resolver}</version>
+ <groupId>org.glassfish.jaxb</groupId>
+ <artifactId>jaxb-xjc</artifactId>
+ <version>${version.org.glassfish.jaxb}</version>
</dependency>
<dependency>
- <groupId>org.apache.maven.resolver</groupId>
- <artifactId>maven-resolver-connector-basic</artifactId>
- <version>${version.org.apache.maven.resolver}</version>
+ <groupId>org.graalvm.js</groupId>
+ <artifactId>js</artifactId>
+ <version>${version.graalvm}</version>
+ <scope>test</scope>
</dependency>
<dependency>
- <groupId>org.apache.maven.resolver</groupId>
- <artifactId>maven-resolver-transport-wagon</artifactId>
- <version>${version.org.apache.maven.resolver}</version>
+ <groupId>org.graalvm.js</groupId>
+ <artifactId>js-scriptengine</artifactId>
+ <version>${version.graalvm}</version>
+ <scope>test</scope>
</dependency>
<dependency>
- <groupId>org.apache.maven.resolver</groupId>
- <artifactId>maven-resolver-transport-file</artifactId>
- <version>${version.org.apache.maven.resolver}</version>
+ <groupId>org.graalvm.nativeimage</groupId>
+ <artifactId>svm</artifactId>
+ <version>${version.org.graalvm.nativeimage}</version>
</dependency>
<dependency>
- <groupId>org.apache.maven.resolver</groupId>
- <artifactId>maven-resolver-transport-http</artifactId>
- <version>${version.org.apache.maven.resolver}</version>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest</artifactId>
+ <version>${version.org.hamcrest}</version>
+ <scope>test</scope>
</dependency>
-
<dependency>
- <groupId>org.apache.maven.plugin-tools</groupId>
- <artifactId>maven-plugin-annotations</artifactId>
- <version>${version.plugin.annotations}</version>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest-all</artifactId>
+ <version>${version.org.hamcrest.hamcrest-all}</version>
+ <scope>test</scope>
</dependency>
<dependency>
- <groupId>org.apache.maven.shared</groupId>
- <artifactId>maven-artifact-transfer</artifactId>
- <version>${version.artifact.transfer}</version>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest-core</artifactId>
+ <version>${version.org.hamcrest}</version>
</dependency>
+ <!--Hamcrest should be versioned with JUnit, as they are related-->
<dependency>
- <groupId>org.apache.maven.shared</groupId>
- <artifactId>maven-shared-utils</artifactId>
- <version>${version.shared.utils}</version>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest-library</artifactId>
+ <version>${version.org.hamcrest}</version>
</dependency>
-
- <dependency><!-- Overwrites transitive dependencies of maven-plugin-api:3.0.3 with a lower version -->
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-provider-api</artifactId>
- <version>${version.org.apache.maven.wagon}</version>
+ <dependency>
+ <groupId>org.hibernate.orm</groupId>
+ <artifactId>hibernate-ant</artifactId>
+ <version>${version.org.hibernate}</version>
</dependency>
<dependency>
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-http</artifactId>
- <version>${version.org.apache.maven.wagon}</version>
+ <groupId>org.hibernate.orm</groupId>
+ <artifactId>hibernate-core</artifactId>
+ <version>${version.org.hibernate}</version>
</dependency>
-
<dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi</artifactId>
- <version>${version.org.apache.poi}</version>
+ <groupId>org.hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ <version>${version.org.hsqldb}</version>
</dependency>
+ <!-- infinispan -->
<dependency>
- <groupId>org.apache.poi</groupId>
- <artifactId>poi-ooxml</artifactId>
- <version>${version.org.apache.poi}</version>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-bom</artifactId>
+ <version>${version.org.infinispan}</version>
+ <type>pom</type>
+ <scope>import</scope>
</dependency>
-
<dependency>
- <groupId>org.asciidoctor</groupId>
- <artifactId>asciidoctorj</artifactId>
- <version>${version.org.asciidoctor.asciidoctorj}</version>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-client-hotrod</artifactId>
+ <version>${version.org.infinispan}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-commons</artifactId>
+ <version>${version.org.infinispan}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-component-annotations</artifactId>
+ <version>${version.org.infinispan}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-core</artifactId>
+ <version>${version.org.infinispan}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-query-dsl</artifactId>
+ <version>${version.org.infinispan}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-remote-query-client</artifactId>
+ <version>${version.org.infinispan}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan</groupId>
+ <artifactId>infinispan-server-testdriver-core</artifactId>
+ <version>${version.org.infinispan}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan.protostream</groupId>
+ <artifactId>protostream</artifactId>
+ <version>${version.org.infinispan.protostream}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.infinispan.protostream</groupId>
+ <artifactId>protostream-processor</artifactId>
+ <version>${version.org.infinispan.protostream}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jacoco</groupId>
+ <artifactId>org.jacoco.agent</artifactId>
+ <version>${version.jacoco.plugin}</version>
+ <classifier>runtime</classifier>
+ </dependency>
+ <dependency>
+ <groupId>org.javassist</groupId>
+ <artifactId>javassist</artifactId>
+ <version>${version.org.javassist}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-transaction-spi</artifactId>
+ <version>${version.org.jboss.transaction.spi}</version>
<exclusions>
<exclusion>
- <groupId>javax.annotation</groupId>
- <artifactId>javax.annotation-api</artifactId>
+ <groupId>jakarta.transaction</groupId>
+ <artifactId>jakarta.transaction-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>jakarta.resource</groupId>
+ <artifactId>jakarta.resource-api</artifactId>
</exclusion>
</exclusions>
</dependency>
-
<dependency>
- <groupId>org.assertj</groupId>
- <artifactId>assertj-core</artifactId>
- <version>${version.org.assertj}</version>
+ <groupId>org.jboss.logmanager</groupId>
+ <artifactId>jboss-logmanager</artifactId>
+ <version>${version.org.jboss.logmanager}</version>
</dependency>
-
<dependency>
- <groupId>org.eclipse.jdt</groupId>
- <artifactId>ecj</artifactId>
- <version>${version.org.eclipse.jdt}</version>
+ <groupId>org.jboss.logmanager</groupId>
+ <artifactId>jboss-logmanager-embedded</artifactId>
+ <version>${version.org.jboss.logmanager.embedded}</version>
</dependency>
-
<dependency>
- <groupId>org.freemarker</groupId>
- <artifactId>freemarker</artifactId>
- <version>${version.org.freemarker}</version>
+ <groupId>org.jboss.logging</groupId>
+ <artifactId>jboss-logging</artifactId>
+ <version>${version.org.jboss.logging}</version>
</dependency>
-
- <!--Hamcrest should be versioned with JUnit, as they are related-->
<dependency>
- <groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-library</artifactId>
- <version>${version.org.hamcrest}</version>
+ <groupId>org.jboss.narayana.jta</groupId>
+ <artifactId>narayana-jta</artifactId>
+ <version>${version.org.jboss.narayana.tomcat}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.jboss.spec.javax.resource</groupId>
+ <artifactId>jboss-connector-api_1.7_spec</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-transaction-spi</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
- <groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-core</artifactId>
- <version>${version.org.hamcrest}</version>
+ <groupId>org.jboss.resteasy</groupId>
+ <artifactId>resteasy-client</artifactId>
+ <version>${version.org.jboss.resteasy}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.resteasy</groupId>
+ <artifactId>resteasy-jackson2-provider</artifactId>
+ <version>${version.org.jboss.resteasy}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.resteasy</groupId>
+ <artifactId>resteasy-multipart-provider</artifactId>
+ <version>${version.org.jboss.resteasy}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.jboss</groupId>
+ <artifactId>jandex</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.weld.se</groupId>
+ <artifactId>weld-se-core</artifactId>
+ <version>${version.org.jboss.weld.weld}</version>
+ </dependency>
+ <!-- used by DMN for general (runtime-agnostic) inspection of PMML model -->
+ <dependency>
+ <groupId>org.jpmml</groupId>
+ <artifactId>pmml-model</artifactId>
+ <version>${version.org.jpmml.model}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.json</groupId>
+ <artifactId>json</artifactId>
+ <version>${version.org.json}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter</artifactId>
+ <version>${version.org.junit}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-api</artifactId>
+ <version>${version.org.junit}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-engine</artifactId>
+ <version>${version.org.junit}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-params</artifactId>
+ <version>${version.org.junit}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.junit.platform</groupId>
+ <artifactId>junit-platform-commons</artifactId>
+ <version>${version.org.junit}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.junit.platform</groupId>
+ <artifactId>junit-platform-engine</artifactId>
+ <version>${version.org.junit}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.junit.platform</groupId>
+ <artifactId>junit-platform-launcher</artifactId>
+ <version>${version.org.junit}</version>
</dependency>
-
<dependency>
- <groupId>org.javassist</groupId>
- <artifactId>javassist</artifactId>
- <version>${version.org.javassist}</version>
+ <groupId>org.junit.platform</groupId>
+ <artifactId>junit-platform-suite</artifactId>
+ <version>${version.org.junit}</version>
</dependency>
-
- <!-- infinispan -->
<dependency>
- <groupId>org.infinispan</groupId>
- <artifactId>infinispan-core</artifactId>
- <version>${version.org.infinispan}</version>
+ <groupId>org.junit.vintage</groupId>
+ <artifactId>junit-vintage-engine</artifactId>
+ <version>${version.org.junit}</version>
</dependency>
<dependency>
- <groupId>org.infinispan</groupId>
- <artifactId>infinispan-client-hotrod</artifactId>
- <version>${version.org.infinispan}</version>
+ <groupId>org.keycloak</groupId>
+ <artifactId>keycloak-core</artifactId>
+ <version>${version.org.keycloak}</version>
</dependency>
+ <!-- This is a special dependency used to enforce that no dependency management is used in the modules. -->
+ <!-- It is the only "kie" dependency that should be declared in this bom, as it should be inherited everywhere else. -->
<dependency>
- <groupId>org.infinispan</groupId>
- <artifactId>infinispan-server-testdriver-core</artifactId>
- <version>${version.org.infinispan}</version>
+ <groupId>org.kie</groupId>
+ <artifactId>kie-no-dependency-management-enforcer-rule</artifactId>
+ <version>${project.version}</version>
</dependency>
<dependency>
- <groupId>org.infinispan.protostream</groupId>
- <artifactId>protostream</artifactId>
- <version>${version.org.infinispan.protostream}</version>
+ <groupId>org.kie</groupId>
+ <artifactId>kie-no-external-managed-dependency-enforcer-rule</artifactId>
+ <version>${project.version}</version>
</dependency>
<dependency>
- <groupId>org.infinispan.protostream</groupId>
- <artifactId>protostream-processor</artifactId>
- <version>${version.org.infinispan.protostream}</version>
+ <groupId>org.mapstruct</groupId>
+ <artifactId>mapstruct</artifactId>
+ <version>${version.org.mapstruct}</version>
</dependency>
<!-- Do not add mockito-all as it is uberjar! -->
<dependency>
@@ -973,25 +1918,61 @@
<artifactId>mockito-core</artifactId>
<version>${version.org.mockito}</version>
</dependency>
-
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-inline</artifactId>
<version>${version.org.mockito}</version>
</dependency>
-
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>${version.org.mockito}</version>
</dependency>
-
+ <dependency>
+ <groupId>org.mongodb</groupId>
+ <artifactId>mongodb-driver-sync</artifactId>
+ <version>${version.mongodb-driver-sync}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.mozilla</groupId>
+ <artifactId>rhino</artifactId>
+ <version>${version.org.mozilla.rhino}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.mozilla</groupId>
+ <artifactId>rhino-engine</artifactId>
+ <version>${version.org.mozilla.rhino}</version>
+ </dependency>
<dependency>
<groupId>org.mvel</groupId>
<artifactId>mvel2</artifactId>
<version>${version.org.mvel}</version>
</dependency>
-
+ <!--JMH (Benchmarks)-->
+ <dependency>
+ <groupId>org.openjdk.jmh</groupId>
+ <artifactId>jmh-core</artifactId>
+ <version>${version.org.openjdk.jmh}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.openjdk.jmh</groupId>
+ <artifactId>jmh-generator-annprocess</artifactId>
+ <version>${version.org.openjdk.jmh}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.openjdk.nashorn</groupId>
+ <artifactId>nashorn-core</artifactId>
+ <version>${version.nashorn}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.postgresql</groupId>
+ <artifactId>postgresql</artifactId>
+ <version>${version.org.postgresql}</version>
+ <scope>runtime</scope>
+ </dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-api-mockito2</artifactId>
@@ -1011,31 +1992,53 @@
<artifactId>powermock-module-junit4</artifactId>
<version>${version.org.powermock}</version>
</dependency>
-
- <!-- Keep in sync with groupId ch.qos.logback -->
+ <dependency>
+ <groupId>org.reactivestreams</groupId>
+ <artifactId>reactive-streams</artifactId>
+ <version>${version.org.reactivestreams}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.reflections</groupId>
+ <artifactId>reflections</artifactId>
+ <version>${version.org.reflections}</version>
+ </dependency>
+ <!--rocksdb-->
+ <dependency>
+ <groupId>org.rocksdb</groupId>
+ <artifactId>rocksdbjni</artifactId>
+ <version>${version.org.rocksdb}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.skyscreamer</groupId>
+ <artifactId>jsonassert</artifactId>
+ <version>${version.org.skyscreamer}</version>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
+ <artifactId>jcl-over-slf4j</artifactId>
<version>${version.org.slf4j}</version>
</dependency>
- <dependency><!-- Not depended on directly. Overwrite the lower version used by weld-core -->
+ <dependency>
<groupId>org.slf4j</groupId>
- <artifactId>slf4j-ext</artifactId>
+ <artifactId>jul-to-slf4j</artifactId>
<version>${version.org.slf4j}</version>
</dependency>
- <dependency><!-- TODO don't use this -->
+ <dependency>
<groupId>org.slf4j</groupId>
- <artifactId>slf4j-simple</artifactId>
+ <artifactId>log4j-over-slf4j</artifactId>
<version>${version.org.slf4j}</version>
</dependency>
+ <!-- Keep in sync with groupId ch.qos.logback -->
<dependency>
<groupId>org.slf4j</groupId>
- <artifactId>jcl-over-slf4j</artifactId>
+ <artifactId>slf4j-api</artifactId>
<version>${version.org.slf4j}</version>
</dependency>
<dependency>
+ <!-- Not depended on directly. Overwrite the lower version used by weld-core -->
<groupId>org.slf4j</groupId>
- <artifactId>log4j-over-slf4j</artifactId>
+ <artifactId>slf4j-ext</artifactId>
<version>${version.org.slf4j}</version>
</dependency>
<dependency>
@@ -1054,294 +2057,166 @@
</exclusion>
</exclusions>
</dependency>
-
- <dependency>
- <groupId>xerces</groupId>
- <artifactId>xercesImpl</artifactId>
- <version>${version.xerces}</version>
- </dependency>
-
- <!--JMH (Benchmarks)-->
- <dependency>
- <groupId>org.openjdk.jmh</groupId>
- <artifactId>jmh-core</artifactId>
- <version>${version.org.openjdk.jmh}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.openjdk.jmh</groupId>
- <artifactId>jmh-generator-annprocess</artifactId>
- <version>${version.org.openjdk.jmh}</version>
- <scope>test</scope>
- </dependency>
-
<dependency>
- <groupId>org.antlr</groupId>
- <artifactId>antlr4-runtime</artifactId>
- <version>${version.org.antlr4}</version>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-nop</artifactId>
+ <version>${version.org.slf4j}</version>
</dependency>
-
<dependency>
- <groupId>org.jacoco</groupId>
- <artifactId>org.jacoco.agent</artifactId>
- <version>${version.jacoco.plugin}</version>
- <classifier>runtime</classifier>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-simple</artifactId>
+ <version>${version.org.slf4j}</version>
</dependency>
-
- <!-- OAS v3 -->
<dependency>
- <groupId>io.swagger.core.v3</groupId>
- <artifactId>swagger-annotations</artifactId>
- <version>${version.io.swagger.core.v3}</version>
+ <groupId>org.yaml</groupId>
+ <artifactId>snakeyaml</artifactId>
+ <version>${version.org.yaml.snakeyaml}</version>
</dependency>
<dependency>
- <groupId>io.swagger.parser.v3</groupId>
- <artifactId>swagger-parser</artifactId>
- <version>${version.io.swagger.parser.v3}</version>
+ <groupId>org.sonatype.sisu</groupId>
+ <artifactId>sisu-inject-plexus</artifactId>
+ <version>${version.sisu.inject}</version>
<scope>test</scope>
- <exclusions><!-- banned for kie-server tests: -->
- <exclusion>
- <groupId>javax.mail</groupId>
- <artifactId>mailapi</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.xml.bind</groupId>
- <artifactId>jaxb-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.narayana.jta</groupId>
- <artifactId>narayana-jta</artifactId>
- <version>${version.org.jboss.narayana.tomcat}</version>
- <exclusions>
- <exclusion>
- <groupId>org.jboss.spec.javax.resource</groupId>
- <artifactId>jboss-connector-api_1.7_spec</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.jboss</groupId>
- <artifactId>jboss-transaction-spi</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jboss-transaction-spi</artifactId>
- <version>${version.org.jboss.transaction.spi}</version>
- <exclusions>
- <exclusion>
- <groupId>jakarta.transaction</groupId>
- <artifactId>jakarta.transaction-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>jakarta.resource</groupId>
- <artifactId>jakarta.resource-api</artifactId>
- </exclusion>
- </exclusions>
</dependency>
-
<dependency>
- <groupId>org.xmlunit</groupId>
- <artifactId>xmlunit-core</artifactId>
- <version>${version.org.xmlunit}</version>
+ <groupId>org.spockframework</groupId>
+ <artifactId>spock-core</artifactId>
+ <version>${version.org.spockframework}</version>
<scope>test</scope>
</dependency>
<dependency>
- <groupId>org.xmlunit</groupId>
- <artifactId>xmlunit-matchers</artifactId>
- <version>${version.org.xmlunit}</version>
- <scope>test</scope>
+ <groupId>org.springdoc</groupId>
+ <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
+ <version>${version.org.springdoc}</version>
</dependency>
+ <!-- testcontainers dependencies -->
<dependency>
- <groupId>org.xmlunit</groupId>
- <artifactId>xmlunit-assertj</artifactId>
- <version>${version.org.xmlunit}</version>
+ <groupId>org.testcontainers</groupId>
+ <artifactId>junit-jupiter</artifactId>
+ <version>${version.org.testcontainers.junit-jupiter}</version>
<scope>test</scope>
</dependency>
-
- <!-- Data source management libraries -->
- <dependency>
- <groupId>net.bytebuddy</groupId>
- <artifactId>byte-buddy</artifactId>
- <version>${version.net.byte-buddy}</version>
- </dependency>
-
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>jul-to-slf4j</artifactId>
- <version>${version.org.slf4j}</version>
- </dependency>
-
- <dependency>
- <groupId>org.w3c</groupId>
- <artifactId>dom</artifactId>
- <version>${version.org.w3c.dom}</version>
- </dependency>
-
- <!-- kie server controller over websockets -->
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- <version>${version.ch.qos.logback}</version>
- </dependency>
-
- <dependency>
- <groupId>jakarta.enterprise</groupId>
- <artifactId>jakarta.enterprise.cdi-api</artifactId>
- <version>${version.jakarta.enterprise.cdi-api}</version>
- </dependency>
-
<dependency>
- <groupId>org.postgresql</groupId>
+ <groupId>org.testcontainers</groupId>
<artifactId>postgresql</artifactId>
- <version>${version.org.postgresql}</version>
- <scope>runtime</scope>
- </dependency>
-
- <!-- used by DMN for BigDecimal arithmetics -->
- <dependency>
- <groupId>ch.obermuhlner</groupId>
- <artifactId>big-math</artifactId>
- <version>${version.ch.obermuhlner}</version>
- </dependency>
-
- <!-- used by DMN for general (runtime-agnostic) inspection of PMML model -->
- <dependency>
- <groupId>org.jpmml</groupId>
- <artifactId>pmml-model</artifactId>
- <version>${version.org.jpmml.model}</version>
+ <version>${version.org.testcontainers.postgresql}</version>
+ <scope>test</scope>
</dependency>
-
- <!-- used by DMN test to ensure NI reflect-conf.json is correctly up-to-date -->
<dependency>
- <groupId>io.smallrye</groupId>
- <artifactId>jandex</artifactId>
- <version>${version.io.smallrye.jandex}</version>
+ <groupId>org.testcontainers</groupId>
+ <artifactId>testcontainers</artifactId>
+ <version>${version.org.testcontainers}</version>
+ <scope>compile</scope>
</dependency>
<dependency>
- <groupId>org.eclipse</groupId>
- <artifactId>yasson</artifactId>
- <version>${version.org.eclipse.yasson}</version>
+ <groupId>org.testcontainers</groupId>
+ <artifactId>testcontainers-database-commons</artifactId>
+ <version>${version.org.testcontainers}</version>
</dependency>
-
<dependency>
- <groupId>com.github.javaparser</groupId>
- <artifactId>javaparser-core</artifactId>
- <version>${version.com.github.javaparser}</version>
+ <groupId>org.testcontainers</groupId>
+ <artifactId>testcontainers-jdbc</artifactId>
+ <version>${version.org.testcontainers}</version>
</dependency>
-
<dependency>
- <groupId>org.awaitility</groupId>
- <artifactId>awaitility</artifactId>
- <version>${version.org.awaitility}</version>
- <scope>test</scope>
+ <groupId>org.testcontainers</groupId>
+ <artifactId>testcontainers-junit-jupiter</artifactId>
+ <version>${version.org.testcontainers}</version>
</dependency>
-
- <!-- Used inside kie-ci -->
<dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- <version>${version.com.google.guava}</version>
+ <groupId>org.testcontainers</groupId>
+ <artifactId>testcontainers-kafka</artifactId>
+ <version>${version.org.testcontainers}</version>
</dependency>
-
<dependency>
- <groupId>org.yaml</groupId>
- <artifactId>snakeyaml</artifactId>
- <version>${version.org.yaml.snakeyaml}</version>
+ <groupId>org.testcontainers</groupId>
+ <artifactId>testcontainers-mongodb</artifactId>
+ <version>${version.org.testcontainers}</version>
</dependency>
-
- <!-- Used by kie-pmml-trusty projects -->
<dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-pmml-dependencies</artifactId>
- <version>${project.version}</version>
+ <groupId>org.testcontainers</groupId>
+ <artifactId>testcontainers-oracle-xe</artifactId>
+ <version>${version.org.testcontainers}</version>
</dependency>
-
- <!-- Used by drools-metric -->
<dependency>
- <groupId>io.micrometer</groupId>
- <artifactId>micrometer-core</artifactId>
- <version>${version.io.micrometer}</version>
+ <groupId>org.testcontainers</groupId>
+ <artifactId>testcontainers-postgresql</artifactId>
+ <version>${version.org.testcontainers}</version>
</dependency>
-
<dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-core-bom</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>import</scope>
+ <groupId>org.testcontainers</groupId>
+ <artifactId>testcontainers-toxiproxy</artifactId>
+ <version>${version.org.testcontainers}</version>
</dependency>
<dependency>
- <groupId>org.drools</groupId>
- <artifactId>drools-bom</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>import</scope>
+ <groupId>org.w3c</groupId>
+ <artifactId>dom</artifactId>
+ <version>${version.org.w3c.dom}</version>
</dependency>
<dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-efesto-bom</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>import</scope>
+ <groupId>org.webjars</groupId>
+ <artifactId>bootstrap</artifactId>
+ <version>${version.org.webjars.bootstrap}</version>
</dependency>
<dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-bom</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>import</scope>
+ <groupId>org.webjars</groupId>
+ <artifactId>jquery</artifactId>
+ <version>${version.org.webjars.jquery}</version>
</dependency>
<dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-pmml-bom</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>import</scope>
+ <groupId>org.wiremock</groupId>
+ <artifactId>wiremock</artifactId>
+ <version>${version.org.wiremock}</version>
+ <scope>test</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>org.eclipse.jetty.toolchain</groupId>
+ <artifactId>jetty-jakarta-servlet-api</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
-
<dependency>
- <groupId>it.unimi.dsi</groupId>
- <artifactId>fastutil</artifactId>
- <version>${version.it.unimi.dsi.fastutil}</version>
+ <groupId>org.wiremock</groupId>
+ <artifactId>wiremock-standalone</artifactId>
+ <version>${version.org.wiremock}</version>
+ <scope>test</scope>
</dependency>
-
<dependency>
- <groupId>org.eclipse.microprofile.config</groupId>
- <artifactId>microprofile-config-api</artifactId>
- <version>${version.org.eclipse.microprofile.config}</version>
+ <groupId>org.wiremock</groupId>
+ <artifactId>wiremock-webhooks-extension</artifactId>
+ <version>${version.org.wiremock.webhooks}</version>
+ <scope>test</scope>
</dependency>
-
<dependency>
- <groupId>org.apache.openjpa</groupId>
- <artifactId>openjpa</artifactId>
- <version>${version.org.apache.openjpa}</version>
+ <groupId>org.xmlunit</groupId>
+ <artifactId>xmlunit-assertj</artifactId>
+ <version>${version.org.xmlunit}</version>
+ <scope>test</scope>
</dependency>
<dependency>
- <groupId>org.jboss.logging</groupId>
- <artifactId>jboss-logging</artifactId>
- <version>${version.org.jboss.logging}</version>
+ <groupId>org.xmlunit</groupId>
+ <artifactId>xmlunit-core</artifactId>
+ <version>${version.org.xmlunit}</version>
+ <scope>test</scope>
</dependency>
-
<dependency>
- <groupId>com.tngtech.archunit</groupId>
- <artifactId>archunit-junit5</artifactId>
- <version>${version.archunit.junit5}</version>
+ <groupId>org.xmlunit</groupId>
+ <artifactId>xmlunit-matchers</artifactId>
+ <version>${version.org.xmlunit}</version>
<scope>test</scope>
</dependency>
-
<dependency>
- <groupId>org.apache.kafka</groupId>
- <artifactId>kafka-clients</artifactId>
- <version>${version.org.apache.kafka}</version>
+ <groupId>simple-jndi</groupId>
+ <artifactId>simple-jndi</artifactId>
+ <version>${version.simple-jndi}</version>
+ </dependency>
+ <dependency>
+ <groupId>xerces</groupId>
+ <artifactId>xercesImpl</artifactId>
+ <version>${version.xerces}</version>
</dependency>
</dependencies>
-
</dependencyManagement>
-
-
<build>
<pluginManagement>
<plugins>
@@ -1352,31 +2227,40 @@
<encoding>UTF-8</encoding>
</configuration>
</plugin>
-
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
- <version>3.3.0</version>
+ <version>${version.maven.enforcer}</version>
<dependencies>
<dependency>
<groupId>de.is24.maven.enforcer.rules</groupId>
<artifactId>illegal-transitive-dependency-check</artifactId>
- <version>1.7.4</version>
+ <version>${version.illegal-transitive-dependency-check}</version>
</dependency>
<dependency>
<groupId>com.redhat.victims</groupId>
<artifactId>enforce-victims-rule</artifactId>
- <version>1.3.4</version>
+ <version>${version.enforce-victims-rule}</version>
</dependency>
<dependency>
<groupId>org.commonjava.maven.enforcer</groupId>
<artifactId>enforce-managed-deps-rule</artifactId>
- <version>1.3</version>
+ <version>${version.enforce-managed-deps-rule}</version>
</dependency>
<dependency>
<groupId>org.codehaus.mojo</groupId>
<artifactId>extra-enforcer-rules</artifactId>
- <version>1.0</version>
+ <version>${version.extra-enforcer-rules}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.kie</groupId>
+ <artifactId>kie-no-dependency-management-enforcer-rule</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.kie</groupId>
+ <artifactId>kie-no-external-managed-dependency-enforcer-rule</artifactId>
+ <version>${project.version}</version>
</dependency>
</dependencies>
<executions>
@@ -1385,11 +2269,10 @@
<goals>
<goal>enforce</goal>
</goals>
- <phase>initialize</phase>
+ <phase>${enforcer.no-managed-deps.phase}</phase>
<configuration>
<rules>
- <requireManagedDeps
- implementation="org.commonjava.maven.enforcer.rule.EnforceManagedDepsRule">
+ <requireManagedDeps implementation="org.commonjava.maven.enforcer.rule.EnforceManagedDepsRule">
<checkProfiles>true</checkProfiles>
<failOnViolation>true</failOnViolation>
</requireManagedDeps>
@@ -1420,8 +2303,7 @@
<phase>none</phase>
<configuration>
<rules>
- <illegalTransitiveDependencyCheck
- implementation="de.is24.maven.enforcer.rules.IllegalTransitiveDependencyCheck">
+ <illegalTransitiveDependencyCheck implementation="de.is24.maven.enforcer.rules.IllegalTransitiveDependencyCheck">
<reportOnly>${illegaltransitivereportonly}</reportOnly>
<regexIgnoredClasses combine.children="append">
<!-- The maven-shade-plugin needs these classes to be compile-scope in guvnor-ala-openshift-client to be picked up, and
@@ -1439,12 +2321,12 @@
</execution>
<execution>
<id>ban-duplicated-classes</id>
- <!-- Using phase=none as we don't want this execution as part of the default build. The phase
- is specified in the "full" profile and thus the execution will only be activated when using that profile. -->
- <phase>none</phase>
<goals>
<goal>enforce</goal>
</goals>
+ <!-- Using phase=none as we don't want this execution as part of the default build. The phase
+ is specified in the "full" profile and thus the execution will only be activated when using that profile. -->
+ <phase>none</phase>
<configuration>
<rules>
<banDuplicateClasses>
@@ -1511,16 +2393,16 @@
</goals>
<configuration>
<rules>
- <banDuplicatePomDependencyVersions/>
+ <banDuplicatePomDependencyVersions></banDuplicatePomDependencyVersions>
</rules>
</configuration>
</execution>
<execution>
<id>ban-blacklisted-dependencies</id>
- <phase>validate</phase>
<goals>
<goal>enforce</goal>
</goals>
+ <phase>validate</phase>
<configuration>
<rules>
<bannedDependencies>
@@ -1528,16 +2410,17 @@
<!-- Ban blacklisted logging deps (we only use SLF4J + Logback) -->
<!-- In case of transitive dependency, exclude it and use 'org.slf4j:jcl-over-slf4j' instead -->
<exclude>commons-logging:commons-log*</exclude>
-
- <exclude>log4j:log4j</exclude> <!-- In case of transitive dependency, exclude it and use 'org.slf4j:log4j-over-slf4j' instead -->
- <exclude>javassist:javassist</exclude> <!-- In case of transitive dependency, exclude it and use 'org.javassist:javassist' instead -->
- <exclude>org.jboss.weld.se:weld-se</exclude> <!-- Use weld-se-core instead -->
- <exclude>org.mockito:mockito-all</exclude> <!-- Use mockito-core instead -->
-
+ <exclude>log4j:log4j</exclude>
+ <!-- In case of transitive dependency, exclude it and use 'org.slf4j:log4j-over-slf4j' instead -->
+ <exclude>javassist:javassist</exclude>
+ <!-- In case of transitive dependency, exclude it and use 'org.javassist:javassist' instead -->
+ <exclude>org.jboss.weld.se:weld-se</exclude>
+ <!-- Use weld-se-core instead -->
+ <exclude>org.mockito:mockito-all</exclude>
+ <!-- Use mockito-core instead -->
<!-- cannot be banned because Quarkus 3 needs them -->
<!-- <exclude>javax.annotation:javax.annotation-api</exclude> -->
<!-- <exclude>javax.inject:javax.inject</exclude> -->
-
<!-- Java EE 8 Spec JARs: Use Jakarta EE 8 instead. -->
<exclude>javax.activation:activation</exclude>
<exclude>javax.enterprise:cdi-api</exclude>
@@ -1568,80 +2451,62 @@
<fail>${enforcer.failOnBannedDependencies}</fail>
</configuration>
</execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <version>${version.maven-checkstyle}</version>
- <executions>
<execution>
- <id>validate</id>
- <phase>validate</phase>
+ <id>no-dependencymanagement</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <noDependencyManagementRule>
+ <allowedPoms>${allowedPomsList}</allowedPoms>
+ </noDependencyManagementRule>
+ </rules>
+ </configuration>
+ </execution>
+ <execution>
+ <id>no-externalmanageddependency</id>
<goals>
- <goal>check</goal>
+ <goal>enforce</goal>
</goals>
<configuration>
- <checkstyleRules>
- <module name="Checker">
- <module name="BeforeExecutionExclusionFileFilter">
- <property name="fileNamePattern" value="${drools.exclude.checkstyle}"/>
- </module>
- <!-- Checks for whitespace. -->
- <module name="FileTabCharacter">
- <property name="severity" value="error"/>
- <property name="eachLine" value="true"/>
- </module>
- <module name="TreeWalker">
- <!-- Import settings: getting rid of redundant import, forbid star notation, defined order of imports. -->
- <module name="RedundantImport"/>
- <module name="AvoidStarImport">
- <property name="allowClassImports" value="false"/>
- <property name="allowStaticMemberImports" value="false"/>
- </module>
- <module name="CustomImportOrder">
- <property name="customImportOrderRules"
- value="STANDARD_JAVA_PACKAGE###SPECIAL_IMPORTS###THIRD_PARTY_PACKAGE###STATIC"/>
- <property name="specialImportsRegExp" value="^javax\."/>
- <property name="standardPackageRegExp" value="^java\."/>
- <property name="sortImportsInGroupAlphabetically" value="true"/>
- <property name="separateLineBetweenGroups" value="true"/>
- </module>
- <module name="UnusedImports"/>
- <module name="NeedBraces">
- <property name="tokens"
- value="LITERAL_IF, LITERAL_ELSE, LITERAL_FOR, LITERAL_WHILE, LITERAL_DO"/>
- </module>
- <module name="EqualsHashCode"/>
- </module>
- <module name="RegexpHeader">
- <property name="header" value="${checkstyle.header.template}"/>
- <property name="fileExtensions" value="${checkstyle.header.extensions}"/>
- </module>
- </module>
- </checkstyleRules>
- <outputFile>${project.build.directory}/checkstyle.log</outputFile>
- <includeTestSourceDirectory>true</includeTestSourceDirectory>
- <includeResources>true</includeResources>
- <includeTestResources>true</includeTestResources>
- <consoleOutput>false</consoleOutput>
- <logViolationsToConsole>${checkstyle.logViolationsToConsole}</logViolationsToConsole>
- <failsOnError>false</failsOnError>
+ <rules>
+ <noExternalManagedDependencyRule>
+ <rootPom>${root_pom}</rootPom>
+ <filteredGroupIds>org.kie,org.kie.kogito,org.drools,org.apache.kie.sonataflow,org.jbpm</filteredGroupIds>
+ <allowedGA>${allowed_GA}</allowedGA>
+ </noExternalManagedDependencyRule>
+ </rules>
</configuration>
</execution>
+ <!-- <execution>
+ <id>dependencies-convergence</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <dependencyConvergence/>
+ </rules>
+ </configuration>
+ </execution>-->
</executions>
</plugin>
+ <plugin>
+ <groupId>org.openrewrite.maven</groupId>
+ <artifactId>rewrite-maven-plugin</artifactId>
+ <version>${version.rewrite.maven.plugin}</version>
+ </plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant-apache-regexp</artifactId>
- <version>1.8.2</version>
+ <version>${version.ant-apache-regexp}</version>
</dependency>
</dependencies>
</plugin>
-
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
@@ -1674,6 +2539,13 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
+ <configuration>
+ <includes>
+ <include>**/*IntegrationTest.java</include>
+ <include>**/*IT.java</include>
+ </includes>
+ <argLine>-Xmx1024m -Dfile.encoding=UTF-8</argLine>
+ </configuration>
<executions>
<execution>
<goals>
@@ -1682,13 +2554,6 @@
</goals>
</execution>
</executions>
- <configuration>
- <includes>
- <include>**/*IntegrationTest.java</include>
- <include>**/*IT.java</include>
- </includes>
- <argLine>-Xmx1024m -Dfile.encoding=UTF-8</argLine>
- </configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
@@ -1699,6 +2564,14 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifest>
+ <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ </manifest>
+ </archive>
+ </configuration>
<executions>
<execution>
<id>default-jar</id>
@@ -1725,9 +2598,7 @@
<archive>
<manifestEntries>
<Bundle-SymbolicName>${java.module.name}.tests</Bundle-SymbolicName>
- <Bundle-Version>
- ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.${osgi.snapshot.qualifier}
- </Bundle-Version>
+ <Bundle-Version>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.${osgi.snapshot.qualifier}</Bundle-Version>
<Bundle-Name>${project.name}</Bundle-Name>
<Bundle-Vendor>${project.organization.name}</Bundle-Vendor>
</manifestEntries>
@@ -1735,21 +2606,12 @@
</configuration>
</execution>
</executions>
- <configuration>
- <archive>
- <manifest>
- <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
- <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
- </manifest>
- </archive>
- </configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>${version.plugin.plugin}</version>
</plugin>
-
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
@@ -1765,14 +2627,10 @@
<manifestEntries>
<Bundle-ManifestVersion>2</Bundle-ManifestVersion>
<Bundle-SymbolicName>${java.module.name}.source</Bundle-SymbolicName>
- <Bundle-Version>
- ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.${osgi.snapshot.qualifier}
- </Bundle-Version>
+ <Bundle-Version>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.${osgi.snapshot.qualifier}</Bundle-Version>
<Bundle-Name>${project.name}</Bundle-Name>
<Bundle-Vendor>${project.organization.name}</Bundle-Vendor>
- <Eclipse-SourceBundle>
- ${java.module.name};version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.${osgi.snapshot.qualifier}";roots:="."
- </Eclipse-SourceBundle>
+ <Eclipse-SourceBundle>${java.module.name};version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.${osgi.snapshot.qualifier}";roots:="."</Eclipse-SourceBundle>
</manifestEntries>
</archive>
</configuration>
@@ -1787,14 +2645,10 @@
<manifestEntries>
<Bundle-ManifestVersion>2</Bundle-ManifestVersion>
<Bundle-SymbolicName>${java.module.name}.tests.source</Bundle-SymbolicName>
- <Bundle-Version>
- ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.${osgi.snapshot.qualifier}
- </Bundle-Version>
+ <Bundle-Version>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.${osgi.snapshot.qualifier}</Bundle-Version>
<Bundle-Name>${project.name}</Bundle-Name>
<Bundle-Vendor>${project.organization.name}</Bundle-Vendor>
- <Eclipse-SourceBundle>
- ${java.module.name}.tests;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.${osgi.snapshot.qualifier}";roots:="."
- </Eclipse-SourceBundle>
+ <Eclipse-SourceBundle>${java.module.name}.tests;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.${osgi.snapshot.qualifier}";roots:="."</Eclipse-SourceBundle>
</manifestEntries>
</archive>
</configuration>
@@ -1804,14 +2658,14 @@
<plugin>
<groupId>org.commonjava.maven.plugins</groupId>
<artifactId>project-sources-maven-plugin</artifactId>
- <version>0.3</version>
+ <version>${version.project-sources-maven-plugin}</version>
<executions>
<execution>
<id>project-sources-archive</id>
- <phase>initialize</phase>
<goals>
<goal>archive</goal>
</goals>
+ <phase>initialize</phase>
</execution>
</executions>
</plugin>
@@ -1842,12 +2696,12 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jaxb2-maven-plugin</artifactId>
- <version>2.2</version>
+ <version>${version.jaxb2-maven-plugin}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xml-maven-plugin</artifactId>
- <version>1.0</version>
+ <version>${version.xml-maven-plugin}</version>
</plugin>
<plugin>
<groupId>io.smallrye</groupId>
@@ -1857,7 +2711,7 @@
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
- <version>2.0.0-RC.1</version>
+ <version>${version.asciidoctor-maven-plugin}</version>
<dependencies>
<dependency>
<groupId>org.asciidoctor</groupId>
@@ -1874,12 +2728,12 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>native2ascii-maven-plugin</artifactId>
- <version>1.0-beta-1</version>
+ <version>${version.native2ascii-maven-plugin}</version>
</plugin>
<plugin>
<groupId>com.coderplus.maven.plugins</groupId>
<artifactId>copy-rename-maven-plugin</artifactId>
- <version>1.0</version>
+ <version>${version.copy-rename-maven-plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -1888,7 +2742,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
- <version>3.2.1</version>
+ <version>${version.maven-invoker-plugin}</version>
<configuration>
<writeJunitReport>true</writeJunitReport>
</configuration>
@@ -1901,7 +2755,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
- <version>2.10.0</version>
+ <version>${version.versions-maven-plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -1916,13 +2770,12 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
</plugin>
-
<!-- This plugin's configuration is used to store Eclipse m2e settings only.
It has no influence on the Maven build itself. -->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
- <version>1.0.0</version>
+ <version>${version.lifecycle-mapping}</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
@@ -1937,13 +2790,18 @@
</goals>
</pluginExecutionFilter>
<action>
- <ignore/>
+ <ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>jdepend-maven-plugin</artifactId>
+ <version>${version.jdepend.maven.plugin}</version>
+ </plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
@@ -1955,31 +2813,26 @@
<failOnError>${spotbugs.failOnViolation}</failOnError>
</configuration>
</plugin>
- <plugin>
- <groupId>org.kie</groupId>
- <artifactId>kie-maven-plugin</artifactId>
- <version>${project.version}</version>
- </plugin>
<plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
- <version>1.2.0</version>
+ <version>${version.pitest-maven}</version>
</plugin>
<!-- Incremental compiler-->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
- <version>1.5.0</version>
+ <version>${version.exec-maven-plugin}</version>
</plugin>
<plugin>
<groupId>org.wildfly.plugins</groupId>
<artifactId>wildfly-maven-plugin</artifactId>
- <version>1.2.0.Final</version>
+ <version>${version.wildfly-maven-plugin}</version>
</plugin>
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
- <version>3.6.0.1398</version>
+ <version>${version.sonar-maven-plugin}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -2025,7 +2878,6 @@
</plugin>
</plugins>
</pluginManagement>
-
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
@@ -2041,11 +2893,11 @@
<version>${version.build.helper.maven.plugin}</version>
<executions>
<execution>
- <phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
<goal>parse-version</goal>
</goals>
+ <phase>generate-sources</phase>
<configuration>
<sources>
<source>target/generated-sources/annotations/</source>
@@ -2078,46 +2930,6 @@
</plugin>
</plugins>
</build>
- <reporting>
- <plugins>
- <!-- Note: It's not possible to configure reporting plugins in pluginManagement in m2.0.4 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-project-info-reports-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jxr-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-report-plugin</artifactId>
- <version>2.6</version>
- <reportSets>
- <reportSet>
- <reports>
- <report>report-only</report>
- </reports>
- </reportSet>
- </reportSets>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>javancss-maven-plugin</artifactId>
- <version>2.0</version>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>taglist-maven-plugin</artifactId>
- <version>2.4</version>
- </plugin>
- <plugin>
- <groupId>com.github.spotbugs</groupId>
- <artifactId>spotbugs-maven-plugin</artifactId>
- </plugin>
- </plugins>
- </reporting>
-
<profiles>
<profile>
<!-- Performs the quick build: all plugins deactivated -->
@@ -2128,15 +2940,15 @@
</property>
</activation>
<properties>
- <formatter.skip>true</formatter.skip>
- <skipITs>true</skipITs>
- <skipTests>true</skipTests>
- <invoker.skip>true</invoker.skip>
<archetype.test.skip>true</archetype.test.skip>
+ <checkstyle.skip>true</checkstyle.skip>
<enforcer.skip>true</enforcer.skip>
- <revapi.skip>true</revapi.skip>
+ <formatter.skip>true</formatter.skip>
+ <invoker.skip>true</invoker.skip>
<maven.javadoc.skip>true</maven.javadoc.skip>
- <checkstyle.skip>true</checkstyle.skip>
+ <revapi.skip>true</revapi.skip>
+ <skipITs>true</skipITs>
+ <skipTests>true</skipTests>
</properties>
<build>
<defaultGoal>clean install</defaultGoal>
@@ -2147,10 +2959,10 @@
<artifactId>properties-maven-plugin</artifactId>
<executions>
<execution>
- <phase>initialize</phase>
<goals>
<goal>set-system-properties</goal>
</goals>
+ <phase>initialize</phase>
<configuration>
<properties>
<property>
@@ -2175,12 +2987,12 @@
</property>
</activation>
<properties>
- <formatter.skip>false</formatter.skip>
+ <archetype.test.skip>true</archetype.test.skip>
<formatter.goal>validate</formatter.goal>
+ <formatter.skip>false</formatter.skip>
<impsort.goal>check</impsort.goal>
- <skipITs>true</skipITs>
<invoker.skip>true</invoker.skip>
- <archetype.test.skip>true</archetype.test.skip>
+ <skipITs>true</skipITs>
</properties>
<build>
<defaultGoal>clean install</defaultGoal>
@@ -2191,10 +3003,10 @@
<artifactId>properties-maven-plugin</artifactId>
<executions>
<execution>
- <phase>initialize</phase>
<goals>
<goal>set-system-properties</goal>
</goals>
+ <phase>initialize</phase>
<configuration>
<properties>
<property>
@@ -2230,13 +3042,12 @@
</property>
</activation>
<properties>
+ <archetype.test.skip>true</archetype.test.skip>
+ <invoker.skip>true</invoker.skip>
<skipITs>true</skipITs>
<skipTests>true</skipTests>
- <invoker.skip>true</invoker.skip>
- <archetype.test.skip>true</archetype.test.skip>
</properties>
</profile>
-
<profile>
<id>fullProfile</id>
<activation>
@@ -2244,29 +3055,34 @@
<name>full</name>
</property>
</activation>
+ <properties>
+ <!-- The execution's configuration is part of the pluginManagement. This piece here only makes sure the
+ execution is enabled (by specifying a phase) for full profile builds. -->
+ <enforcer.ban-duplicated-classes.phase>validate</enforcer.ban-duplicated-classes.phase>
+ </properties>
<build>
<plugins>
- <plugin>
+ <!--<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>ban-duplicated-classes</id>
- <!-- The execution's configuration is part of the pluginManagement. This piece here only makes sure the
- execution is enabled (by specifying a phase) for full profile builds. -->
+ <!– The execution's configuration is part of the pluginManagement. This piece here only makes sure the
+ execution is enabled (by specifying a phase) for full profile builds. –>
<phase>validate</phase>
</execution>
</executions>
- </plugin>
+ </plugin>-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
- <phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
+ <phase>package</phase>
<configuration>
<source>${maven.compiler.release}</source>
</configuration>
@@ -2284,22 +3100,30 @@
<properties>
<sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
- <sonar.organization>kiegroup</sonar.organization>
<!--suppress UnresolvedMavenProperty -->
<sonar.login>${env.SONARCLOUD_TOKEN}</sonar.login>
+ <sonar.organization>kiegroup</sonar.organization>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
+ <dependencies>
+ <dependency>
+ <groupId>org.jacoco</groupId>
+ <artifactId>org.jacoco.ant</artifactId>
+ <!-- Keep the version in sync with jacoco-maven-plugin -->
+ <version>${version.jacoco.plugin}</version>
+ </dependency>
+ </dependencies>
<executions>
<execution>
<id>generate-aggregated-jacoco-report</id>
- <phase>validate</phase>
<goals>
<goal>run</goal>
</goals>
+ <phase>validate</phase>
<configuration>
<!--
Jacoco ant "report" task provides control over scope of the generated report. The report task
@@ -2314,16 +3138,16 @@
https://groups.google.com/forum/#!topic/jacoco/oMxNZs_DNII
-->
<target>
- <echo message="Generating JaCoCo Reports"/>
- <taskdef name="report" classname="org.jacoco.ant.ReportTask"/>
- <mkdir dir="${project.reporting.outputDirectory}/jacoco"/>
+ <echo message="Generating JaCoCo Reports"></echo>
+ <taskdef classname="org.jacoco.ant.ReportTask" name="report"></taskdef>
+ <mkdir dir="${project.reporting.outputDirectory}/jacoco"></mkdir>
<report>
<executiondata>
<fileset dir="${project.root.dir}/target">
<!--
Include a single jacoco.exec file, which should be used in append mode by every module.
-->
- <include name="jacoco.exec"/>
+ <include name="jacoco.exec"></include>
</fileset>
</executiondata>
<structure name="Coverage Report">
@@ -2333,20 +3157,19 @@
<!--
Include class files from every module.
-->
- <include name="**/target/classes/**/*.class"/>
+ <include name="**/target/classes/**/*.class"></include>
<!--
Following classes are excluded as they are present in multiple modules. Usually they
are a product of tests or 3rd party dependencies that got unwrapped in target/classes
folder during the build. These are not a subject of test coverage measurement.
-->
- <exclude name="**/target/**/target/classes/**/*.class"/>
-
+ <exclude name="**/target/**/target/classes/**/*.class"></exclude>
<!--
TODO: there are multiple classes of the same fully qualified name in kie-server modules.
They need to be renamed to enable coverage reporting for them.
-->
- <exclude name="**/target/classes/**/org/kie/server/gateway/KieServerGateway.class"/>
- <exclude name="**/target/classes/**/org/kie/server/springboot/samples/KieServerApplication.class"/>
+ <exclude name="**/target/classes/**/org/kie/server/gateway/KieServerGateway.class"></exclude>
+ <exclude name="**/target/classes/**/org/kie/server/springboot/samples/KieServerApplication.class"></exclude>
</fileset>
</classfiles>
<sourcefiles encoding="UTF-8">
@@ -2354,26 +3177,18 @@
<!--
Include source files from every module.
-->
- <include name="**/src/main/**/*.java"/>
+ <include name="**/src/main/**/*.java"></include>
</fileset>
</sourcefiles>
</group>
</structure>
<!-- The same report is generated in each module -->
- <xml destfile="${project.reporting.outputDirectory}/jacoco/jacoco.xml"/>
+ <xml destfile="${project.reporting.outputDirectory}/jacoco/jacoco.xml"></xml>
</report>
</target>
</configuration>
</execution>
</executions>
- <dependencies>
- <dependency>
- <groupId>org.jacoco</groupId>
- <artifactId>org.jacoco.ant</artifactId>
- <!-- Keep the version in sync with jacoco-maven-plugin -->
- <version>${version.jacoco.plugin}</version>
- </dependency>
- </dependencies>
</plugin>
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
@@ -2398,13 +3213,13 @@
</property>
</activation>
<properties>
- <sonar.pullrequest.provider>GitHub</sonar.pullrequest.provider>
+ <!--suppress UnresolvedMavenProperty -->
+ <sonar.pullrequest.base>${env.ghprbTargetBranch}</sonar.pullrequest.base>
<!--suppress UnresolvedMavenProperty -->
<sonar.pullrequest.branch>${env.ghprbSourceBranch}</sonar.pullrequest.branch>
<!--suppress UnresolvedMavenProperty -->
<sonar.pullrequest.key>${env.ghprbPullId}</sonar.pullrequest.key>
- <!--suppress UnresolvedMavenProperty -->
- <sonar.pullrequest.base>${env.ghprbTargetBranch}</sonar.pullrequest.base>
+ <sonar.pullrequest.provider>GitHub</sonar.pullrequest.provider>
</properties>
</profile>
<!-- Forces en_US usage during test execution. Useful for machine with different locale -->
@@ -2436,18 +3251,14 @@
</pluginManagement>
</build>
</profile>
-
<profile>
<id>run-code-coverage</id>
<properties>
- <jacoco.excludes>*Lexer</jacoco.excludes>
-
<!--suppress UnresolvedMavenProperty -->
<jacoco.agent.line>-javaagent:${settings.localRepository}/org/jacoco/org.jacoco.agent/${version.jacoco.plugin}/org.jacoco.agent-${version.jacoco.plugin}-runtime.jar=destfile=${jacoco.exec.file},append=true,excludes=${jacoco.excludes}</jacoco.agent.line>
- <surefire.argLine>
- -Dfile.encoding=${project.build.sourceEncoding}
- ${jacoco.agent.line}
- </surefire.argLine>
+ <jacoco.excludes>*Lexer</jacoco.excludes>
+ <surefire.argLine>-Dfile.encoding=${project.build.sourceEncoding}
+ ${jacoco.agent.line}</surefire.argLine>
</properties>
<build>
<pluginManagement>
@@ -2503,28 +3314,25 @@
<executions>
<execution>
<id>unpack-jar</id>
- <phase>compile</phase>
<goals>
<goal>unpack</goal>
</goals>
+ <phase>compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
-
<profile>
<id>archunit-java17</id>
<activation>
<jdk>[17,21)</jdk>
</activation>
<properties>
- <version.archunit.maven.plugin>2.9.1</version.archunit.maven.plugin>
<version.archunit.junit5>1.2.0</version.archunit.junit5>
+ <version.archunit.maven.plugin>2.9.1</version.archunit.maven.plugin>
</properties>
</profile>
-
</profiles>
-
</project>
diff --git a/kie-pmml-trusty/kie-pmml-models/kie-pmml-models-drools/pom.xml b/kie-pmml-trusty/kie-pmml-models/kie-pmml-models-drools/pom.xml
index 7b948f5ebe..6f01429b82 100644
--- a/kie-pmml-trusty/kie-pmml-models/kie-pmml-models-drools/pom.xml
+++ b/kie-pmml-trusty/kie-pmml-models/kie-pmml-models-drools/pom.xml
@@ -39,23 +39,6 @@
<module>kie-pmml-models-drools-scorecard</module>
</modules>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-drl-compilation-common</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-drl-map-input-runtime</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<build>
<plugins>
<plugin>
diff --git a/kie-pmml-trusty/kie-pmml-models/kie-pmml-models-scorecard/kie-pmml-models-scorecard-compiler/pom.xml b/kie-pmml-trusty/kie-pmml-models/kie-pmml-models-scorecard/kie-pmml-models-scorecard-compiler/pom.xml
index 3d6f0ef6bc..d81d57cb2a 100644
--- a/kie-pmml-trusty/kie-pmml-models/kie-pmml-models-scorecard/kie-pmml-models-scorecard-compiler/pom.xml
+++ b/kie-pmml-trusty/kie-pmml-models/kie-pmml-models-scorecard/kie-pmml-models-scorecard-compiler/pom.xml
@@ -86,14 +86,4 @@
</dependency>
</dependencies>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-pmml-models-scorecard-model</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
</project>
diff --git a/kie-pmml-trusty/kie-pmml-models/kie-pmml-models-scorecard/kie-pmml-models-scorecard-evaluator/pom.xml b/kie-pmml-trusty/kie-pmml-models/kie-pmml-models-scorecard/kie-pmml-models-scorecard-evaluator/pom.xml
index 8030b72f83..6871d82a61 100644
--- a/kie-pmml-trusty/kie-pmml-models/kie-pmml-models-scorecard/kie-pmml-models-scorecard-evaluator/pom.xml
+++ b/kie-pmml-trusty/kie-pmml-models/kie-pmml-models-scorecard/kie-pmml-models-scorecard-evaluator/pom.xml
@@ -50,15 +50,4 @@
</dependencies>
- <dependencyManagement>
- <!-- TODO MOVE TO kie-pmml-trusty/pom.xml -->
- <dependencies>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-pmml-models-scorecard-model</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
</project>
diff --git a/kie-pmml-trusty/kie-pmml-models/kie-pmml-models-scorecard/kie-pmml-models-scorecard-tests/pom.xml b/kie-pmml-trusty/kie-pmml-models/kie-pmml-models-scorecard/kie-pmml-models-scorecard-tests/pom.xml
index 4d99c67b00..94b5d0b790 100644
--- a/kie-pmml-trusty/kie-pmml-models/kie-pmml-models-scorecard/kie-pmml-models-scorecard-tests/pom.xml
+++ b/kie-pmml-trusty/kie-pmml-models/kie-pmml-models-scorecard/kie-pmml-models-scorecard-tests/pom.xml
@@ -119,25 +119,4 @@
</dependency>
</dependencies>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-pmml-models-scorecard-model</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-pmml-models-scorecard-compiler</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-pmml-models-scorecard-evaluator</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
-
</project>
diff --git a/kie-pmml-trusty/kie-pmml-models/kie-pmml-models-tree/kie-pmml-models-tree-compiler/pom.xml b/kie-pmml-trusty/kie-pmml-models/kie-pmml-models-tree/kie-pmml-models-tree-compiler/pom.xml
index 5175ebb3e7..5caddec61e 100644
--- a/kie-pmml-trusty/kie-pmml-models/kie-pmml-models-tree/kie-pmml-models-tree-compiler/pom.xml
+++ b/kie-pmml-trusty/kie-pmml-models/kie-pmml-models-tree/kie-pmml-models-tree-compiler/pom.xml
@@ -86,14 +86,4 @@
</dependency>
</dependencies>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-pmml-models-tree-model</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
</project>
diff --git a/kie-pmml-trusty/kie-pmml-models/kie-pmml-models-tree/kie-pmml-models-tree-evaluator/pom.xml b/kie-pmml-trusty/kie-pmml-models/kie-pmml-models-tree/kie-pmml-models-tree-evaluator/pom.xml
index 65cd0316c5..8f2da9e7e1 100644
--- a/kie-pmml-trusty/kie-pmml-models/kie-pmml-models-tree/kie-pmml-models-tree-evaluator/pom.xml
+++ b/kie-pmml-trusty/kie-pmml-models/kie-pmml-models-tree/kie-pmml-models-tree-evaluator/pom.xml
@@ -50,15 +50,4 @@
</dependencies>
- <dependencyManagement>
- <!-- TODO MOVE TO kie-pmml-trusty/pom.xml -->
- <dependencies>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-pmml-models-tree-model</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
</project>
diff --git a/kie-pmml-trusty/kie-pmml-models/kie-pmml-models-tree/kie-pmml-models-tree-tests/pom.xml b/kie-pmml-trusty/kie-pmml-models/kie-pmml-models-tree/kie-pmml-models-tree-tests/pom.xml
index fde2ac9b99..7ac9507df0 100644
--- a/kie-pmml-trusty/kie-pmml-models/kie-pmml-models-tree/kie-pmml-models-tree-tests/pom.xml
+++ b/kie-pmml-trusty/kie-pmml-models/kie-pmml-models-tree/kie-pmml-models-tree-tests/pom.xml
@@ -124,25 +124,4 @@
</dependency>
</dependencies>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-pmml-models-tree-model</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-pmml-models-tree-compiler</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-pmml-models-tree-evaluator</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
-
</project>
diff --git a/kie-pmml-trusty/pom.xml b/kie-pmml-trusty/pom.xml
index 1bf9a52d7c..7f7433894a 100644
--- a/kie-pmml-trusty/pom.xml
+++ b/kie-pmml-trusty/pom.xml
@@ -36,11 +36,6 @@
<name>KIE :: PMML</name>
<description>Support for PMML-Encoded Predictive Models</description>
- <properties>
- <rewrite.maven.plugin.version>4.42.0</rewrite.maven.plugin.version>
- <rewrite.testing.frameworks.version>1.22.0</rewrite.testing.frameworks.version>
- </properties>
-
<modules>
<module>kie-pmml-commons</module>
<module>kie-pmml-compiler</module>
@@ -50,18 +45,6 @@
<module>kie-pmml-api</module>
</modules>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-pmml-bom</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
<dependency>
<groupId>org.assertj</groupId>
@@ -90,15 +73,6 @@
</dependencies>
<build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.openrewrite.maven</groupId>
- <artifactId>rewrite-maven-plugin</artifactId>
- <version>${rewrite.maven.plugin.version}</version>
- </plugin>
- </plugins>
- </pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -140,7 +114,7 @@
<dependency>
<groupId>org.openrewrite.recipe</groupId>
<artifactId>rewrite-testing-frameworks</artifactId>
- <version>${rewrite.testing.frameworks.version}</version>
+ <version>${version.rewrite.testing.frameworks}</version>
</dependency>
</dependencies>
</plugin>
diff --git a/kie-dmn/kie-dmn-pmml-tests-parent/pom.xml b/kie-quarkus-build-parent/pom.xml
similarity index 54%
copy from kie-dmn/kie-dmn-pmml-tests-parent/pom.xml
copy to kie-quarkus-build-parent/pom.xml
index 09982a8ea3..ba79f84a9d 100644
--- a/kie-dmn/kie-dmn-pmml-tests-parent/pom.xml
+++ b/kie-quarkus-build-parent/pom.xml
@@ -22,61 +22,62 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
<parent>
- <artifactId>kie-dmn</artifactId>
<groupId>org.kie</groupId>
+ <artifactId>drools-build-parent</artifactId>
<version>999-SNAPSHOT</version>
+ <relativePath>../build-parent/pom.xml</relativePath>
</parent>
- <modelVersion>4.0.0</modelVersion>
+
+ <artifactId>kie-quarkus-build-parent</artifactId>
<packaging>pom</packaging>
- <name>KiE :: Decision Model Notation - PMML Tests :: Parent</name>
- <artifactId>kie-dmn-pmml-tests-parent</artifactId>
+ <name>Kie Quarkus :: Build Parent</name>
+ <description>
+ Build parent for all kie+quarkus projects
+ </description>
- <modules>
- <module>kie-dmn-pmml-tests</module>
- <module>kie-dmn-pmml-tests-trusty</module>
- </modules>
+ <properties>
+ <version.io.quarkus>3.27.3</version.io.quarkus>
+ <version.io.quarkus.camel>3.27.3</version.io.quarkus.camel>
+ <!-- Used to define which poms are allowed to have dependencyManagement sections. This is to enforce the convention that only the root pom should have dependencyManagement, and all other poms should inherit from it. -->
+ <allowedPomsList>org.kie:kie-quarkus-build-parent</allowedPomsList>
+ <!-- To be overridden by poms with dependency management -->
+ <root_pom>../pom.xml</root_pom>
+ </properties>
<dependencyManagement>
<dependencies>
<dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-bom</artifactId>
- <version>${project.version}</version>
+ <groupId>io.quarkus</groupId>
+ <artifactId>quarkus-bom</artifactId>
+ <version>${version.io.quarkus}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-core</artifactId>
- <classifier>tests</classifier>
- <scope>test</scope>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-quarkus-integration-test-multimodule-dep</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-validation</artifactId>
- <classifier>tests</classifier>
- <scope>test</scope>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-quarkus-ruleunits</artifactId>
<version>${project.version}</version>
</dependency>
+
<dependency>
- <groupId>org.kie</groupId>
- <artifactId>kie-dmn-pmml-tests</artifactId>
- <classifier>tests</classifier>
- <scope>test</scope>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-quarkus-ruleunits-deployment</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.drools</groupId>
+ <artifactId>drools-quarkus-util-deployment</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-engine</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
-</project>
+</project>
\ No newline at end of file
diff --git a/kie-test-util/pom.xml b/kie-test-util/pom.xml
index 448bb2f3f6..c611b703e4 100644
--- a/kie-test-util/pom.xml
+++ b/kie-test-util/pom.xml
@@ -38,23 +38,6 @@
<java.module.name>org.kie.testutil</java.module.name>
</properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>tomcat-dbcp</artifactId>
- <version>${version.org.apache.tomcat.tomcat-dbcp}</version>
- </dependency>
-
- <!-- simple-jndi is a small library that helps us avoid JNDI error messages during testing -->
- <dependency>
- <groupId>simple-jndi</groupId>
- <artifactId>simple-jndi</artifactId>
- <version>${version.simple-jndi}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
<!-- IMPORTANT! Do not add any drools/jbpm/kie dependencies here. -->
<!-- This is meant to be a lightweight test utility artifact. -->
diff --git a/kie-util/kie-util-maven-integration/pom.xml b/kie-util/kie-util-maven-integration/pom.xml
index fd416f1f66..d656616a24 100644
--- a/kie-util/kie-util-maven-integration/pom.xml
... 36 lines suppressed ...
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org