Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Sling Adapters Errors

Avatar

Level 1

We found some errors in Sling Adapters there are some error

Screen Shot 2021-10-27 at 9.56.54 AM.png

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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