Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.0.0-M5
-
None
-
None
Description
When the test sources contain a module-info file, Surefire currently puts everything on the module path, even dependencies that are not modules.
When the main sources contain a module-info file, it uses Plexus-Java to determine what to put on the module path and what to put on the classpath.
I'm not sure what kind of use cases this will break, but it seems inconsistent to me. Shouldn't Plexus-Java be used in both cases? Marking as a minor issue since I'm not blocked by this, I was just curious why this was done differently.