Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
Patch
Description
Sometimes it is necessary to compile tests which do not include all of the requires static dependencies of the main module or would have other errors when compiled in module mode. The compile mojos will always use module path mode whenever a release of 9 or later is detected and there is no way to disable this behavior.
Add a useModulePath switch which is similar to the one found in maven-surefire-plugin to allow test classes to be compiled in classpath mode always.
Attachments
Issue Links
- duplicates
-
MCOMPILER-494 Add `useModulePath` to TestCompilerMojo
- Closed