Java (9+) Modules Compatibility

Jorge Gonçalves <[email protected]>
Newsgroups gmane.comp.java.cayenne.user
Message-ID <VI1PR08MB4430105D7F74D5BFFE45866BF8C10@VI1PR08MB4430.eurprd08.prod.outlook.com>
Hello,

I'm planing to use Cayenne and Cayenne ROP in two projects, but at the
moment Cayenne is not compatible with module system.

Current issues:

If using Cayenne Server cannot create custom runtime image, because
JLink does not support automatic modules 
	
(Error: automatic module cannot be used with jlink: cayenne.server)


If using Cayenne ROP some packages are present on different
dependencies and it's not allowed to read a package from multiple
modules. 

- Error:java: the  "module" reads package org.apache.cayenne from both
cayenne.server and cayenne.rop.server

-Error:java: the "module" reads package org.apache.cayenne.remote from
both cayenne.client and cayenne.rop.server

-Error:java: the "module" reads package
org.apache.cayenne.remote.hessian from both cayenne.client and
cayenne.rop.server

-Error:java: the "module" reads package
org.apache.cayenne.remote.hessian.service from both cayenne.client and
cayenne.rop.server

-Error:java: the "module" reads package org.apache.cayenne.rop from
both cayenne.client and cayenne.rop.server

Cayenne works with Java 11 and I can do some workarounds like creating
a fat jar and not using module-info in my project. But is  there any
work in progress to make Cayenne compatible with module system?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.