Hello,

I am building a project that uses modules (JPMS)

I have observed the maven-compiler-plugin behaves differently for test vs.
main compilation. I have a project and the main compilation works but the
test code does not compile. when i looked at the logs, i see during the
test-compile phase the plugin is putting all the dependencies on the
module-path whereas during the main compilation it only puts those
dependencies on the module-path that are declared in module-info.java; the
rest are on the classpath (which is the correct behavior). I am using
latest version of the plugin 3.11.0. Is this a known issue? Is there any
fix? Without it, how can we use JPMS?

S.

Reply via email to