[ https://issues.apache.org/jira/browse/CXF-4424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13417219#comment-13417219 ]
Daniel Kulp commented on CXF-4424: ---------------------------------- You likely need to add the 2.2 versions of jaxb-impl and jaxb-xjc as dependencies of the plugin. On java6, we grab the 2.1 versions. > Option for codegen plugin to fork in order to support endorsed libs > ------------------------------------------------------------------- > > Key: CXF-4424 > URL: https://issues.apache.org/jira/browse/CXF-4424 > Project: CXF > Issue Type: Improvement > Components: Tooling > Affects Versions: 2.5.4 > Environment: java 6 > Reporter: David J. M. Karlsen > Labels: codegen, endorsed, fork > > In order to support endorsed libs it would be preferable to have the codegen > plugin fork (and support setting of java.endorsed.dirs). > I wish to do so because my build uses a vanilla JDK6 which is JAXB 2.1 and > JAX-WS 2.1, but the target env is JDK6, JEE6 on WAS8 with JAXB 2.2 and JAX-WS > 2.2 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira