Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SantoshSai
SantoshSaiAccepted solution
Community Advisor
November 22, 2022

Hi @kirankumar ,

By default the plugin(Apache Felix Maven Bundle Plugin) makes all the packages in the bundle exported with 2 exceptions.

  • The packages whose name are “impl” or
  • “internal” 

those packages are not exported in remain private to the bundle.

For more details please read official documentation [0].

"<Export-Package> is now assumed to be the set of packages in your local Java sources, excluding the default package '.' and any packages containing 'impl' or 'internal'. (before version 2 of the bundleplugin it was based on the symbolic name)"

[0]: https://felix.apache.org/documentation/subprojects/apache-felix-maven-bundle-plugin-bnd.html

Hope that helps!

Regards,

Santosh

Santosh Sai

1 reply

SantoshSai
Community Advisor
SantoshSaiCommunity AdvisorAccepted solution
Community Advisor
November 22, 2022

Hi @kirankumar ,

By default the plugin(Apache Felix Maven Bundle Plugin) makes all the packages in the bundle exported with 2 exceptions.

  • The packages whose name are “impl” or
  • “internal” 

those packages are not exported in remain private to the bundle.

For more details please read official documentation [0].

"<Export-Package> is now assumed to be the set of packages in your local Java sources, excluding the default package '.' and any packages containing 'impl' or 'internal'. (before version 2 of the bundleplugin it was based on the symbolic name)"

[0]: https://felix.apache.org/documentation/subprojects/apache-felix-maven-bundle-plugin-bnd.html

Hope that helps!

Regards,

Santosh

Translate
Santosh Sai