You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2023/02/13 12:18:00 UTC

[jira] [Closed] (MCOMPILER-494) Add `useModulePath` to TestCompilerMojo

     [ https://issues.apache.org/jira/browse/MCOMPILER-494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet closed MCOMPILER-494.
-------------------------------------
    Fix Version/s: 3.11.0
         Assignee: Guillaume Nodet
       Resolution: Fixed

> Add `useModulePath` to TestCompilerMojo
> ---------------------------------------
>
>                 Key: MCOMPILER-494
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-494
>             Project: Maven Compiler Plugin
>          Issue Type: Improvement
>            Reporter: David M. Lloyd
>            Assignee: Guillaume Nodet
>            Priority: Major
>             Fix For: 3.11.0
>
>
> 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.10#820010)