jamesnetherton opened a new pull request, #9609:
URL: https://github.com/apache/camel-quarkus/pull/9609

   Two small changes to the FHIR extension, one per commit.
   
   **Fix the R5 native build**
   
   With `quarkus.camel.fhir.enable-r5=true`, the native build failed with 
`NoClassDefFoundError: org/fhir/ucum/UcumException`. `FHIRPathEngine` was 
initialized at build time, but it refers to the optional `org.fhir:ucum` 
library, which is not on the classpath. It is now initialized at run time.
   
   Native apps that use FHIRPath with R5 were not tested, and may still need to 
add `ucum`.
   
   **Exclude `plantuml-mit`**
   
   This 16 MB jar comes in through `org.hl7.fhir.r5`. HAPI FHIR only uses it in 
`ExampleScenarioRenderer`, to draw diagrams. I found no references to that 
renderer in `camel-fhir`. Apps that use the renderer directly to draw diagrams 
need to add `net.sourceforge.plantuml:plantuml-mit` themselves.
   
   **Testing**
   
   With both commits, the R4 and R5 tests pass in JVM and native modes (60 
passed and 1 already disabled test skipped in each). Each version was run 
separately. R5 is off in the default test configuration, so CI does not cover 
the R5 fix.
   
   🤖 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]

Reply via email to