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