cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (Commented) (JIRA)" <>
Subject [jira] [Commented] (CXF-4069) JAXB DataTypeAdapter should be in its own project
Date Tue, 31 Jan 2012 09:44:10 GMT


Christian Schneider commented on CXF-4069:

After talking to Dan we found more similar classes like org.apache.cxf.jaxb.JAXBToStringBuilder
that also should be separate from the databinding.

As these classes are referenced by the code generated by the cxf xjc plugins it makes sense
to move the runtime lib with the classes to xjc utils. So I will remove the jaxb-adapter project
again and instead create a xjc-runtime project in xjc utils that will then contain all classes
the code generators currently need.

> JAXB DataTypeAdapter should be in its own project
> -------------------------------------------------
>                 Key: CXF-4069
>                 URL:
>             Project: CXF
>          Issue Type: Improvement
>          Components: Tooling
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>             Fix For: 2.5.3
> When using JAX-WS/JAXB it makes sense to use a custom binding config to create e.g. Date
instead of XMLGregorianCalendar. These binding configs need type adapters. CXF provides such
> an adapter in the tools common project. I think this is not the right place as it forces
people to depend on the tools common project when the only thing they need is the adapter.
> is especially severe in OSGi where you might want to generate your stub code in its own
project. Ideally this project should have no dependency to cxf at all.
> Additionally there is the project that the optimized dependencies for cxf 2.6.0 do not
have the tools common on the classpath. So the user would have to change thei project anyway.
> So I propose to create a new project to host just the adapters. This allows people to
only depend on this little project with no other dependencies. 
> We additionally should move rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/
  and rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/ there

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message