apache / incubator-kie-kogito-runtimes

Kogito Runtimes - Kogito is a cloud-native business automation technology for building cloud-ready business applications.
http://kogito.kie.org
Apache License 2.0
534 stars 206 forks source link

[kogito-quarkus-decisions] 'ANTLR version 4.8 used for parser compliation does not match the current runtime version 4.9.2' warning #1734

Closed rgmz closed 2 years ago

rgmz commented 2 years ago

Description

While following the Quarkus Kogito DMN guide, I noticed the following warning. While this does not seem to cause any issues, I thought it'd be prudent to report it:

2021-11-20 23:20:24,884 INFO  [org.kie.kog.cod.api.uti.AddonsConfigDiscovery] (build-21) Performed addonsConfig discovery, found: AddonsConfig{usePersistence=false, useTracing=false, useMonitoring=false, usePrometheusMonitoring=false, useCloudEvents=false, useExplainability=false, useProcessSVG=false, useEventDrivenDecisions=false, useEventDrivenRules=false}
2021-11-20 23:20:24,939 INFO  [org.kie.kog.cod.cor.uti.ApplicationGeneratorDiscovery] (build-21) Generator discovery performed, found [openapispecs, decisions]
2021-11-20 23:20:24,940 INFO  [org.kie.kog.cod.cor.ApplicationGenerator] (build-21) Skipping generator 'openapispecs' because disabled

ANTLR Tool version 4.8 used for code generation does not match the current runtime version 4.9.2

ANTLR Runtime version 4.8 used for parser compilation does not match the current runtime version 4.9.2

ANTLR Tool version 4.8 used for code generation does not match the current runtime version 4.9.2

ANTLR Runtime version 4.8 used for parser compilation does not match the current runtime version 4.9.2

2021-11-20 23:20:25,556 INFO  [org.kie.kog.cod.dec.DecisionValidation] (build-21) Initializing DMN DT Validator...
2021-11-20 23:20:25,557 INFO  [org.kie.kog.cod.dec.DecisionValidation] (build-21) DMN DT Validator initialized.

There is a previous issue on the Quarkus repository about this, so I'm guessing this is a mismatch between Quarkus and Kogito dependencies.

Dependency Tree

It isn't clear where 4.8 is coming from. It was previously defined in the root pom.xml of this repository -- now, I am not sure.

https://github.com/kiegroup/kogito-runtimes/pull/607 https://github.com/quarkusio/quarkus/search?q=antlr

