[
https://issues.apache.org/jira/browse/CAMEL-13900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16920825#comment-16920825
]
James Netherton commented on CAMEL-13900:
-----------------------------------------
I think the jaxb.index files in camel-core-xml src/main/resources are
(probably) out of date. The generate-jaxb-list mojo is auto generating the
.index file, but none of the org.apache.camel.core.xml.util.jsse classes are in
there because they are annotated with @XmlType. The Maven plugin only processes
classes annotated with @XmlRootElement or @XmlEnum.class.
Should we tweak the plugin to include @XmlType? Either way I think we can
remove the stale jaxb.index file(s) from the repository.
> Remove redundant classes from JAXB indexes
> ------------------------------------------
>
> Key: CAMEL-13900
> URL: https://issues.apache.org/jira/browse/CAMEL-13900
> Project: Camel
> Issue Type: Improvement
> Reporter: James Netherton
> Priority: Minor
>
> I was experimenting with Camel & Quarkus and hit a JAXB related issue.
> Seems that some of the Camel jaxb.index files reference classes that do not
> exist. It'd be good to clean these up.
> Here's a summary:
> ||File||Class||
> |./core/camel-core-xml/src/main/resources/org/apache/camel/core/xml/util/jsse/jaxb.index|ClientAuthenticationDefinition|
> |./components/camel-jmx/src/main/resources/org/apache/camel/component/jmx/jaxb/jaxb.index|AttributeChangeNotification|
> |./components/camel-jmx/src/main/resources/org/apache/camel/component/jmx/jaxb/jaxb.index|JMXConnectionNotification|
> |./components/camel-jmx/src/main/resources/org/apache/camel/component/jmx/jaxb/jaxb.index|MBeanServerNotification|
> |./components/camel-jmx/src/main/resources/org/apache/camel/component/jmx/jaxb/jaxb.index|MonitorNotification|
> |./components/camel-jmx/src/main/resources/org/apache/camel/component/jmx/jaxb/jaxb.index|NotificationEventType|
> |./components/camel-jmx/src/main/resources/org/apache/camel/component/jmx/jaxb/jaxb.index|ObjectNamesType|
> |./components/camel-jmx/src/main/resources/org/apache/camel/component/jmx/jaxb/jaxb.index|RelationNotification|
> |./components/camel-jmx/src/main/resources/org/apache/camel/component/jmx/jaxb/jaxb.index|TimerNotification|
--
This message was sent by Atlassian Jira
(v8.3.2#803003)