You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Petr Dolezal (JIRA)" <ji...@apache.org> on 2019/02/28 20:48:00 UTC

[jira] [Created] (FELIX-6076) Warning about split packages with JPMS module dependencies

Petr Dolezal created FELIX-6076:
-----------------------------------

             Summary: Warning about split packages with JPMS module dependencies
                 Key: FELIX-6076
                 URL: https://issues.apache.org/jira/browse/FELIX-6076
             Project: Felix
          Issue Type: Bug
          Components: Maven Bundle Plugin
    Affects Versions: maven-bundle-plugin-4.1.0
         Environment: Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T20:41:47+02:00)
Maven home: C:\Program Files\Java\maven\bin\..
Java version: 11.0.1, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk\default
Default locale: en_US, platform encoding: Cp1250
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
            Reporter: Petr Dolezal
         Attachments: osgi+jpms.zip

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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)