maven-plugins
maven-plugins copied to clipboard
[MJAVADOC-489] Find the main module descriptor
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
It looks like only half of this got merged as I didn't use the same ticket title on the second commit.