[jboss-jira] [JBoss JIRA] (WFLY-1504) Unusable wiring metadata for Apache-CXF
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Wed Jun 12 10:06:54 EDT 2013
[ https://issues.jboss.org/browse/WFLY-1504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12781185#comment-12781185 ]
Thomas Diesler commented on WFLY-1504:
--------------------------------------
Fabricated metadata would look like this
{code}
Bundle-SymbolicName: org.apache.cxf.impl
Bundle-Version: 2.7.5
Export-Package: \
org.apache.cxf.binding.soap;version="2.7.5",\
org.apache.cxf.binding.soap.interceptor;version="2.7.5",\
org.apache.cxf.binding.soap.model;version="2.7.5",\
org.apache.cxf.binding.soap.saaj;version="2.7.5",\
org.apache.cxf.bus.spring;version="2.7.5",\
org.apache.cxf.common.classloader;version="2.7.5",\
org.apache.cxf.common.i18n;version="2.7.5",\
org.apache.cxf.common.injection;version="2.7.5",\
org.apache.cxf.common.logging;version="2.7.5",\
org.apache.cxf.common.util;version="2.7.5",\
org.apache.cxf.configuration;version="2.7.5",\
org.apache.cxf.configuration.blueprint;version="2.7.5",\
org.apache.cxf.configuration.spring;version="2.7.5",\
org.apache.cxf.continuations;version="2.7.5",\
org.apache.cxf.databinding;version="2.7.5",\
org.apache.cxf.databinding.source;version="2.7.5",\
org.apache.cxf.endpoint;version="2.7.5",\
org.apache.cxf.feature;version="2.7.5",\
org.apache.cxf.frontend;version="2.7.5",\
org.apache.cxf.headers;version="2.7.5",\
org.apache.cxf.helpers;version="2.7.5",\
org.apache.cxf.interceptor;version="2.7.5",\
org.apache.cxf.io;version="2.7.5",\
org.apache.cxf.jaxb;version="2.7.5",\
org.apache.cxf.jaxrs;version="2.7.5",\
org.apache.cxf.jaxrs.client;version="2.7.5",\
org.apache.cxf.jaxrs.ext.multipart;version="2.7.5",\
org.apache.cxf.jaxrs.impl;version="2.7.5",\
org.apache.cxf.jaxrs.lifecycle;version="2.7.5",\
org.apache.cxf.jaxrs.model;version="2.7.5",\
org.apache.cxf.jaxrs.utils;version="2.7.5",\
org.apache.cxf.jaxws;version="2.7.5",\
org.apache.cxf.jaxws.context;version="2.7.5",\
org.apache.cxf.jaxws.handler;version="2.7.5",\
org.apache.cxf.jaxws.interceptors;version="2.7.5",\
org.apache.cxf.jaxws.support;version="2.7.5",\
org.apache.cxf.logging;version="2.7.5",\
org.apache.cxf.message;version="2.7.5",\
org.apache.cxf.phase;version="2.7.5",\
org.apache.cxf.resource;version="2.7.5",\
org.apache.cxf.security;version="2.7.5",\
org.apache.cxf.service;version="2.7.5",\
org.apache.cxf.service.factory;version="2.7.5",\
org.apache.cxf.service.invoker;version="2.7.5",\
org.apache.cxf.service.model;version="2.7.5",\
org.apache.cxf.staxutils;version="2.7.5",\
org.apache.cxf.transport;version="2.7.5",\
org.apache.cxf.version;version="2.7.5",\
org.apache.cxf.ws.addressing;version="2.7.5",\
org.apache.cxf.wsdl;version="2.7.5",\
org.apache.cxf.wsdl11;version="2.7.5"
{code}
This is not derived from what is contained in org.apache.cxf.impl but from what is required by camel-cxf. A simple test passes, which does not mean that the above set of exported packages is actually valid.
> Unusable wiring metadata for Apache-CXF
> ---------------------------------------
>
> Key: WFLY-1504
> URL: https://issues.jboss.org/browse/WFLY-1504
> Project: WildFly
> Issue Type: Bug
> Components: OSGi, Web Services
> Reporter: Thomas Diesler
> Assignee: Thomas Diesler
> Fix For: 8.0.0.Alpha3
>
>
> When integrating the [camel-cxf|http://camel.apache.org/cxf.html] component we see a number of package requirements on cxf
> {code}
> XPackageRequirement[dirs={filter=(&(osgi.wiring.package=org.apache.cxf)(&(version>=2.6.0)(!(version>=2.9.0))))},[org.apache.camel.camel-cxf-transport:2.11.0]]
> XPackageRequirement[dirs={filter=(&(osgi.wiring.package=org.apache.cxf.binding.soap)(&(version>=2.6.0)(!(version>=2.9.0))))},[org.apache.camel.camel-cxf-transport:2.11.0]]
> XPackageRequirement[dirs={filter=(&(osgi.wiring.package=org.apache.cxf.common.injection)(&(version>=2.6.0)(!(version>=2.9.0))))},[org.apache.camel.camel-cxf-transport:2.11.0]]
> XPackageRequirement[dirs={filter=(&(osgi.wiring.package=org.apache.cxf.common.logging)(&(version>=2.6.0)(!(version>=2.9.0))))},[org.apache.camel.camel-cxf-transport:2.11.0]]
> XPackageRequirement[dirs={filter=(&(osgi.wiring.package=org.apache.cxf.common.util)(&(version>=2.6.0)(!(version>=2.9.0))))},[org.apache.camel.camel-cxf-transport:2.11.0]]
> XPackageRequirement[dirs={filter=(&(osgi.wiring.package=org.apache.cxf.configuration)(&(version>=2.6.0)(!(version>=2.9.0))))},[org.apache.camel.camel-cxf-transport:2.11.0]]
> XPackageRequirement[dirs={filter=(&(osgi.wiring.package=org.apache.cxf.configuration.blueprint)(&(version>=2.6.0)(!(version>=2.9.0))))},[org.apache.camel.camel-cxf-transport:2.11.0]]
> XPackageRequirement[dirs={filter=(&(osgi.wiring.package=org.apache.cxf.configuration.spring)(&(version>=2.6.0)(!(version>=2.9.0))))},[org.apache.camel.camel-cxf-transport:2.11.0]]
> XPackageRequirement[dirs={filter=(&(osgi.wiring.package=org.apache.cxf.headers)(&(version>=2.6.0)(!(version>=2.9.0))))},[org.apache.camel.camel-cxf-transport:2.11.0]]
> XPackageRequirement[dirs={filter=(&(osgi.wiring.package=org.apache.cxf.helpers)(&(version>=2.6.0)(!(version>=2.9.0))))},[org.apache.camel.camel-cxf-transport:2.11.0]]
> XPackageRequirement[dirs={filter=(&(osgi.wiring.package=org.apache.cxf.io)(&(version>=2.6.0)(!(version>=2.9.0))))},[org.apache.camel.camel-cxf-transport:2.11.0]]
> XPackageRequirement[dirs={filter=(&(osgi.wiring.package=org.apache.cxf.message)(&(version>=2.6.0)(!(version>=2.9.0))))},[org.apache.camel.camel-cxf-transport:2.11.0]]
> XPackageRequirement[dirs={filter=(&(osgi.wiring.package=org.apache.cxf.service.model)(&(version>=2.6.0)(!(version>=2.9.0))))},[org.apache.camel.camel-cxf-transport:2.11.0]]
> XPackageRequirement[dirs={filter=(&(osgi.wiring.package=org.apache.cxf.transport)(&(version>=2.6.0)(!(version>=2.9.0))))},[org.apache.camel.camel-cxf-transport:2.11.0]]
> XPackageRequirement[dirs={filter=(&(osgi.wiring.package=org.apache.cxf.ws.addressing)(&(version>=2.6.0)(!(version>=2.9.0))))},[org.apache.camel.camel-cxf-transport:2.11.0]]
> XPackageRequirement[dirs={filter=(&(osgi.wiring.package=org.apache.cxf.wsdl)(&(version>=2.6.0)(!(version>=2.9.0))))},[org.apache.camel.camel-cxf-transport:2.11.0]]
> {code}
> most of these are contained in the org.apache.cxf.impl module, which however takes a "one bucket for all approach" that makes it impossible to use the metadata shipped with the individual cxf artefacts
> {code}
> <resources>
> <resource-root path="cxf-rt-bindings-coloc-2.7.5.jar"/>
> <resource-root path="cxf-rt-bindings-object-2.7.5.jar"/>
> <resource-root path="cxf-rt-bindings-soap-2.7.5.jar"/>
> <resource-root path="cxf-rt-bindings-xml-2.7.5.jar"/>
> <resource-root path="cxf-rt-core-2.7.5.jar"/>
> <resource-root path="cxf-rt-databinding-aegis-2.7.5.jar"/>
> <resource-root path="cxf-rt-databinding-jaxb-2.7.5.jar"/>
> <resource-root path="cxf-rt-frontend-jaxws-2.7.5.jar"/>
> <resource-root path="cxf-rt-frontend-simple-2.7.5.jar"/>
> <resource-root path="cxf-rt-management-2.7.5.jar"/>
> <resource-root path="cxf-rt-transports-http-2.7.5.jar"/>
> <resource-root path="cxf-rt-transports-jms-2.7.5.jar"/>
> <resource-root path="cxf-rt-transports-local-2.7.5.jar"/>
> <resource-root path="cxf-rt-ws-addr-2.7.5.jar"/>
> <resource-root path="cxf-rt-ws-mex-2.7.5.jar"/>
> <resource-root path="cxf-rt-ws-policy-2.7.5.jar"/>
> <resource-root path="cxf-rt-ws-rm-2.7.5.jar"/>
> <resource-root path="cxf-rt-ws-security-2.7.5.jar"/>
> <resource-root path="cxf-rt-ws-security-2.7.5-jandex.jar"/>
> <resource-root path="cxf-tools-common-2.7.5.jar"/>
> <resource-root path="cxf-tools-java2ws-2.7.5.jar"/>
> <resource-root path="cxf-tools-validator-2.7.5.jar"/>
> <resource-root path="cxf-tools-wsdlto-core-2.7.5.jar"/>
> <resource-root path="cxf-tools-wsdlto-databinding-jaxb-2.7.5.jar"/>
> <resource-root path="cxf-tools-wsdlto-frontend-jaxws-2.7.5.jar"/>
> <resource-root path="cxf-services-sts-core-2.7.5.jar"/>
> <resource-root path="cxf-services-ws-discovery-api-2.7.5.jar"/>
> <resource-root path="cxf-xjc-boolean-2.6.1.jar"/>
> <resource-root path="cxf-xjc-dv-2.6.1.jar"/>
> <resource-root path="cxf-xjc-ts-2.6.1.jar"/>
> <!-- Insert resources here -->
> </resources>
> {code}
> A possible fix would be to separate and reexport the modules that camel-cxf integrates with
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list