I've noticed that the Maven compiler plugin's test-compile goal (version
3.11.0) adds --patch-module
my.module=/path/to/myproject/target/classes:/path/to/myproject/src/test/java
to the javac invocation when I have a src/main/java/module-info.java.

I understand patching the "main" module with target/classes.  I don't
understand patching it with src/test/java. I'm sure there is a good reason.
Could someone explain?

Best,
Laird

Reply via email to