Hi,

On Fri, Jul 8, 2022 at 5:43 PM Francois Marot <francois.ma...@gmail.com>
wrote:

> I believe you used the shade maven plugin or equivalent.


Yes


> I faced this
> problem multiple times and to my knowledge, there is no "good" solution.
>

I was afraid of that.


> The problem is that Maven computes the dependency graph for all modules of
> the reactor right at the start. But when the shade plugin integrates ANTLR
> inside your library, this library should not depend onto ANTLR anymore. But
> because the dependency graph was computed at the start,
> other modules of the reactor depending onto your library still depend onto
> ANTLR even if there is already a shaded version of ANTLR inside your
> library.
>

Yes, I was hoping there is a simple way to detach a directory from the main
build reactor and still have it built.

So in the end, in the same reactor execution, module MUST NOT depend onto a
> shaded module. They must be considered as 'final' modules.
>

I do not understand what you are trying to explain here.

Niels

Reply via email to