Details

      Description

      To be able to easily uses libraries from Jackrabbit inside an OSGi framework, for example in Apache Sling, it would be very helpfull if some of the Jackrabbit libraries include OSGi Bundle Manifest headers. It will of course not be possible to define such manifest header definition for all libraries, but jackrabbit-api, jackrabbit-jcr-commons and jackrabbit-jcr-rmi are certainly good candidates.

        Activity

        Felix Meschberger created issue -
        Felix Meschberger made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Felix Meschberger committed 614848 (1 file)
        Reviews: none

        JCR-1342 Add plugin management section for the Maven Bundle Plugin

        Hide
        Felix Meschberger added a comment -

        Created pluginManagement section for base configuration of the Maven Bundle Plugin in the root pom.xml in Rev. 614848.

        The Maven Bundle Plugin of the Apache Felix project is used to build the project jar files and also creates the OSGi manifest headers from the respective configuration.

        Show
        Felix Meschberger added a comment - Created pluginManagement section for base configuration of the Maven Bundle Plugin in the root pom.xml in Rev. 614848. The Maven Bundle Plugin of the Apache Felix project is used to build the project jar files and also creates the OSGi manifest headers from the respective configuration.
        Felix Meschberger committed 614850 (1 file)
        Reviews: none

        JCR-1342 Use bundle packaging with the Maven Bundle Plugin and export all packages

        Hide
        Felix Meschberger added a comment -

        Define bundle packaging in the jackrabbit-jcr-commons project and declare all packages to be exported.

        Fixed in Rev. 614850.

        Show
        Felix Meschberger added a comment - Define bundle packaging in the jackrabbit-jcr-commons project and declare all packages to be exported. Fixed in Rev. 614850.
        Felix Meschberger committed 614853 (1 file)
        Reviews: none

        JCR-1342 Use bundle packaging with the Maven Bundle Plugin and export all packages

        Hide
        Felix Meschberger added a comment -

        Define bundle packaging in the jackrabbit-api project and declare all packages to be exported.

        Fixed in Rev. 614853.

        Show
        Felix Meschberger added a comment - Define bundle packaging in the jackrabbit-api project and declare all packages to be exported. Fixed in Rev. 614853.
        Felix Meschberger committed 614860 (1 file)
        Reviews: none

        JCR-1342 Remove Bundle-SymolicName definition to ensure symbolic name includes groupId

        Hide
        Felix Meschberger added a comment -

        Removed Bundle-SymbolicName definition in the root pom as the default is $

        {pom.groupId}

        .$

        {pom.artifactId}

        which is more appropriate for Jackrabbit than to just the artifact ID in Rev. 614860.

        Define bundle packaging in the jackrabbit-jcr-rmi project and declare all packages to be exported in Rev. 614859.

        Show
        Felix Meschberger added a comment - Removed Bundle-SymbolicName definition in the root pom as the default is $ {pom.groupId} .$ {pom.artifactId} which is more appropriate for Jackrabbit than to just the artifact ID in Rev. 614860. Define bundle packaging in the jackrabbit-jcr-rmi project and declare all packages to be exported in Rev. 614859.
        Hide
        Felix Meschberger added a comment -

        All projects named in this issue (jackrabbit-api, jackrabbit-jcr-commons and jackrabbit-jcr-rmi) have been modified to create bundle manifest headers. So this issue can now be closed.

        Show
        Felix Meschberger added a comment - All projects named in this issue (jackrabbit-api, jackrabbit-jcr-commons and jackrabbit-jcr-rmi) have been modified to create bundle manifest headers. So this issue can now be closed.
        Felix Meschberger made changes -
        Status In Progress [ 3 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Hide
        Felix Meschberger added a comment -

        Schedule for rmi 1.4.1 and commons 1.4.1 releases

        Show
        Felix Meschberger added a comment - Schedule for rmi 1.4.1 and commons 1.4.1 releases
        Felix Meschberger made changes -
        Fix Version/s rmi 1.4.1 [ 12313059 ]
        Fix Version/s commons 1.4.1 [ 12313060 ]
        Felix Meschberger committed 636772 (1 file)
        Reviews: none

        JCR-1342 backport pom extensions to 1.4 branch for commons 1.4.1 release

        Hide
        Felix Meschberger added a comment -

        Descheduling from the rmi 1.4.1 release.

        Show
        Felix Meschberger added a comment - Descheduling from the rmi 1.4.1 release.
        Felix Meschberger made changes -
        Fix Version/s rmi 1.4.1 [ 12313059 ]
        Hide
        Martin Zdila added a comment -

        I think that also jackrabbit-text-extractors, jackrabbit-spi-commons, jackrabbit-spi and jackrabbit-core libraries should be budles. How could we otherwise use Jackrabbit in the OSGi environment if not all required libraries are bundles? You maybe could also provide jcr-1.0.jar as OSGi bundle. Current;y I must create bundles from forementioned libraries by using the bnd tool. Thanks in advance.

        Show
        Martin Zdila added a comment - I think that also jackrabbit-text-extractors, jackrabbit-spi-commons, jackrabbit-spi and jackrabbit-core libraries should be budles. How could we otherwise use Jackrabbit in the OSGi environment if not all required libraries are bundles? You maybe could also provide jcr-1.0.jar as OSGi bundle. Current;y I must create bundles from forementioned libraries by using the bnd tool. Thanks in advance.
        Jukka Zitting made changes -
        Workflow jira [ 12421922 ] no-reopen-closed, patch-avail [ 12468590 ]

          People

          • Assignee:
            Felix Meschberger
            Reporter:
            Felix Meschberger
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development