Simple Maven example fails with unusual error

Mark Raynsford org.openjdk at
Sat Jul 21 14:55:15 UTC 2018


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

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: Invalid module name: '11' is not a Java

Is this a known issue?

Mark Raynsford |

More information about the openjfx-dev mailing list