maven-plugins icon indicating copy to clipboard operation
maven-plugins copied to clipboard

[MJAVADOC-489] Find the main module descriptor

Open io7m opened this issue 7 years ago • 1 comments

The existing code was checking for the existence of a file "src/main/module-info.java" relative to the current directory. The problem is that in a multi-module build, the current directory is the project root, not the root of the current module. As a result, the module descriptor was not being found and all dependencies were ending up on the classpath instead.

Fixes: MJAVADOC-489

io7m avatar Nov 18 '17 11:11 io7m

It looks like only half of this got merged as I didn't use the same ticket title on the second commit.

io7m avatar Nov 19 '17 12:11 io7m