Uploaded image for project: 'Maven Compiler Plugin'
  1. Maven Compiler Plugin
  2. MCOMPILER-493

Add `useModulePath` to TestCompilerMojo

    XMLWordPrintableJSON

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

          Activity

            People

              Unassigned Unassigned
              dmlloyd David M. Lloyd
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: