Sling Adapters Errors | Community
Skip to main content
November 22, 2022
Solved

Sling Adapters Errors

  • November 22, 2022
  • 1 reply
  • 580 views

We found some errors in Sling Adapters there are some error

Any idea why do we have those Models are in red?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SantoshSai

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

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

Santosh Sai