GitHub user io7m opened a pull request:

    https://github.com/apache/maven-plugins/pull/137

    [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

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/io7m/maven-plugins MJAVADOC-489

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/maven-plugins/pull/137.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #137
    
----
commit 72046ff41b90a7667b07396623487f128542922f
Author: Mark Raynsford <[email protected]>
Date:   2017-11-18T11:43:45Z

    [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

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to