Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-482

Optional dependencies are not marked optional in the manifest's Import-Package section

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8
    • 1.9
    • Build
    • None

    Description

      The following page lists the runtime dependencies based on the components. This is reflected in the pom file since many are listed as optional (e.g. commons-jexl). However, if you want to use commons-configuration in an OSGi container, those become required because the corresponding packages are listed in the manifest's Import-Package section. They do not have the "resolution:=optional" qualifier on it so you get an error if you do not include something like commons-jexl yourself.

      http://commons.apache.org/configuration/dependencies.html

      Attachments

        Activity

          People

            Unassigned Unassigned
            fifalover Chris Seieroe
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: