Thanks.
I tried install my package in the osgi container but it couldn't resolve the
ffg
package=org.apache.camel.component.cxf.converter
package=META-INF.wsdl
package=org.apache.camel.component.cxf
package=org.apache.activemq.camel.component
What am I missing?
Is there a way to know missing dependencies before trying to install
(preferably from eclipse) and the apt resource to download and install?
kr.
Freeman Fang wrote:
>
> Use
>
> org.apache.activemq.camel.component,
> org.apache.activemq.camel.converter,
>
> instead of
> org.apache.activemq.camel.component;${activemq.osgi.version},
> org.apache.activemq.camel.converter;${activemq.osgi.version},
>
> Freeman
> On 2009-12-2, at 下午1:36, lekkie wrote:
>
>>
>> I have the ffg as the import package in my pom.xml but it throws an
>> exception:
>>
>> org.osgi.framework.BundleException: Duplicate import -
>> ${activemq.osgi.version}
>> at
>> org.apache.felix.framework.util.manifestparser.ManifestParser.<init>(
>> ManifestParser.java:199)
>> at
>> org.apache.felix.framework.searchpolicy.ModuleImpl.<init>(ModuleImpl.
>> java:153)
>> at
>> org.apache.felix.framework.BundleImpl.createModule(BundleImpl.java:95
>> 4)
>> at
>> org.apache.felix.framework.BundleImpl.<init>(BundleImpl.java:85)
>>
>> pom.xml:
>>
>> <Import-Package> META-INF.cxf,
>> META-INF.wsdl,
>> org.apache.commons.logging,
>> org.apache.camel,
>> org.apache.camel.component,
>>
>> org.apache.camel.component.cxf,
>>
>> org.apache.camel.component.cxf.converter,
>> org.apache.camel.processor,
>>
>> org.apache.activemq.camel.component;${activemq.osgi.version},
>>
>> org.apache.activemq.camel.converter;${activemq.osgi.version},
>>
>> org.apache.activemq.pool,
>> org.apache.cxf,
>> org.apache.cxf.binding,
>>
>> org.apache.cxf.binding.corba,
>>
>> org.apache.cxf.binding.soap,
>>
>> org.apache.cxf.binding.soap.spring,
>> org.apache.cxf.bus,
>>
>> org.apache.cxf.bus.resource,
>>
>> org.apache.cxf.bus.spring,
>>
>> org.apache.cxf.buslifecycle,
>> org.apache.cxf.catalog,
>>
>> org.apache.cxf.configuration,
>>
>> org.apache.cxf.configuration.spring,
>> org.apache.cxf.endpoint,
>> org.apache.cxf.headers,
>>
>> org.apache.cxf.management,
>>
>> org.apache.cxf.management.jmx,
>> org.apache.cxf.phase,
>> org.apache.cxf.resource,
>>
>> org.apache.cxf.transport,
>>
>> org.apache.cxf.transport.http,
>>
>> org.apache.cxf.transport.http.policy,
>>
>> org.apache.cxf.transport.http_jetty,
>>
>> org.apache.cxf.transport.jms,
>>
>> org.apache.cxf.transports.http,
>>
>> org.apache.cxf.workqueue,
>> org.apache.cxf.wsdl,
>> org.apache.cxf.wsdl11,
>>
>> org.springframework.beans.factory.config,
>> *
>> </Import-Package>
>>
>> What coul dbe wrong?
>> --
>> View this message in context:
>> http://old.nabble.com/org.osgi.framework.BundleException%3A-Duplicate-import---%24%7Bactivemq.osgi.version%7D-tp26603855p26603855.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>
>
> --
> Freeman Fang
> ------------------------
> Open Source SOA: http://fusesource.com
>
>
>
--
View this message in context:
http://old.nabble.com/org.osgi.framework.BundleException%3A-Duplicate-import---%24%7Bactivemq.osgi.version%7D-tp26603855p26605301.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.