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
491 stars 192 forks source link

cannot resolve kie-addons-quarkus-tracing-decision dependency #3566

Open deepakkapoor23 opened 6 days ago

deepakkapoor23 commented 6 days ago

Describe the bug

Build failure with tracing dependency included.

Failed to collect dependencies of org.kie:kie-addons-quarkus-tracing-decision-deployment:jar:999-SNAPSHOT: either its POM could not be resolved from the available Maven repositories or the artifact does not have any dependencies while at least a dependency on the runtime artifact org.kie:kie-addons-quarkus-tracing-decision:jar:999-20240522.100214-6 is expected

Expected behavior

Build should complete with assembly created.

Actual behavior

Build fails with above error as it cannot resolve the runtime dependency.

How to Reproduce?

Include following dependency and run maven build.

org.kie kie-addons-quarkus-tracing-decision 999-SNAPSHOT

Output of uname -a or ver

Windows

Output of java -version

17

GraalVM version (if different from Java)

No response

Kogito version or git rev (or at least Quarkus version if you are using Kogito via Quarkus platform BOM)

999-SNAPSHOT

Build tool (ie. output of mvnw --version or gradlew --version)

gradle 8.6

Additional information

No response

gitgabrio commented 5 days ago

Hi @deepakkapoor23 : could you please include a minimal reproducer, i.e. a very trimmed down project that recreates the problem you are facing ? Thanks!

deepakkapoor23 commented 3 days ago

kogito-reproducer.zip Please find attached kogito-reproducer project with both maven and gradle builds. The maven build completes successfully but gradle fails for the same set of properties and dependencies.

Uncomment the kie-addons-quarkus-tracing-decision dependency in settings.gradle and pom.xml files to see the issue.

Commands:

mvnw clean package -U

gradlew clean build --no-build-cache