[jira] [Created] (SANDBOX-390) [BeanUtils2] Make sure that the internal package does not get exported when packaging as OSGi bundle

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (SANDBOX-390) [BeanUtils2] Make sure that the internal package does not get exported when packaging as OSGi bundle

ASF GitHub Bot (Jira)
[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

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (SANDBOX-390) [BeanUtils2] Make sure that the internal package does not get exported when packaging as OSGi bundle

ASF GitHub Bot (Jira)

     [ https://issues.apache.org/jira/browse/SANDBOX-390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benedikt Ritter updated SANDBOX-390:
------------------------------------

    Attachment: SANDBOX-390.txt

Patch attached :)
               

> [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

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (SANDBOX-390) [BeanUtils2] Make sure that the internal package does not get exported when packaging as OSGi bundle

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

     [ https://issues.apache.org/jira/browse/SANDBOX-390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simone Tripodi resolved SANDBOX-390.
------------------------------------

    Resolution: Fixed
      Assignee: Simone Tripodi

fixed on [r1243715|http://svn.apache.org/viewvc?rev=1243715&view=rev] thanks for the contribution!
               

> [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
>            Assignee: Simone Tripodi
>         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