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

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

Open
deepakkapoor23 opened this issue Jun 25, 2024 · 4 comments
Open

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

deepakkapoor23 opened this issue Jun 25, 2024 · 4 comments
Assignees

Comments

@deepakkapoor23
Copy link

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
Copy link
Contributor

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

@gitgabrio gitgabrio self-assigned this Jun 26, 2024
@deepakkapoor23
Copy link
Author

deepakkapoor23 commented Jun 28, 2024

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

@deepakkapoor23
Copy link
Author

Execution failed for task ':quarkusGenerateCode'.

Could not resolve all files for configuration ':quarkusProdRuntimeClasspathConfigurationDeployment'.
Could not find org.kie:kie-addons-quarkus-tracing-decision:.
Required by:
project : > org.kie:kie-addons-quarkus-tracing-decision-deployment:999-SNAPSHOT:20240522.100214-6

@deepakkapoor23
Copy link
Author

Could this be because kogito-bom is missing an entry for kie-addons-quarkus-tracing-decision?

kogito-bom-source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants