Jinal-Sarvaiya commented on code in PR #213:
URL: https://github.com/apache/camel-kit/pull/213#discussion_r4736810150


##########
kit/camel-kit-core/src/main/resources/skills/camel-brainstorm/guides/version-selection.md:
##########
@@ -179,6 +179,48 @@ not supported by this distribution.
 
 ---
 
+## Red Hat Build of Apache Camel (BOM-First Selection)
+
+**When to use:** When migrating from a Red Hat product source (detected by 
`.redhat-*` or `.fuse-*` version qualifiers) to Spring Boot runtime.
+
+**Important:** Red Hat Camel core and Red Hat Camel Spring Boot BOM have 
separate release streams. A Camel core version like `4.14.4.redhat-00008` might 
exist, but the Spring Boot BOM at that exact version might not. Always select 
from available BOM versions, not Camel core versions (Issue #51).
+
+### Selection Process
+
+1. Query available Red Hat Spring Boot BOM versions from configured Red Hat 
repositories
+2. For each BOM, resolve its managed versions using `mvn help:effective-pom`
+3. Extract: managed Camel core version, Spring Boot framework version, catalog 
provider
+4. For Camel 4.15.0+, also check `camel-parent` POM for Spring Boot version
+5. Present BOM options to user, showing managed versions
+6. Verify selected BOM resolves before persisting
+
+### Storing Red Hat Selection
+
+For Red Hat Spring Boot migrations:
+
+```properties
+project.runtime=spring-boot
+project.platformBomVersion={{SELECTED_REDHAT_BOM_VERSION}}
+project.camelVersion={{MANAGED_CAMEL_VERSION}}
+project.springBootVersion={{MANAGED_SPRING_BOOT_VERSION}}
+project.catalogBom={{MANAGED_CATALOG_PROVIDER_GAV}}

Review Comment:
   - Using `4.14.4.redhat-00010` (verified from Red Hat GA)
   - Camel core: `4.14.4.redhat-00008` (from starter parent)
   - Spring Boot: `3.5.11` (from starter parent)
   - Catalog: 
`org.apache.camel.springboot:camel-catalog-provider-springboot:4.14.4.redhat-00010`



-- 
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