bobpaulin commented on pull request #4889: URL: https://github.com/apache/camel/pull/4889#issuecomment-760631858
I'm receiving an exception (See JIRA for stacktrace) when generating a Swagger for the Rest Java DSL in Karaf with the camel-core-osgi bundle It appears this is happening because the core/camel-xml-jaxb bundle does not import all the packages defined in the org.apache.camel.model.Constants.JAXB_CONTEXT_PACKAGES so it is unable to see the jaxb.index. I was able to get it to work by manually adding the packages to the camel.osgi.import property in the pom since the packages are not used anywhere else in the camel-xml-jaxb. Doesn't seem like a great solution since it requires the pom to match the packages defined in Constants.JAXB_CONTEXT_PACKAGES. Open to other suggestions. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org