Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-7575

ansible-drools-integration incompatible ANTLR : 2nd round

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Ansible Integration
    • None
    • 2023 Week 36-38 (from Sep 4)
    • 2
    • NEW
    • NEW
    • ---
    • ---

      drools-ansible-rulebook-integration-runtime-1.0.5.Final-redhat-00001.jar still contains antlr4-runtime 4.9.2.redhat-00003

      drools-ansible-rulebook-integration/pom.xml

        <dependencyManagement>
          <dependencies>
            <dependency>
              <groupId>org.kie</groupId>
              <artifactId>drools-build-parent</artifactId>
              <version>${version.drools}</version>
              <type>pom</type>
              <scope>import</scope>
            </dependency>
          </dependencies>
        </dependencyManagement>
      

      This dependencyManagement affects all sub modules. DROOLS-7574 fixed drools-ansible-rulebook-integration-protoextractor, but drools-ansible-rulebook-integration-api and drools-ansible-rulebook-integration-runtime still pull antlr4 version of drools-build-parent. It results in antlr4-runtime 4.9.2.redhat-00003 in the runtime jar.

      Note that "exclusions" doesn't work for "import".
      https://stackoverflow.com/questions/39276024/import-dependency-management-with-exclusion
      https://stackoverflow.com/questions/62750789/maven-dependency-management-mechanism-the-priority-about-dependency-management

              rhn-support-tkobayas Toshiya Kobayashi
              rhn-support-tkobayas Toshiya Kobayashi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: