Le 2023-12-19 à 18 h 24, Romain Manni-Bucau a écrit :

compilation: either make things simple or just enable to compile part of the code which does not use modules (does not prevent to compile with module meta)

I'm not sure what "enable to compile part of the code which does not use modules" means. If parts of the code use module and other parts do not, it would have to be two separated Maven modules. A single module is either modular or not. For a single Maven module, the syntax of the javac command is:

   javac [options] [sourcefiles]

If someone wants to compile a subset of his application, it changes only the [sourcefiles] part of the command. Nothing change in the [options] part, which contains the class-path and module-path.


surefire: you likely want to test both cases

The standard case would be the case as configured by the user. If testing both cases mean testing also a case where everything is put on the classpath, then maybe that case could be a separated plugin. Or maybe an option to surefire-plugin.

    Martin

Reply via email to