Uploaded image for project: 'Commons Sandbox'
  1. Commons Sandbox
  2. SANDBOX-390

[BeanUtils2] Make sure that the internal package does not get exported when packaging as OSGi bundle

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • BeanUtils2
    • None

    Description

      As discussed on the ML, the internal package should not be one of the exported packages in the generated MANIFEST file.

      Solution (adopted from http://wso2.org/library/tutorials/develop-osgi-bundles-using-maven-bundle-plugin#Sharing%20Packages):

      • exclude the internal package from the exported packages bei using the neglect notion for the apache felix maven plugin
        • overwrite the commons.osgi.export property from parent pom
      • add the internal package to the private packages declaration
        • overwrite the commons.osgi.private property from the parent pom

      Attachments

        1. SANDBOX-390.txt
          0.6 kB
          Benedikt Ritter

        Activity

          People

            simone.tripodi Simone Tripodi
            britter Benedikt Ritter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: