Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-6076

Warning about split packages with JPMS module dependencies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • maven-bundle-plugin-4.1.0
    • None
    • Maven Bundle Plugin
    • None

    Description

      Dependencies on OSGi-fied JPMS modules produce warnings about split packages. Even using the suggested -split-package directive does not make the warning disappear (anyway, it should not appear in the first place as there is no reason for it).

      The interesting point is that when module-info is absent in the dependency, the warning does not appear at all.

      A small project that demonstrates the behavior is attached.

      I personally consider this bug very annoying as seems to hurt any attempts for dual JPMS/OSGi libraries.

      Attachments

        1. osgi+jpms.zip
          6 kB
          Petr Dolezal

        Activity

          People

            Unassigned Unassigned
            pdolezal Petr Dolezal
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: