Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support JPMS #407

Open
oliverlietz opened this issue Dec 23, 2021 · 2 comments
Open

Support JPMS #407

oliverlietz opened this issue Dec 23, 2021 · 2 comments

Comments

@oliverlietz
Copy link
Member

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
Copy link
Member

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

@oliverlietz
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants