maven-compiler-plugin icon indicating copy to clipboard operation
maven-compiler-plugin copied to clipboard

[MCOMPILER-365] Missing main classes when test contains a module descriptor

Open jira-importer opened this issue 7 years ago • 1 comments

Christian Stein opened MCOMPILER-365 and commented

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.


Affects: 3.8.0

Issue Links:

  • MCOMPILER-341 Compile module-info.java files located in test sources

jira-importer avatar Nov 22 '18 11:11 jira-importer

Christian Stein commented

Follow-up from https://issues.apache.org/jira/browse/MCOMPILER-341

jira-importer avatar Nov 22 '18 11:11 jira-importer