Simple Maven example fails with unusual error
Mark Raynsford
org.openjdk at io7m.com
Sat Jul 21 14:55:15 UTC 2018
Hello!
I've finally gotten around to trying out the artifacts that are
currently on Maven Central.
I put together a trivial example that does nothing but start up
OpenJFX:
https://github.com/io7m/javafx-example-20180721
It works, but only if I take the somewhat bizarre step of excluding the
non-platform-specific artifacts from the build. Note the <exclusions>
elements in the Maven dependencies.
The error I get if I don't do this:
java.lang.module.FindException: Unable to derive module descriptor
for /home/rm/var/maven/org/openjfx/javafx-graphics/11-ea+19/javafx-graphics-11-ea+19.jar
Caused by: java.lang.IllegalArgumentException:
javafx.graphics.11.ea.19: Invalid module name: '11' is not a Java
identifier
Is this a known issue?
--
Mark Raynsford | http://www.io7m.com
More information about the openjfx-dev
mailing list