4thline/cling — pull request #86 by jomarmar (2014-04-17 19:11:54+00:00)
Title: Fixed issue #8. Plus make OSGi module for cling-core

- Fixed OSGi tests (using karaf (3.0.0) (https://apache.karaf.org)).
- I have added pax-plugin and change version of maven-bundle-plugin. Now the Manifest is set in osgi.bnd files so the pom.xml keeps simple.
- With these plugins whenever the cling-core is built it includes the OSGi Manifest so we can avoid embedded dependencies and the basedriver can be an independent module.
- For cling-core dependencies (seamless, httpcomponents) in the OSGi test I add to them an OSGi manifest so they can be deployed. Anyway, at least for seamless, I think it is better to add the Manifest when building the seamless jar files.

NOTE: I have used Karaf for testing. The reason is that on Karaf you can test with felix and equinox and provides some default bundles by default. Anyway if you prefer I can run the tests on felix (raw) framework.

FINALLY: I have had to change a little bit the OSGi tests, I had problems with the bin.hex and bin.base64 UPnP types. In the tests they were mixing java types java.lang.Byte[] and byte[]. I have changed everything to byte[] so that the tests as they were defined are fixed.

INSTALLATION: To deploy cling-osgi-basedriver you need to install the new cling-core + dependendencies( httpcomponents (core and client), seamless modules and commons-codec)

Hope this helps