commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SANDBOX-390) [BeanUtils2] Make sure that the internal package does not get exported when packaging as OSGi bundle
Date Tue, 07 Feb 2012 16:57:02 GMT
[BeanUtils2] Make sure that the internal package does not get exported when packaging as OSGi
bundle
----------------------------------------------------------------------------------------------------

                 Key: SANDBOX-390
                 URL: https://issues.apache.org/jira/browse/SANDBOX-390
             Project: Commons Sandbox
          Issue Type: Improvement
          Components: BeanUtils2
            Reporter: Benedikt Ritter
         Attachments: SANDBOX-390.txt

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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message