Hi Pedro,

such dependencies should be optional. Let me check the SMX quartz bundle around this.

Regards
JB

On 10/11/2015 01:20 PM, Pedro Domingues wrote:
Greetings,

Sorry for bothering you, but I would like to ask for your help with your
Quartz bundle.

I am trying to install your Quartz OSGi bundle into my project:

http://i.imgur.com/PKHnWIj.png

However when I insert the bundle in my *Apache Felix* I keep getting the
unresolved dependencies error message like you can see here:

 >java -jar bin/felix.jar
ERROR: Bundle hydra.launcher [1] Error starting
file:/C:/code/hydra/felix/bundle/hydra.launcher-1.0.0-SNAPSHOT.jar
(org.osgi.fram
ework.BundleException: Unable to resolve
org.apache.servicemix.bundles.quartz [8](R 8.0): missing requirement
[org.apache.servicemix.bundles.quartz [8
](R 8.0)] osgi.wiring.package; (osgi.wiring.package=org.jboss.logging)
Unresolved requirements: [[org.apache.servicemix.bundles.quartz [8](R
8.0)] osg
i.wiring.package; (osgi.wiring.package=org.jboss.logging)])
org.osgi.framework.BundleException:*Unable to resolve
org.apache.servicemix.bundles.quartz [8](R 8.0): missing requirement*
[org.apache.servicemix.bund
les.quartz [8](R 8.0)] osgi.wiring.package;
(osgi.wiring.package=org.jboss.logging) Unresolved requirements:
[[*org.apache.servicemix.bundles.quartz* [8
](R 8.0)] osgi.wiring.package; (*osgi.wiring.package=org.jboss.logging*)]
         at
org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4090)
         at org.apache.felix.framework.Felix.startBundle(Felix.java:2111)
         at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:977)
         at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:964)
         at hydra.launcher.Launcher.installStart(Launcher.java:78)

If I try to discard this dependency manually in your bundle's manifest I
keep getting other dependencies such as oracle.sql and so on... It is a
true dependency hell.

However I do not need to use SQL nor JBOSS, I just want to use Quartz.
Is there any way I can solve this? Do I really need to include the
thousand transitive dependencies manually, which I will probably never
use but since these manifests are automatically generated they include
them anyways?

This is the one thing that makes OSGi hard to use...

Thanks!

--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org

Reply via email to