I trying to convert Ice build to use Java modules, we build source and doc JARs along the main jars and put all of them in a lib directory
When I try to use the new modules setting --modules-path to the lib directory, I getting errors related to same module found in the main jar and the doc jar.
java --describe-module com.zeroc.ice --module-path lib
Error occurred during initialization of boot layer
java.lang.module.FindException: Two versions of module icestorm found in lib (icestorm-3.7.2.jar and icestorm-3.7.2-javadoc.jar)
Is there something I can do to avoid this kind of conflict, or should I Just not be putting the doc and sources JAR files in the lib directory along the main JARs.