On Sat, 24 Nov 2018 15:34:51 +0100, Martin Desruisseaux
<martin.desruisse...@geomatys.com> wrote:
Le 24/11/2018 à 15:10, Robert Scholte a écrit :
Today I started looking at MJAVADOC-449 again and it seems that just
nobody took serious time to solve this. I've been able to create the
proper commandline by moving some classpath entries to the modulepath.
Now it is a matter of implementing this.
Great, thanks!
Indeed, this is what I described in
https://github.com/Geomatys/maven-plugins/wiki#changes-to-maven-plugins
- that implementing this functionality seems basically a matter of
replacing some "--classpath" by "--module-path" and some "--source-path"
by "--module-source-path" options. However while Javadoc is currently
the main issue, the same capability is desirable for other tools too,
which is why I would like to address this issue at a more fundamental
level (the directory layout).
If you are fine with tool invocations per module, then there's no need to
change the directory layout. The current layout will stay the default and
you can already apply module descriptors. And I expect that this is good
enough for the majority of the community.
**If And Only If** you want to make use of single tool invocation for all
you JPMS modules, then you cannot use Maven, it's architecture doesn't
support it and any plugin trying to solve this is a hack.
Might be possible to add support for it in Maven 4 or 5, but focus is on
other improvements that block us right now.
Robert
As response Remi Forax wrote Pro[1], which is build upon these new jdk
tools features combined with the concepts of Maven.
Yes I'm aware of that, and my proposal is in part bringing some of Remi
Forax's idea into Maven.
I'll wait for the PRs :)
Cool! I don't know yet when I will have time to start my experiment, but
I would let you know when I will have a proposal that can be shown.
Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org