maven dependency:tree output (click to expand) ```sh [INFO] org.acme:kogito-dmn-quickstart:jar:1.0.0-SNAPSHOT [INFO] +- org.kie.kogito:kogito-quarkus-decisions:jar:1.12.0.Final:compile [INFO] | +- org.kie.kogito:kogito-quarkus-common:jar:1.12.0.Final:compile [INFO] | | +- org.kie.kogito:kogito-api-incubation-application:jar:1.12.0.Final:compile [INFO] | | | \- org.kie.kogito:kogito-api-incubation-common:jar:1.12.0.Final:compile [INFO] | | +- org.mvel:mvel2:jar:2.4.12.Final:compile [INFO] | | +- com.jayway.jsonpath:json-path:jar:2.6.0:compile [INFO] | | | \- net.minidev:json-smart:jar:2.4.7:compile [INFO] | | | \- net.minidev:accessors-smart:jar:2.4.7:compile [INFO] | | +- io.quarkus:quarkus-resteasy-jackson:jar:2.4.2.Final:compile [INFO] | | | +- io.quarkus:quarkus-jackson:jar:2.4.2.Final:compile [INFO] | | | | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.12.5:compile [INFO] | | | | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.12.5:compile [INFO] | | | | \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.12.5:compile [INFO] | | | +- org.jboss.resteasy:resteasy-jackson2-provider:jar:4.7.3.Final:compile [INFO] | | | | +- com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:2.12.5:compile [INFO] | | | | | +- com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:jar:2.12.5:compile [INFO] | | | | | \- com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.12.5:compile [INFO] | | | | \- com.github.java-json-tools:json-patch:jar:1.13:compile [INFO] | | | | +- com.github.java-json-tools:msg-simple:jar:1.2:compile [INFO] | | | | | \- com.github.java-json-tools:btf:jar:1.3:compile [INFO] | | | | \- com.github.java-json-tools:jackson-coreutils:jar:2.0:compile [INFO] | | | \- org.jboss.spec.javax.xml.bind:jboss-jaxb-api_2.3_spec:jar:2.0.0.Final:compile [INFO] | | +- io.quarkus.arc:arc-processor:jar:2.4.2.Final:compile [INFO] | | | \- io.quarkus.gizmo:gizmo:jar:1.0.9.Final:compile [INFO] | | | \- org.ow2.asm:asm-util:jar:9.1:compile [INFO] | | +- io.quarkus:quarkus-undertow:jar:2.4.2.Final:compile [INFO] | | | +- io.quarkus.http:quarkus-http-servlet:jar:4.1.3:compile [INFO] | | | +- jakarta.servlet:jakarta.servlet-api:jar:4.0.3:compile [INFO] | | | +- io.quarkus.http:quarkus-http-vertx-backend:jar:4.1.3:compile [INFO] | | | | \- io.quarkus.http:quarkus-http-http-core:jar:4.1.3:compile [INFO] | | | \- io.quarkus.http:quarkus-http-core:jar:4.1.3:compile [INFO] | | | \- io.netty:netty-codec-http:jar:4.1.68.Final:compile [INFO] | | +- org.kie.kogito:kogito-api:jar:1.12.0.Final:compile [INFO] | | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.12.5:compile [INFO] | | | +- org.kie:kie-api:jar:7.59.0.Final:compile [INFO] | | | | \- org.kie.soup:kie-soup-maven-support:jar:7.59.0.Final:compile [INFO] | | | +- org.kie:kie-dmn-api:jar:7.59.0.Final:compile [INFO] | | | +- org.kie.kogito:kogito-timer:jar:1.12.0.Final:compile [INFO] | | | \- org.kie.kogito:kogito-pmml-api-dependencies:pom:1.12.0.Final:compile [INFO] | | | +- org.kie:kie-pmml-evaluator-api:jar:7.59.0.Final:compile [INFO] | | | | \- org.kie:kie-pmml-api:jar:7.59.0.Final:compile [INFO] | | | | \- org.apache.commons:commons-math3:jar:3.4.1:compile [INFO] | | | \- org.kie:kie-pmml-commons:jar:7.59.0.Final:compile [INFO] | | | \- org.apache.commons:commons-text:jar:1.9:compile [INFO] | | \- jakarta.annotation:jakarta.annotation-api:jar:1.3.5:compile [INFO] | +- org.kie.kogito:kogito-api-incubation-decisions-services:jar:1.12.0.Final:compile [INFO] | | \- org.kie.kogito:kogito-api-incubation-decisions:jar:1.12.0.Final:compile [INFO] | \- org.kie.kogito:kogito-dmn:jar:1.12.0.Final:compile [INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.12.5:compile [INFO] | | \- com.fasterxml.jackson.core:jackson-core:jar:2.12.5:compile [INFO] | +- org.kie:kie-dmn-core:jar:7.59.0.Final:compile [INFO] | | +- org.kie:kie-dmn-model:jar:7.59.0.Final:compile [INFO] | | +- org.kie:kie-dmn-backend:jar:7.59.0.Final:compile [INFO] | | | \- org.kie.soup:kie-soup-xstream:jar:7.59.0.Final:compile [INFO] | | +- org.kie:kie-dmn-feel:jar:7.59.0.Final:compile [INFO] | | | \- ch.obermuhlner:big-math:jar:2.0.1:compile [INFO] | | +- org.kie:kie-internal:jar:7.59.0.Final:compile [INFO] | | +- org.kie:kie-memory-compiler:jar:7.59.0.Final:compile [INFO] | | +- com.github.javaparser:javaparser-core:jar:3.13.10:compile [INFO] | | +- org.drools:drools-alphanetwork-compiler:jar:7.59.0.Final:compile [INFO] | | +- org.antlr:antlr4-runtime:jar:4.9.2:compile [INFO] | | \- org.jpmml:pmml-model:jar:1.5.1:compile [INFO] | | \- org.jpmml:pmml-agent:jar:1.5.1:compile [INFO] | +- org.kie:kie-dmn-validation:jar:7.59.0.Final:compile [INFO] | \- org.kie.kogito:kogito-drools:jar:1.12.0.Final:compile [INFO] | +- org.kie.kogito:drools-core:jar:1.12.0.Final:compile [INFO] | | +- org.drools:drools-core:jar:7.59.0.Final:compile [INFO] | | \- org.kie.kogito:kogito-services:jar:1.12.0.Final:compile [INFO] | +- org.kie.kogito:drools-compiler:jar:1.12.0.Final:compile [INFO] | | \- org.drools:drools-compiler:jar:7.59.0.Final:compile [INFO] | | +- org.drools:drools-ecj:jar:7.59.0.Final:compile [INFO] | | \- org.antlr:antlr-runtime:jar:3.5.2:compile [INFO] | +- org.kie.kogito:drools-core-static:jar:1.12.0.Final:compile [INFO] | | \- org.drools:drools-core-reflective:jar:7.59.0.Final:compile [INFO] | +- org.kie.kogito:kogito-ruleunits:jar:1.12.0.Final:compile [INFO] | \- org.kie.kogito:kogito-drools-model:jar:1.12.0.Final:compile [INFO] | \- org.drools:drools-model-compiler:jar:7.59.0.Final:compile [INFO] | +- org.drools:drools-canonical-model:jar:7.59.0.Final:compile [INFO] | +- org.drools:drools-mvel-parser:jar:7.59.0.Final:compile [INFO] | \- org.drools:drools-mvel-compiler:jar:7.59.0.Final:compile [INFO] +- io.quarkus:quarkus-arc:jar:2.4.2.Final:compile [INFO] | +- io.quarkus.arc:arc:jar:2.4.2.Final:compile [INFO] | | +- jakarta.enterprise:jakarta.enterprise.cdi-api:jar:2.0.2:compile [INFO] | | | +- jakarta.el:jakarta.el-api:jar:3.0.3:compile [INFO] | | | \- jakarta.interceptor:jakarta.interceptor-api:jar:1.2.5:compile [INFO] | | +- jakarta.transaction:jakarta.transaction-api:jar:1.3.3:compile [INFO] | | \- org.jboss.logging:jboss-logging:jar:3.4.2.Final:compile [INFO] | +- io.quarkus:quarkus-core:jar:2.4.2.Final:compile [INFO] | | +- jakarta.inject:jakarta.inject-api:jar:1.0:compile [INFO] | | +- io.quarkus:quarkus-ide-launcher:jar:2.4.2.Final:compile [INFO] | | +- io.quarkus:quarkus-development-mode-spi:jar:2.4.2.Final:compile [INFO] | | +- io.smallrye.config:smallrye-config:jar:2.5.1:compile [INFO] | | | \- io.smallrye.config:smallrye-config-core:jar:2.5.1:compile [INFO] | | | +- org.eclipse.microprofile.config:microprofile-config-api:jar:2.0:compile [INFO] | | | +- io.smallrye.common:smallrye-common-expression:jar:1.6.0:compile [INFO] | | | | \- io.smallrye.common:smallrye-common-function:jar:1.6.0:compile [INFO] | | | +- io.smallrye.common:smallrye-common-constraint:jar:1.6.0:compile [INFO] | | | +- io.smallrye.common:smallrye-common-classloader:jar:1.6.0:compile [INFO] | | | \- io.smallrye.config:smallrye-config-common:jar:2.5.1:compile [INFO] | | +- org.jboss.logmanager:jboss-logmanager-embedded:jar:1.0.9:compile [INFO] | | +- org.jboss.logging:jboss-logging-annotations:jar:2.2.1.Final:compile [INFO] | | +- org.jboss.threads:jboss-threads:jar:3.4.2.Final:compile [INFO] | | +- org.slf4j:slf4j-api:jar:1.7.30:compile [INFO] | | +- org.jboss.slf4j:slf4j-jboss-logmanager:jar:1.1.0.Final:compile [INFO] | | +- org.graalvm.sdk:graal-sdk:jar:21.2.0:compile [INFO] | | +- org.wildfly.common:wildfly-common:jar:1.5.4.Final-format-001:compile [INFO] | | \- io.quarkus:quarkus-bootstrap-runner:jar:2.4.2.Final:compile [INFO] | \- org.eclipse.microprofile.context-propagation:microprofile-context-propagation-api:jar:1.2:compile [INFO] +- io.quarkus:quarkus-resteasy:jar:2.4.2.Final:compile [INFO] | +- io.quarkus:quarkus-vertx-http:jar:2.4.2.Final:compile [INFO] | | +- io.quarkus:quarkus-security-runtime-spi:jar:2.4.2.Final:compile [INFO] | | +- io.quarkus:quarkus-mutiny:jar:2.4.2.Final:compile [INFO] | | | +- io.smallrye.reactive:mutiny:jar:1.1.2:compile [INFO] | | | | \- org.reactivestreams:reactive-streams:jar:1.0.3:compile [INFO] | | | +- io.quarkus:quarkus-smallrye-context-propagation:jar:2.4.2.Final:compile [INFO] | | | | \- io.smallrye:smallrye-context-propagation:jar:1.2.2:compile [INFO] | | | | +- io.smallrye:smallrye-context-propagation-api:jar:1.2.2:compile [INFO] | | | | \- io.smallrye:smallrye-context-propagation-storage:jar:1.2.2:compile [INFO] | | | \- io.smallrye.reactive:mutiny-smallrye-context-propagation:jar:1.1.2:compile [INFO] | | +- io.quarkus:quarkus-vertx-http-dev-console-runtime-spi:jar:2.4.2.Final:compile [INFO] | | +- io.quarkus.security:quarkus-security:jar:1.1.4.Final:compile [INFO] | | +- io.quarkus:quarkus-vertx:jar:2.4.2.Final:compile [INFO] | | | +- io.quarkus:quarkus-netty:jar:2.4.2.Final:compile [INFO] | | | | +- io.netty:netty-codec:jar:4.1.68.Final:compile [INFO] | | | | +- io.netty:netty-codec-http2:jar:4.1.68.Final:compile [INFO] | | | | \- io.netty:netty-handler:jar:4.1.68.Final:compile [INFO] | | | +- io.netty:netty-codec-haproxy:jar:4.1.68.Final:compile [INFO] | | | | +- io.netty:netty-buffer:jar:4.1.68.Final:compile [INFO] | | | | \- io.netty:netty-transport:jar:4.1.68.Final:compile [INFO] | | | +- io.smallrye.common:smallrye-common-annotation:jar:1.6.0:compile [INFO] | | | +- io.smallrye.reactive:smallrye-mutiny-vertx-core:jar:2.14.1:compile [INFO] | | | | +- io.smallrye.reactive:smallrye-mutiny-vertx-runtime:jar:2.14.1:compile [INFO] | | | | \- io.smallrye.reactive:vertx-mutiny-generator:jar:2.14.1:compile [INFO] | | | | \- io.vertx:vertx-codegen:jar:4.1.5:compile [INFO] | | | \- io.smallrye:smallrye-fault-tolerance-vertx:jar:5.2.1:compile [INFO] | | +- io.smallrye.reactive:smallrye-mutiny-vertx-web:jar:2.14.1:compile [INFO] | | | +- io.smallrye.reactive:smallrye-mutiny-vertx-web-common:jar:2.14.1:compile [INFO] | | | +- io.smallrye.reactive:smallrye-mutiny-vertx-auth-common:jar:2.14.1:compile [INFO] | | | \- io.smallrye.reactive:smallrye-mutiny-vertx-bridge-common:jar:2.14.1:compile [INFO] | | \- io.vertx:vertx-web:jar:4.1.5:compile [INFO] | | +- io.vertx:vertx-web-common:jar:4.1.5:compile [INFO] | | +- io.vertx:vertx-auth-common:jar:4.1.5:compile [INFO] | | +- io.vertx:vertx-bridge-common:jar:4.1.5:compile [INFO] | | \- io.vertx:vertx-core:jar:4.1.5:compile [INFO] | | +- io.netty:netty-common:jar:4.1.68.Final:compile [INFO] | | +- io.netty:netty-handler-proxy:jar:4.1.68.Final:compile [INFO] | | | \- io.netty:netty-codec-socks:jar:4.1.68.Final:compile [INFO] | | +- io.netty:netty-resolver:jar:4.1.68.Final:compile [INFO] | | \- io.netty:netty-resolver-dns:jar:4.1.68.Final:compile [INFO] | | \- io.netty:netty-codec-dns:jar:4.1.68.Final:compile [INFO] | \- io.quarkus:quarkus-resteasy-server-common:jar:2.4.2.Final:compile [INFO] | +- io.quarkus:quarkus-resteasy-common:jar:2.4.2.Final:compile [INFO] | | +- org.jboss.resteasy:resteasy-core:jar:4.7.3.Final:compile [INFO] | | | +- org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_2.1_spec:jar:2.0.1.Final:compile [INFO] | | | +- org.jboss.resteasy:resteasy-core-spi:jar:4.7.3.Final:compile [INFO] | | | \- com.ibm.async:asyncutil:jar:0.1.0:compile [INFO] | | \- com.sun.activation:jakarta.activation:jar:1.2.1:compile [INFO] | \- jakarta.validation:jakarta.validation-api:jar:2.0.2:compile [INFO] +- io.quarkus:quarkus-junit5:jar:2.4.2.Final:test [INFO] | +- io.quarkus:quarkus-bootstrap-core:jar:2.4.2.Final:test [INFO] | | +- io.quarkus:quarkus-bootstrap-app-model:jar:2.4.2.Final:test [INFO] | | +- io.quarkus:quarkus-bootstrap-maven-resolver:jar:2.4.2.Final:test [INFO] | | | +- org.apache.maven:maven-embedder:jar:3.8.1:test [INFO] | | | | +- org.apache.maven:maven-settings:jar:3.8.1:test [INFO] | | | | +- org.apache.maven:maven-core:jar:3.8.1:test [INFO] | | | | | +- org.apache.maven:maven-artifact:jar:3.8.1:test [INFO] | | | | | \- org.codehaus.plexus:plexus-component-annotations:jar:2.1.0:test [INFO] | | | | +- org.apache.maven:maven-plugin-api:jar:3.8.1:test [INFO] | | | | +- org.apache.maven:maven-model:jar:3.8.1:test [INFO] | | | | +- org.apache.maven:maven-model-builder:jar:3.8.1:test [INFO] | | | | +- org.apache.maven:maven-builder-support:jar:3.8.1:test [INFO] | | | | +- org.apache.maven.resolver:maven-resolver-api:jar:1.6.2:test [INFO] | | | | +- org.apache.maven.resolver:maven-resolver-util:jar:1.6.2:test [INFO] | | | | +- org.apache.maven.shared:maven-shared-utils:jar:3.3.3:test [INFO] | | | | | \- commons-io:commons-io:jar:2.11.0:test [INFO] | | | | +- com.google.inject:guice:jar:no_aop:4.2.1:test [INFO] | | | | | \- com.google.guava:guava:jar:30.1.1-jre:test [INFO] | | | | | +- com.google.guava:failureaccess:jar:1.0.1:test [INFO] | | | | | \- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:test [INFO] | | | | +- org.codehaus.plexus:plexus-utils:jar:3.2.1:test [INFO] | | | | +- org.codehaus.plexus:plexus-classworlds:jar:2.6.0:test [INFO] | | | | \- commons-cli:commons-cli:jar:1.4:test [INFO] | | | +- org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.3.4:test [INFO] | | | +- org.apache.maven:maven-settings-builder:jar:3.8.1:test [INFO] | | | | +- org.codehaus.plexus:plexus-interpolation:jar:1.25:test [INFO] | | | | \- org.sonatype.plexus:plexus-sec-dispatcher:jar:1.4:test [INFO] | | | | \- org.sonatype.plexus:plexus-cipher:jar:1.4:test [INFO] | | | +- org.apache.maven:maven-resolver-provider:jar:3.8.1:test [INFO] | | | | +- org.apache.maven:maven-repository-metadata:jar:3.8.1:test [INFO] | | | | +- org.apache.maven.resolver:maven-resolver-spi:jar:1.6.2:test [INFO] | | | | \- org.apache.maven.resolver:maven-resolver-impl:jar:1.6.2:test [INFO] | | | +- org.apache.maven.resolver:maven-resolver-connector-basic:jar:1.6.2:test [INFO] | | | +- org.apache.maven.resolver:maven-resolver-transport-wagon:jar:1.6.2:test [INFO] | | | +- org.apache.maven.wagon:wagon-http:jar:3.4.3:test [INFO] | | | | +- org.apache.maven.wagon:wagon-http-shared:jar:3.4.3:test [INFO] | | | | | \- org.jsoup:jsoup:jar:1.12.1:test [INFO] | | | | \- org.apache.maven.wagon:wagon-provider-api:jar:3.4.3:test [INFO] | | | \- org.apache.maven.wagon:wagon-file:jar:3.4.3:test [INFO] | | +- io.quarkus:quarkus-bootstrap-gradle-resolver:jar:2.4.2.Final:test [INFO] | | \- io.smallrye.common:smallrye-common-io:jar:1.6.0:compile [INFO] | +- org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.4:test [INFO] | +- io.quarkus:quarkus-test-common:jar:2.4.2.Final:test [INFO] | | +- io.quarkus:quarkus-core-deployment:jar:2.4.2.Final:test [INFO] | | | +- org.aesh:readline:jar:2.1:test [INFO] | | | | \- org.fusesource.jansi:jansi:jar:1.18:test [INFO] | | | +- org.ow2.asm:asm:jar:9.2:compile [INFO] | | | +- org.ow2.asm:asm-commons:jar:9.2:test [INFO] | | | | +- org.ow2.asm:asm-tree:jar:9.2:compile [INFO] | | | | \- org.ow2.asm:asm-analysis:jar:9.2:compile [INFO] | | | +- io.quarkus:quarkus-class-change-agent:jar:2.4.2.Final:test [INFO] | | | +- io.quarkus:quarkus-devtools-utilities:jar:2.4.2.Final:test [INFO] | | | +- io.quarkus:quarkus-builder:jar:2.4.2.Final:test [INFO] | | | \- org.junit.platform:junit-platform-launcher:jar:1.8.1:test [INFO] | | +- io.quarkus:quarkus-jsonp-deployment:jar:2.4.2.Final:test [INFO] | | | \- io.quarkus:quarkus-jsonp:jar:2.4.2.Final:test [INFO] | | | \- org.glassfish:jakarta.json:jar:1.1.6:test [INFO] | | +- org.jboss:jandex:jar:2.4.1.Final:compile [INFO] | | \- org.jboss.logging:commons-logging-jboss-logging:jar:1.0.0.Final:test [INFO] | +- org.junit.jupiter:junit-jupiter:jar:5.8.1:test [INFO] | | +- org.junit.jupiter:junit-jupiter-api:jar:5.8.1:test [INFO] | | | +- org.opentest4j:opentest4j:jar:1.2.0:test [INFO] | | | +- org.junit.platform:junit-platform-commons:jar:1.8.1:test [INFO] | | | \- org.apiguardian:apiguardian-api:jar:1.1.2:test [INFO] | | +- org.junit.jupiter:junit-jupiter-params:jar:5.8.1:test [INFO] | | \- org.junit.jupiter:junit-jupiter-engine:jar:5.8.1:test [INFO] | | \- org.junit.platform:junit-platform-engine:jar:1.8.1:test [INFO] | \- com.thoughtworks.xstream:xstream:jar:1.4.18:compile [INFO] | \- io.github.x-stream:mxparser:jar:1.2.2:compile [INFO] | \- xmlpull:xmlpull:jar:1.1.3.1:compile [INFO] \- io.rest-assured:rest-assured:jar:4.4.0:test [INFO] +- org.codehaus.groovy:groovy:jar:3.0.8:test [INFO] +- org.codehaus.groovy:groovy-xml:jar:3.0.8:test [INFO] +- org.apache.httpcomponents:httpclient:jar:4.5.13:test [INFO] | +- org.apache.httpcomponents:httpcore:jar:4.4.14:test [INFO] | \- commons-codec:commons-codec:jar:1.15:compile [INFO] +- org.apache.httpcomponents:httpmime:jar:4.5.13:test [INFO] +- org.hamcrest:hamcrest:jar:2.1:test [INFO] +- org.ccil.cowan.tagsoup:tagsoup:jar:1.2.1:test [INFO] +- io.rest-assured:json-path:jar:4.4.0:test [INFO] | +- org.codehaus.groovy:groovy-json:jar:3.0.8:test [INFO] | \- io.rest-assured:rest-assured-common:jar:4.4.0:test [INFO] \- io.rest-assured:xml-path:jar:4.4.0:test [INFO] +- org.apache.commons:commons-lang3:jar:3.12.0:compile [INFO] +- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.3:test [INFO] \- com.sun.xml.bind:jaxb-impl:jar:2.3.3:test ```

