Uploaded image for project: 'Red Hat build of OptaPlanner'
  1. Red Hat build of OptaPlanner
  2. RHBOP-33

Unresolved dependency: 'org.optaplanner:optaplanner-constraint-streams-bavet:jar:8.29.0.Final-redhat-00009'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.33.0.GA
    • 8.29.0.GA
    • Certification

      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> 

              alampare Andrea Lamparelli
              optazen Simon Tiffert (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: