Maven Standard Directory Layout Incompatible with Java 9+ Modules
It appears Oracle designed the new Java Platform Module System (JPMS) without taking into consideration the directory layout that popular build tools like Maven use. I ran into this issue when I could not use Maven to consolidate JavaDoc across multiple Java 9+ modules:
https://issues.apache.org/jira/browse/MJAVADOC-449
In particular, see the Sept. 1 issue comment by Martin Desruisseaux. This issue affects not only the javadoc tool, but also javac and jlink. See also Martin's post on the Maven email list:
https://mail-archives.apache.org/mod_mbox/maven-dev/201808.mbox/browser
Martin was told to use Pro to build his projects, because the Maven volunteers don't have enough time to fix it. Pro appears to be a new build tool designed to support building JPMS modules:
https://github.com/forax/pro
I am not aware of Pro support in IntelliJ IDEA. Any ideas for a workaround?
Bruce
Please sign in to leave a comment.
Hello,
Is it possible to provide sample project example demonstrating the issue?
Hi Yaroslav,
I have a ZIP file with a sample project, but I can't find a way to send it to you through the website. Do you have a direct email address?
Bruce
Bruce,
You could use https://uploads.services.jetbrains.com/ or FTP: ftp://ftp.intellij.net/.uploads/