davsclaus opened a new pull request, #28194: URL: https://github.com/apache/camel/pull/28194
Backport of cd6d418c78dc to `camel-4.18.x`: a straight cherry-pick with no conflicts. `camel-as2`, `camel-box`, `camel-dhis2` and `camel-olingo2` read their API signatures from the `-api` module's source folder (`apiSrcDir`) instead of its `sources` JAR. In the parallel mvnd CI build, the sources JAR is not always there when `fromApis` runs, so it fails with: ``` Error generating source for org.apache.camel.component.as2.api.AS2ClientManager: No public non-static methods found, make sure source JAR is available as project scoped=provided and optional=true dependency ``` That failure currently blocks CI on 4.18.x PRs that touch these modules, such as the Bouncy Castle 1.85 backport #26519. The `apiSrcDir` option of `camel-api-component-maven-plugin` (e095aaf8c3cf) is already on `camel-4.18.x`, and `camel-fhir` already uses it there, so only the four `pom.xml` files change. All four `../camel-*-api/src/main/java` folders exist on the branch. Build-only change: the generated code and runtime behaviour are the same. _Claude Code on behalf of davsclaus._ 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
