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

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.9
    • Component/s: Build
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: