Search code examples
osgiaemapache-felix

How can i find which release of OSGI is supported by CQ5.5 .?


How can we find which release of OSGi is supported by CQ5.5 version, Is there any log file where i can find out the OSGi release in the CQ5 product?


Solution

  • CQ5.5 uses Apache Felix which is

    ... a community effort to implement the OSGi R4 Service Platform and other interesting OSGi-related technologies under the Apache license

    The references to OSGI in the javadocs at dev.day.com point to R4 v4.2 specifically. This matches the compliance tests for the felix project

    If you're building against the OSGI APIs in your application, then you'll need to add the following to your project pom.xml (assuming you're using maven):

    <dependency>
        <groupId>org.osgi</groupId>
        <artifactId>org.osgi.core</artifactId>
        <version>4.2.0</version>
        <scope>provided</scope>
    </dependency>
    
    <dependency>
        <groupId>org.osgi</groupId>
        <artifactId>org.osgi.compendium</artifactId>
        <version>4.2.0</version>
        <scope>provided</scope>
    </dependency>