davsclaus commented on PR #24906:
URL: https://github.com/apache/camel/pull/24906#issuecomment-5015756502

   Thanks for the review @gnodet! Good catch on the silent ignore for malformed 
`--parent-pom`.
   
   Addressed by adding `MavenGav.parseStrictGav(String)` — a shared strict GAV 
validation method that requires exactly `groupId:artifactId:version` and throws 
`IllegalArgumentException` otherwise. Updated all four call sites:
   
   - `ExportSpringBoot`, `ExportCamelMain`, `ExportQuarkus` — `--gav` 
validation now uses `parseStrictGav` instead of inline split+check
   - `ExportBaseCommand.enrichParentPom()` — `--parent-pom` now uses 
`parseStrictGav` and fails fast on malformed input instead of silently ignoring
   
   Also regenerated `camel-jbang-configuration-metadata.json`.
   
   _Claude Code on behalf of davsclaus_


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