mauricio / postgresql-async

Async, Netty based, database drivers for PostgreSQL and MySQL written in Scala
Apache License 2.0
1.43k stars 222 forks source link

Invalid module name when running with Java 10 #253

Open johnnlima opened 6 years ago

johnnlima commented 6 years ago

When running with Java10 this happens:

Error occurred during initialization of boot layer
java.lang.module.FindException: Unable to derive module descriptor for .../.m2/repository/com/github/mauricio/postgresql-async_2.12/0.2.21/postgresql-async_2.12-0.2.21.jar
Caused by: java.lang.IllegalArgumentException: postgresql.async.2.12: Invalid module name: '2' is not a Java identifier

Is possible to add module declarations (module.info.java) to your JARs or set the Automatic-Module-Name entry in your JAR's manifest?