[
https://issues.apache.org/jira/browse/MCOMPILER-493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sylwester Lachiewicz closed MCOMPILER-493.
------------------------------------------
Resolution: Duplicate
> Add `useModulePath` to TestCompilerMojo
> ---------------------------------------
>
> Key: MCOMPILER-493
> URL: https://issues.apache.org/jira/browse/MCOMPILER-493
> Project: Maven Compiler Plugin
> Issue Type: Improvement
> Reporter: David M. Lloyd
> Priority: Major
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)