[ 
https://issues.apache.org/jira/browse/CAMEL-4691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13414806#comment-13414806
 ] 

Bilgin Ibryam commented on CAMEL-4691:
--------------------------------------

I am trying to add the new component to Camel but struggled with OSGI:

Looking at http://chemistry.apache.org/java/developing/dev-osgi.html
opencmis seems to be already osgi bundled. So I added the following lines in 
features.xml

  <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)

Any help on how to fix this or features.xml or how to find existing osgi 
bundles is greatly appreciated.

                
> New camel-cmis component
> ------------------------
>
>                 Key: CAMEL-4691
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4691
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Bilgin Ibryam
>            Assignee: Bilgin Ibryam
>            Priority: Minor
>         Attachments: camel-cmis.patch
>
>
> A new component that would allow Camel to connect to content 
> repositories(like Alfresco, SharePoint, OpenText) supporting CMIS 
> specification. 
> This component can be an alternative to camel-jcr (which actually can only 
> create node) for accessing content repositories.
> The consumer can retrieve content using CMIS queries (very similar to SQL) or 
> traverse the content tree from root to leaves.
> The producer is capable of creating nodes on the server (folders, docs...) 
> and also executing CMIS queries from the message body.
> It is using another Apache project - OpenCMIS client libraries from Apache 
> Chemistry (also the in-memory-server from the same project for unit tests) 

--
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

        

Reply via email to