Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-3172

installation problems on lucene-misc OSGI bundle

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3, 4.0-ALPHA
    • Component/s: None
    • Labels:
      None
    • Environment:

      felix 3.2.2

      Description

      lucene-misc contrib module has two package names equals to the core version: org.apache.lucene.index and org.apache.lucene.store. For theese modules we need to configure the creation of the bundles so that the OSGI repository recognize theese packages as merged else we get a 'uses constraint violation' error in the installation.

      The solution is to mark the packages as mergeables adding a configuration in the maven-bunde-plugin:

      <configuration>
      <instructions>
      <Export-Package>*;-split-package:=merge-first</Export-Package>
      </instructions>
      </configuration>

      the * represents the package names. We could put org.apache.lucene.* too

        Attachments

        1. lucene_trunk.patch
          0.6 kB
          Luca Stancapiano

          Activity

            People

            • Assignee:
              sarowe Steven Rowe
              Reporter:
              luca.stancapiano Luca Stancapiano
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: