Hi Bilgrin I hope to go out from the hospital tomorrow. I should be able to help you tomorrow evening.
Regards JB -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://wwx.talend.com ----- Reply message ----- From: "Bilgin Ibryam" <bibr...@gmail.com> To: <dev@camel.apache.org> Subject: OSGI dependencies question Date: Mon, Jul 16, 2012 8:27 pm Hi all, I am working on CAMEL-4691 a CMIS component but have difficulties adding the OSGI dependencies. Any help on the following points is greatly appreciated: 1. Is there any documentation on the format of features.xml 2. How do you figure out if a dependency is available as osgi bundle, or as ServiceMix bundle... 3. The blocker: opencmis is already OSGI bundled http://chemistry.apache.org/java/developing/dev-osgi.html so I added the following lines in features.xml (I am not sure if it is correct) <feature name='camel-cmis' version='${project.version}' resolver='(obr)' start-level='50'> <feature version='${project.version}'>camel-core</feature> <bundle dependency='true'>mvn:org.apache.chemistry.opencmis/chemistry-opencmis-osgi-server/${cmis-bundle-version}</bundle> <bundle>mvn:org.apache.camel/camel-cmis/${project.version}</bundle> </feature> But when I try to validate the features, I get the following error: [WARNING] Failed to validate feature camel-cmis [WARNING] No export found to match org.apache.chemistry.opencmis.client.runtime (imported by mvn:org.apache.camel/camel-cmis/2.11-SNAPSHOT) [WARNING] No export found to match javax.xml.ws.soap (imported by mvn:org.apache.chemistry.opencmis/chemistry-opencmis-osgi-server/0.5.0) [WARNING] No export found to match javax.xml.ws (imported by mvn:org.apache.chemistry.opencmis/chemistry-opencmis-osgi-server/0.5.0) [WARNING] No export found to match javax.xml.ws.handler (imported by mvn:org.apache.chemistry.opencmis/chemistry-opencmis-osgi-server/0.5.0) [WARNING] No export found to match org.apache.chemistry.opencmis.client.api;version="[0.5,1)" (imported by mvn:org.apache.camel/camel-cmis/2.11-SNAPSHOT) [WARNING] No export found to match javax.jws (imported by mvn:org.apache.chemistry.opencmis/chemistry-opencmis-osgi-server/0.5.0) How to find out if these dependencies are available? Thanks Bilgin