This is an automated email from the ASF dual-hosted git repository.

pkarwasz pushed a commit to branch release/10.1.0
in repository https://gitbox.apache.org/repos/asf/logging-parent.git

commit 73d80acbab0b101a46970bb8db5d37533fe3c997
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Thu Sep 28 11:16:32 2023 +0200

    Make OSGi JPMS modules non-transitive
---
 pom.xml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 92225be..2acfbdb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -657,8 +657,10 @@
                 # Prevents an execution error in multi-release jars:
                 -fixupmessages: "Classes found in the wrong 
directory";restrict:=error;is:=warning
 
-                # OSGI modules do not make sens in JPMS
-                -jpms-module-info-options: 
org.osgi.core;static=true,org.osgi.framework;static=true,$[bnd-extra-module-options]
+                # OSGI modules do not make sense in JPMS
+                -jpms-module-info-options: 
org.osgi.core;static=true;transitive=false,\
+                  org.osgi.framework;static=true;transitive=false,\
+                  $[bnd-extra-module-options]
                 # Import all packages by default:
                 Import-Package: $[bnd-extra-package-options],*
 

Reply via email to