Use Apache OpenCMIS in CQ5.6
Hello,
I want to use the Apache Chemistry OpenCMIS library in CQ5 for connecting to EMC Documentum server but whenever I try to install my bundle, that is using it, I get this message
23.05.2014 09:58:51.453 *INFO* [OsgiInstallerImpl] org.apache.sling.installer.core.impl.tasks.BundleStartTask Could not start bundle cz.devsoft.hartmann.hartmann-default-bundle [341]. Reason: org.osgi.framework.BundleException: Unresolved constraint in bundle cz.devsoft.hartmann.hartmann-default-bundle [341]: Unable to resolve 341.1684: missing requirement [341.1684] osgi.wiring.package; (&(osgi.wiring.package=org.apache.chemistry.opencmis.client.api)(version>=0.11.0)(!(version>=1.0.0))) [caused by: Unable to resolve 351.0: missing requirement [351.0] osgi.wiring.package; (osgi.wiring.package=javax.jws)]. Will retry. 23.05.2014 09:58:51.454 *INFO* [OsgiInstallerImpl] org.apache.sling.installer.core.impl.tasks.RestartActiveBundlesTask Unable to start bundle cz.devsoft.hartmann.hartmann-default-bundle [341] : Unresolved constraint in bundle cz.devsoft.hartmann.hartmann-default-bundle [341]: Unable to resolve 341.1684: missing requirement [341.1684] osgi.wiring.package; (&(osgi.wiring.package=org.apache.chemistry.opencmis.client.api)(version>=0.11.0)(!(version>=1.0.0))) [caused by: Unable to resolve 351.0: missing requirement [351.0] osgi.wiring.package; (osgi.wiring.package=javax.jws)] 23.05.2014 09:58:51.466 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent PACKAGES REFRESHED 23.05.2014 09:58:51.466 *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent PACKAGES REFRESHED 23.05.2014 09:58:51.537 *INFO* [OsgiInstallerImpl] org.apache.sling.installer.core.impl.tasks.BundleStartTask Could not start bundle cz.devsoft.hartmann.hartmann-default-bundle [341]. Reason: org.osgi.framework.BundleException: Unresolved constraint in bundle cz.devsoft.hartmann.hartmann-default-bundle [341]: Unable to resolve 341.1684: missing requirement [341.1684] osgi.wiring.package; (&(osgi.wiring.package=org.apache.chemistry.opencmis.client.api)(version>=0.11.0)(!(version>=1.0.0))) [caused by: Unable to resolve 351.0: missing requirement [351.0] osgi.wiring.package; (osgi.wiring.package=javax.jws)]. Will retry. 23.05.2014 09:58:51.537 *INFO* [OsgiInstallerImpl] org.apache.sling.installer.core.impl.tasks.RestartActiveBundlesTask Unable to start bundle cz.devsoft.hartmann.hartmann-default-bundle [341] : Unresolved constraint in bundle cz.devsoft.hartmann.hartmann-default-bundle [341]: Unable to resolve 341.1684: missing requirement [341.1684] osgi.wiring.package; (&(osgi.wiring.package=org.apache.chemistry.opencmis.client.api)(version>=0.11.0)(!(version>=1.0.0))) [caused by: Unable to resolve 351.0: missing requirement [351.0] osgi.wiring.package; (osgi.wiring.package=javax.jws)]
Here is what I have in my pom.xml
<dependency> <groupId>org.apache.chemistry.opencmis</groupId> <artifactId>chemistry-opencmis-client-impl</artifactId> <version>0.11.0</version> </dependency>
I'm using Eclipse and maven for creating, compiling and installing my bundle. My java version is
java version "1.7.0_55" OpenJDK Runtime Environment (rhel-2.4.7.1.el6_5-x86_64 u55-b13) OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
Thanks for any help