-
Bug
-
Resolution: Done
-
Major
-
8.29.0.GA
-
False
-
None
-
False
-
Bug Fix
-
+
The Bavet dependency seems to be not optional and is failing the pom resolution for the
Red Hat build of OptaPlanner 8.29 (RHBOP) when updating to from 8.13.0.Final-redhat-00008 to 8.29.0.Final-redhat-00009 (I know that Bavet is no part of the official build)
[ERROR] Failed to execute goal on project XXX: Could not resolve dependencies for project XXX: Could not find artifact org.optaplanner:optaplanner-constraint-streams-bavet:jar:8.29.0.Final-redhat-00009 in redhat (https://maven.repository.redhat.com/ga)
mvn dependency:tree
[DEBUG] org.optaplanner:optaplanner-quarkus:jar:8.29.0.Final-redhat-00009:compile [DEBUG] org.optaplanner:optaplanner-core:jar:8.29.0.Final-redhat-00009:compile (version managed from 8.29.0.Final-redhat-00009) [DEBUG] org.optaplanner:optaplanner-core-impl:jar:8.29.0.Final-redhat-00009:compile (version managed from 8.29.0.Final-redhat-00009) [DEBUG] org.apache.commons:commons-math3:jar:3.6.1.redhat-00001:compile [DEBUG] org.optaplanner:optaplanner-constraint-streams-drools:jar:8.29.0.Final-redhat-00009:compile (version managed from 8.29.0.Final-redhat-00009) [DEBUG] org.drools:drools-engine:jar:8.29.0.Final-redhat-00012:compile [DEBUG] org.drools:drools-core:jar:8.29.0.Final-redhat-00012:compile [DEBUG] org.kie:kie-util-xml:jar:8.29.0.Final-redhat-00012:compile [DEBUG] org.drools:drools-io:jar:8.29.0.Final-redhat-00012:compile [DEBUG] org.drools:drools-kiesession:jar:8.29.0.Final-redhat-00012:compile [DEBUG] org.drools:drools-tms:jar:8.29.0.Final-redhat-00012:compile [DEBUG] org.drools:drools-compiler:jar:8.29.0.Final-redhat-00012:compile [DEBUG] org.drools:drools-drl-parser:jar:8.29.0.Final-redhat-00012:compile [DEBUG] org.drools:drools-drl-extensions:jar:8.29.0.Final-redhat-00012:compile [DEBUG] org.drools:drools-drl-ast:jar:8.29.0.Final-redhat-00012:compile [DEBUG] org.drools:drools-ecj:jar:8.29.0.Final-redhat-00012:compile [DEBUG] org.kie:kie-util-maven-support:jar:8.29.0.Final-redhat-00012:compile [DEBUG] org.antlr:antlr-runtime:jar:3.5.2.redhat-1:compile [DEBUG] org.drools:drools-model-compiler:jar:8.29.0.Final-redhat-00012:compile [DEBUG] org.drools:drools-canonical-model:jar:8.29.0.Final-redhat-00012:compile [DEBUG] org.drools:drools-model-codegen:jar:8.29.0.Final-redhat-00012:compile [DEBUG] org.drools:drools-codegen-common:jar:8.29.0.Final-redhat-00012:compile [DEBUG] com.github.javaparser:javaparser-core:jar:3.24.2.redhat-00001:compile [DEBUG] org.drools:drools-mvel-parser:jar:8.29.0.Final-redhat-00012:compile [DEBUG] org.drools:drools-mvel-compiler:jar:8.29.0.Final-redhat-00012:compile [DEBUG] org.drools:drools-alphanetwork-compiler:jar:8.29.0.Final-redhat-00012:compile [DEBUG] org.optaplanner:optaplanner-constraint-drl:jar:8.29.0.Final-redhat-00009:compile (version managed from 8.29.0.Final-redhat-00009) [DEBUG] org.optaplanner:optaplanner-constraint-streams-bavet:jar:8.29.0.Final-redhat-00009:compile (version managed from 8.29.0.Final-redhat-00009)
My current solution is to exclude the dependency:
<dependency> <groupId>org.optaplanner</groupId> <artifactId>optaplanner-quarkus</artifactId> <exclusions> <exclusion> <groupId>org.optaplanner</groupId> <artifactId>optaplanner-constraint-streams-bavet</artifactId> </exclusion> </exclusions> </dependency>
- duplicates
-
RHBOP-23 optaplanner-constraint-streams-bavet resolution appears during build
- Verified