Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6999

Missing Export-Package of packages with "internal" in name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 8.14.0, 9.11.0
    • 10.0.0-M1, 9.12.0
    • wicket
    • None

    Description

      Some packages in Wicket have "internal" word in its name, eg.:
      org.apache.wicket.markup.html.internal
      But they are a part of public API (eg. HtmlHeaderContainer). These packages should be exported in MANIFEST.MF file in Export-Package section as in Wicket 6.x/7.x.

      I think something was broken in MANIFEST.MF generation, maybe some generator plugin (org.apache.felix.maven-bundle-plugin) configuration or version change? Packages with "internal" can be by default excluded from Export-Package section. But it is not a case in Wicket library.
      Here is excerpt from "Apache Felix Maven Bundle Plugin" documentation:

      <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)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              interface Daniel Stoch
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: