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

Missing main classes when test contains a module descriptor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.8.0
    • None
    • None

    Description

      When `testCompile` detects a `module-info.java` file it patches the sources from the main set into the test compilation process. This yields a) recompiling main source files and b) leaves out not directly referenced main types.

      I would be better to re-use all compiled type from the main source set, if possible.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sor Christian Stein
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: