JiriOndrusek opened a new issue, #9569:
URL: https://github.com/apache/camel-quarkus/issues/9569
Native builds with `camel-quarkus-cxf-soap` (e.g.
`integration-test-groups/cxf-soap/cxf-soap-ws-security-client`) print a long
`ReflectiveHierarchyStep` warning:
```
Unable to properly register the hierarchy of the following classes for
reflection as they are not in the Jandex index:
- org.w3c.dom.Node (source: JaxbProcessor annotated with
@jakarta.xml.bind.annotation.XmlRootElement >
org.apache.camel.model.AggregateDefinition > ... >
org.apache.camel.component.cxf.jaxws.CxfEndpoint > ...)
- org.springframework.context.ApplicationContextAware (...)
- ...
```
**Cause:** `quarkus-cxf` brings `quarkus-jaxb`, which registers the
reflective hierarchy of every `@XmlRootElement` class, including
`org.apache.camel.model.*`. `camel-quarkus-support-jaxb` already excludes these
via `IgnoreJaxbAnnotatedClassesBuildItem`, but `cxf-soap` does not depend on it.
**Proposed fix:** add `camel-quarkus-support-jaxb` to
`extensions/cxf-soap/runtime`. Removes the warnings and avoids needless
reflection registrations in the native image.
--
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]