davsclaus opened a new pull request, #25035:
URL: https://github.com/apache/camel/pull/25035

   ## Summary
   
   _Claude Code on behalf of davsclaus_
   
   Fixes [CAMEL-24247](https://issues.apache.org/jira/browse/CAMEL-24247).
   
   When exporting a JBang project with metrics enabled, the exported pom.xml 
contains `camel-micrometer-prometheus` twice. The base class 
`ExportBaseCommand.resolveDependencies()` adds it at line 778 and runs 
deduplication, then the subclass `ExportCamelMain.resolveDependencies()` adds 
it again at line 305 — after dedup has already run.
   
   **Fix:** Strip `camel-micrometer-prometheus` from the base class result 
before conditionally re-adding it, following the same pattern already used for 
`camel-health` (remove at line 294, re-add at line 309).
   
   ## Test plan
   - [x] Module compiles cleanly
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   Co-Authored-By: Claude Opus 4.6 <[email protected]>


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