Versions

tarilabs commented 2 years ago

Thank you for reporting Richard. This indeed is generally not an issue, but I can understand it could be an annoying warning.

It seems related to Quarkus defining the Antlr4 version as part of the whole ecosystem here:

https://github.com/quarkusio/quarkus/blame/c41872f2d3a1ecf97245c7f0eaaa4a18c658b07f/bom/application/pom.xml#L3252-L3261

in order for some MongoDB/Panache support, but with the side-effect of imposing the Anltr4 version for any Quarkus-based extension, including our kogito-quarkus-decisions.

I will ask for Quarkus team advice on this, from Monday

rgmz commented 2 years ago

Thanks Matteo. Let me know if I can help out in any way!

tarilabs commented 2 years ago

fyi this is tracked as https://issues.redhat.com/browse/KOGITO-6285 (regardless of Quarkus team feedback, which will be considered in parallel)

tarilabs commented 2 years ago

We have bumped antlr4 version in Drools DMN Engine, to align to the current Quarkus version at the time of writing. This should avoid the warning at the next Kogito release incorporating this change + Quarkus platform release.

Unfortunately, until MongoDB+Panache will resolve the dependency implication following this advice: https://github.com/quarkusio/quarkus/issues/19140#issuecomment-975386153

there is not much we can do here 🤷 as the choice of that subcomponent of a quarkus extension, will always impact and impose the antlr4 version on the wide application.

I will close this github issue following KOGITO-6285 resolution.