[ 
https://issues.apache.org/jira/browse/CAMEL-27767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18153321#comment-18153321
 ] 

Guillaume Nodet commented on CAMEL-27767:
-----------------------------------------

This issue is being investigated by a coding agent (on behalf of gnodet).

Triage findings: Bug confirmed in spring-boot-pom.ftl (line 161) and 
spring-boot-kubernetes-pom.ftl (line 160), which declare 
camel-test-spring-junit6 as a test dependency without a <version> element. The 
camel-spring-boot-bom does not manage this core Camel artifact for versions < 
4.22.0. When TomcatExportITCase runs the parameterized case with 
--camel-spring-boot-version=4.18.1, the generated POM fails Maven resolution. 
PR #31127 exists but has changes requested from davsclaus (version-conditional 
artifact selection needed). Fix scope: 3-4 files in camel-jbang module.

_Note: This comment was generated by an AI coding agent and requires manual 
verification._


> TomcatExportITCase is broken on main branch
> -------------------------------------------
>
>                 Key: CAMEL-27767
>                 URL: https://issues.apache.org/jira/browse/CAMEL-27767
>             Project: Camel
>          Issue Type: Test
>          Components: camel-jbang
>    Affects Versions: 4.24.0
>            Reporter: Aurélien Pupier
>            Assignee: Guillaume Nodet
>            Priority: Major
>
> {noformat}
> command cd '/deployments/data/c2ab146a4a7bc/tomcat-export' && chmod +x ./mvnw 
> && ./mvnw -B -DskipTests package failed with output [INFO] Scanning for 
> projects...
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
> [ERROR] 'dependencies.dependency.version' for 
> org.apache.camel:camel-test-spring-junit6:jar is missing. @ line 76, column 21
>  @ 
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]   
> [ERROR]   The project com.example:camel-tomcat:1.0-SNAPSHOT 
> (/deployments/data/c2ab146a4a7bc/tomcat-export/pom.xml) has 1 error
> [ERROR]     'dependencies.dependency.version' for 
> org.apache.camel:camel-test-spring-junit6:jar is missing. @ line 76, column 21
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> {noformat}



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to