Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For “normal” AEM application bundles it may be too cumbersome to export each package explicit (especially as all packages containing Sling Models have to be exported to be accessible from HTL scripts). Also it would complicate the migration of existing projects relying on the old behavior. For those projects you can add this bnd instruction to your project’s POM file - example:

Code Block
languagexml
<!-- Export all non-internal packages by default -->
Export-Package: !*.impl.*,!*.internal.*,\
    io.wcm.samples.*

...