Hi Jan,
The thing is that, even though I followed the test project and your recommendations, I just don't get the same packages as you!
I still get errors when trying to start some bundles, I see you get the Xalan package, but I haven't found it anywhere in maven.
I moved my Jetty version up to 9.3.0.RC0 just in case there's something new on dependencies or anything.
here's what I get now when starting the bundles that I didn't get before, I didn't have any issues with osgi.serviceloader before but now it appears as a missing requirement:
8|Installed | 1|Jetty :: Apache JSP Implementation (9.3.0.RC0)
org.osgi.framework.BundleException: Unable to resolve org.eclipse.jetty.apache-jsp [8](R 8.0): missing requirement [org.eclipse.jetty.apache-jsp [8](R 8.0)] osgi.extender; (osgi.extender=osgi.serviceloader.registrar) Unresolved requirements: [[org.eclipse.jetty.apache-jsp [8](R 8.0)] osgi.extender; (osgi.extender=osgi.serviceloader.registrar)]
22|Installed | 1|Jetty :: Websocket :: Servlet Interface (9.3.0.RC0)
org.osgi.framework.BundleException: Unable to resolve org.eclipse.jetty.websocket.servlet [22](R 22.0): missing requirement [org.eclipse.jetty.websocket.servlet [22](R 22.0)] osgi.extender; (osgi.extender=osgi.serviceloader.processor) Unresolved requirements: [[org.eclipse.jetty.websocket.servlet [22](R 22.0)] osgi.extender; (osgi.extender=osgi.serviceloader.processor)]
26|Installed | 1|Jetty :: Websocket :: Server (9.3.0.RC0)
org.osgi.framework.BundleException: Unable to resolve org.eclipse.jetty.websocket.server [26](R 26.0): missing requirement [org.eclipse.jetty.websocket.server [26](R 26.0)] osgi.extender; (osgi.extender=osgi.serviceloader.registrar) Unresolved requirements: [[org.eclipse.jetty.websocket.server [26](R 26.0)] osgi.extender; (osgi.extender=osgi.serviceloader.registrar)]
28|Installed | 1|Jetty :: Websocket :: javax.websocket.server :: Server Implementation (9.3.0.RC0)
org.osgi.framework.BundleException: Unable to resolve org.eclipse.jetty.websocket.javax.websocket.server [28](R 28.0): missing requirement [org.eclipse.jetty.websocket.javax.websocket.server [28](R 28.0)] osgi.wiring.package; (&(osgi.wiring.package=org.eclipse.jetty.websocket.server)(version>=9.0.0)(!(version>=10.0.0))) [caused by: Unable to resolve org.eclipse.jetty.websocket.server [26](R 26.0): missing requirement [org.eclipse.jetty.websocket.server [26](R 26.0)] osgi.extender; (osgi.extender=osgi.serviceloader.registrar)] Unresolved requirements: [[org.eclipse.jetty.websocket.javax.websocket.server [28](R 28.0)] osgi.wiring.package; (&(osgi.wiring.package=org.eclipse.jetty.websocket.server)(version>=9.0.0)(!(version>=10.0.0)))]
44|Installed | 1|JavaServer Pages (TM) TagLib Implementation (1.2.2)
org.osgi.framework.BundleException: Unable to resolve org.glassfish.web.javax.servlet.jsp.jstl [44](R 44.0): missing requirement [org.glassfish.web.javax.servlet.jsp.jstl [44](R 44.0)] osgi.wiring.package; (osgi.wiring.package=com.sun.org.apache.xalan.internal.res) Unresolved requirements: [[org.glassfish.web.javax.servlet.jsp.jstl [44](R 44.0)] osgi.wiring.package; (osgi.wiring.package=com.sun.org.apache.xalan.internal.res)]
63|Installed | 1|Jetty :: Servlet Annotations (9.3.0.RC0)
org.osgi.framework.BundleException: Unable to resolve org.eclipse.jetty.annotations [63](R 63.0): missing requirement [org.eclipse.jetty.annotations [63](R 63.0)] osgi.extender; (osgi.extender=osgi.serviceloader.processor) Unresolved requirements: [[org.eclipse.jetty.annotations [63](R 63.0)] osgi.extender; (osgi.extender=osgi.serviceloader.processor)]
The way that I'm fetching the bundles is that I created a project POM that contains all the bundles as dependencies, and then using the copy-dependencies maven plugin, it copies all declared dependencies to the bundles folder in my Felix installation.
So, If you use Maven as well, what are the dependencies I need to declare so I get the same packages as you? Like I mentioned before, I have a plain vanilla Felix, so it only comes with the gogo bundles.
Also, the test project you told me to check out has a lot of dependencies declared as test and runtime scopes, so, which ones are actually needed to run on execution? which ones of the test scope are used for execution as well?
Do you have a POM you can share with me that has all the dependencies that I can add to my POM that I told you about that copies everything into the bundles folder in Felix and actually starts correctly?
Thanks so much for the help
Raul