[
https://issues.apache.org/jira/browse/CAMEL-23824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18091201#comment-18091201
]
Claus Ibsen commented on CAMEL-23824:
-------------------------------------
Investigated further: the version IS correctly included in the output on
current main for both Spring Boot and Quarkus runtimes. The DependencyList code
reads BOM versions from the generated pom.xml and resolves them for versionless
dependencies. Verified with unit tests.
The PR #24212 claim that the version is missing appears to be incorrect.
Closing as not a bug.
_Claude Code on behalf of Claus Ibsen_
> camel-jbang - dependency list should always include version for Spring Boot
> and Quarkus runtimes
> ------------------------------------------------------------------------------------------------
>
> Key: CAMEL-23824
> URL: https://issues.apache.org/jira/browse/CAMEL-23824
> Project: Camel
> Issue Type: Bug
> Components: camel-jbang
> Reporter: Claus Ibsen
> Priority: Minor
> Fix For: 4.21.0
>
>
> The {{camel dependency list}} command with {{--runtime=spring-boot}} or
> {{--runtime=quarkus}} omits the artifact version from the GAV output for
> BOM-managed dependencies (e.g.
> {{org.apache.camel.springboot:camel-spring-boot-starter}} without version).
> The {{DependencyList}} code already has logic to resolve versions from the
> BOM entries in the generated pom.xml (lines 184-188), but the version is not
> showing up in practice.
> Tooling that consumes this command output needs full GAV coordinates
> (groupId:artifactId:version) to fetch JARs. The version should always be
> included regardless of runtime, since the BOM version is known at generation
> time.
> The version resolution logic in {{DependencyList.java}} should be
> investigated and fixed so that BOM-managed dependency versions are always
> resolved and included in the output for all runtimes.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)