Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to resolve deployment artifacts defined as transitive dependency #45719

Open
RishiRajAnand opened this issue Jan 20, 2025 · 0 comments
Open
Labels
area/bootstrap kind/bug Something isn't working

Comments

@RishiRajAnand
Copy link

RishiRajAnand commented Jan 20, 2025

Describe the bug

Recently, I am trying to upgrade quarkus version in Kogito project from 3.8.6 to 3.15.2 LTS. We use jbpm-with-drools-quarkus-deployment resolves into this runtime artifact. This deployment artifact further adds these deployment artifacts as its dependency. Their runtime artifacts are present jbpm-with-drools-quarkus.
It used to work earlier with quarkus 3.8.6 LTS but while upgrading to 3.15.2 I can see that quarkus cannot resolve these runtime artifacts that are defined as transitive dependency. It works fine when we put these deployment and runtime artifacts as direct dependency.

The above issue doesn't replicate in Maven 3.9.9, we are currently using maven 3.9.6. Can someone help us understand this behavior or maybe confirm if this will require an maven upgrade as quarkus mentions <maven.min.version>3.9.6</maven.min.version> ?

Expected behavior

The deployment artifacts defined as transitive dependency are resolved.

Actual behavior

The deployment artifacts defined as transitive dependency are not resolved.

How to Reproduce?

Reproducer: https://github.com/apache/incubator-kie-kogito-runtimes/blob/d31c3d3142b5e8c5e3db6100c03c28c30e1fcb50/quarkus/extensions/kogito-quarkus-extension/kogito-quarkus-integration-test-maven-devmode/pom.xml

  1. Build above project with maven 3.9.6

Output of uname -a or ver

Darwin Rishirajs-MacBook-Pro.local 23.6.0 Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:30 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6000 arm64

Output of java -version

openjdk version "17.0.13" 2024-10-15 LTS

Quarkus version or git rev

3.15.2

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

Apache Maven 3.9.6

Additional information

The above maven project is mostly inspired by Quarkus own DevMojoIT as defined here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/bootstrap kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants