[ 
https://issues.apache.org/jira/browse/CAMEL-12614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zoran Regvart resolved CAMEL-12614.
-----------------------------------
    Resolution: Fixed

This needed a bit of tinkering to get it to work. The issue was that the ASN1 
compiler invoked by {{exec-maven-plugin}} depended on 
{{javax.xml.bind.DatatypeConverter}} class and changing it's classpath proved 
to challenging. Just adding the {{jaxb-impl}} dependency to the 
{{exec-maven-plugin}} resulted in {{NullPointerException}}, and only other 
alternative was to change the goal from {{java}} to {{exec}} and add 
{{jasn1-compiler}} and {{jaxb-api}} as dependencies of the module -- not plugin 
as the {{exec-maven-plugin}} doesn't support adding dependencies via 
{{pluginDependencies}}.

> Missing javax.xml.bind.DatatypeConverter in camel-asn1 on Java 9+
> -----------------------------------------------------------------
>
>                 Key: CAMEL-12614
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12614
>             Project: Camel
>          Issue Type: Sub-task
>            Reporter: Zoran Regvart
>            Assignee: Zoran Regvart
>            Priority: Major
>
> I think the best solution would be to provide jaxb-api and jaxb-impl 
> dependencies in Java 9+ profile in camel-asn1.
> Some work on that was already done in CAMEL-11850.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to