Jinal-Sarvaiya commented on code in PR #213: URL: https://github.com/apache/camel-kit/pull/213#discussion_r4736804239
########## kit/camel-kit-core/src/main/resources/skills/camel-migrate/SKILL.md: ########## @@ -363,6 +363,8 @@ matrix in `camel-brainstorm/guides/version-selection.md` for community choices. and `project.*` are observations. If modules disagree, show the conflicting modules and ask which destination applies. An explicit common destination resolves the question. Never select a downstream build from a source suffix. +**Red Hat Build of Apache Camel (BOM-first selection):** When migrating a Red Hat product source (detected by `.redhat-*` or `.fuse-*` version qualifiers, or Red Hat BOMs) to Spring Boot runtime, use BOM-first selection. Red Hat Camel core and Red Hat Camel Spring Boot BOM have separate release streams and do not always share the same version qualifier (Issue #51). Query available `com.redhat.camel.springboot:camel-spring-boot-bom` versions from configured Red Hat repositories. For each candidate BOM, resolve its effective dependency management using `mvn help:effective-pom` to extract the managed Camel core version, Spring Boot framework version, and catalog provider coordinates. Present BOM version options to the user (not Camel core versions). After selection, verify the BOM resolves before persisting. For Camel versions 4.15.0+, also check the `camel-parent` POM for Spring Boot version if the BOM does not explicitly manage `spring-boot-dependencies`. Record `target.applicationBo m`, `target.camelVersion`, `target.springBootVersion`, and `target.catalogBom` together in `.camel-kit/config.properties`. Review Comment: - Changed to `com.redhat.camel.springboot.platform:camel-spring-boot-bom` - Updated in: SKILL.md, version-selection.md, distribution.properties -- 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]
