Following up on How to define qualified exports to unknown modules? I've posted a testcase with two modules: core and plugin.
core tries to expose a package to plugin using qualified exports but the compiler complains that plugin does not exist. Following up on Alan Bateman's recommendation, I tried adding --module-source-path <path-of-plugin> --module plugin pointing from core to plugin but the compiler complains:
module plugin not found in source path
Why isn't the compiler able to find module plugin?
maven-compiler-plugincomplaining orjavac?javacdirectly. You can runmvn clean install -Xto get thejavaccommand-line being invoked, then run it manually.javaccommand here as well. It would bring clarity if something might be missing in the actual use case you're driving.