It's not maven which create this it's the java compiler because maven called it witht the jar on the module path.
Yea... so it's the Maven compiler plugin doing this. Because it's this plugin which is responsible for calling the underlying javac command.
I don't understand why the question of supporting modularity is asked, ...
Because supporting Java 9 is not the same as turning whole project into Java 9 modules? The idea around J9 is that you should be able to use existing non-modular projects by simply putting them on classpath and it would work as it used to before. |