Croway opened a new pull request, #2135:
URL: https://github.com/apache/camel-spring-boot/pull/2135

   ## Summary
   
   Since #80 (2026-11-27), the Camel-Spring-Boot Daily 
`camel-spring-boot-4.22.x` job fails every run on 
`FromFtpMoveFileRecursiveTest.testPollFileAndShouldBeMoved` (`Expected: <3> but 
was: <0>`). The test output shows:
   
   ```
   java.lang.NoSuchMethodError: 'boolean 
org.apache.camel.component.file.remote.FtpUtils.isSubDirectoryName(java.lang.String)'
       at 
org.apache.camel.component.file.remote.FtpConsumer.handleDirectory(FtpConsumer.java:195)
 ~[camel-ftp-4.22.4-SNAPSHOT.jar:4.22.4-SNAPSHOT]
   ```
   
   **Cause:** after the 4.22.3 release, `camel-version` moved to 
`4.22.4-SNAPSHOT`, but the generated `camel-spring-boot-dependencies` and 
`camel-spring-boot-bom` were not regenerated. They still pinned every 
`org.apache.camel` artifact to the released `4.22.3`. `camel-ftp-starter` 
declares `camel-ftp` with `${camel-version}` (4.22.4-SNAPSHOT) and gets 
`camel-ftp-common` through the BOM (4.22.3). The CAMEL-27453 backport on Camel 
`camel-4.22.x` added `FtpUtils.isSubDirectoryName` to `camel-ftp-common` and 
calls it from `camel-ftp`, so the mixed jars fail at runtime.
   
   **Change:** this is the usual post-release regen, the same as #2060 and 
#2059. It was produced by the BOM generators 
(`tooling/camel-spring-boot-dependencies-generator` and 
`tooling/camel-spring-boot-bom-generator`). The diff only changes versions, 
from `4.22.3` to `4.22.4-SNAPSHOT`: 532 `org.apache.camel` artifacts, 3 
`org.apache.camel.maven` plugins and the BOM's own entry. Nothing is added or 
removed.
   
   ## Test plan
   
   - [x] `mvn dependency:tree` on `camel-ftp-starter`: `camel-ftp-common` and 
`camel-file` now resolve to 4.22.4-SNAPSHOT (`camel-ftp-common` was 4.22.3)
   - [x] `FromFtpMoveFileRecursiveTest` fails locally with the old BOMs (same 
`NoSuchMethodError`, `camel-ftp-common-4.22.3.jar` on the classpath) and passes 
with the regenerated ones
   
   The same regen is needed on `camel-spring-boot-4.18.x` (4.18.6 to 
4.18.7-SNAPSHOT), which also has the CAMEL-27453 backport. It will follow once 
Camel 4.18.7-SNAPSHOT is published to the snapshot repository.
   
   _Claude Code (Opus 5.5) on behalf of Federico Mariani_
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to