ops4j / org.ops4j.pax.url

Custom URL stream handlers for OSGi
http://team.ops4j.org/wiki/display/paxurl
Other
25 stars 57 forks source link

Support JPMS #407

Open oliverlietz opened 2 years ago

oliverlietz commented 2 years ago

Basic support should allow jlink build.

[WARNING] There are 1 pathException(s). The related dependencies will be ignored.
[WARNING] Dependency: /[…]/.m2/repository/org/ops4j/pax/url/pax-url-aether/2.6.9/pax-url-aether-2.6.9.jar
   - exception: Unable to derive module descriptor for /[…]/.m2/repository/org/ops4j/pax/url/pax-url-aether/2.6.9/pax-url-aether-2.6.9.jar
   - cause: Provider class org.apache.commons.logging.impl.SLF4JLogFactory not in module
[WARNING] Can't extract module name from pax-url-aether-2.6.9.jar: Provider class org.apache.commons.logging.impl.SLF4JLogFactory not in module
[WARNING] Some dependencies encountered issues while attempting to be resolved as modules and will not be included in the classpath; you can change this behavior via the  'includePathExceptionsInClasspath' configuration parameter.
[INFO] Required filename-based automodules detected. Please don't publish this project to a public artifact repository!
Error: automatic module cannot be used with jlink: […] from file:///[…]/.m2/repository/[…].jar
[ERROR] Command execution failed.
grgrzybek commented 2 years ago

@oliverlietz can you please show the jlink invocation you're using?

oliverlietz commented 2 years ago

@grgrzybek AFAIR the output was from javafx-maven-plugin when running javafx:jlink on de.bildschirmarbeiter.asf.toolbox.main (trying upgrade from Java 8 to Java 17).