Thanks.
I was hoping for a "native" Java solution instead of an (apparently
necessary) external plugin that hacks this in.
Niels
On Mon, Apr 11, 2022 at 11:32 PM Daniel B. Widdis wrote:
> > My question is what is the correct/preferred/recommended way to do this?
>
> Not combine shading and JPM
Hi Niels,
I don't see an existing resource transformer for module-info
https://maven.apache.org/plugins/maven-shade-plugin/examples/resource-transformers.html
Did you see this?
https://stackoverflow.com/a/58097561/2746335
Delany
On Tue, 12 Apr 2022 at 11:16, Niels Basjes wrote:
> Thanks.
>
>
Hi,
New transformer is a good idea.
There is also similar issue https://issues.apache.org/jira/browse/MSHADE-262
wt., 12 kwi 2022 o 11:35 Delany napisał(a):
> Hi Niels,
>
> I don't see an existing resource transformer for module-info
>
> https://maven.apache.org/plugins/maven-shade-plugin/exam
Hello,
I have 2 dependencies org.reflections:reflections:jar:0.9.8:test and
com.google.inject:guice:jar:5.1.0:compile.
org.reflections:reflections:jar:0.9.8 uses
com.google.guava:guava:jar:11.0.2:compile
com.google.inject:guice:jar:5.1.0 uses
com.google.guava:guava:30.1-jre:compile
During compili
Howdy,
seems is "known issue" https://issues.apache.org/jira/browse/MNG-6224
what happens if you reorder your dependencies in pom, first compile and
then test scoped ones?
HTH
T
On Tue, Apr 12, 2022 at 1:00 PM Rimvydas Vaidelis <
rimvydas.vaide...@gmail.com> wrote:
> Hello,
>
> I have 2 depend
It is not clear to me what the problem is.
As you shade antlr4 code, and they are only used by your own code,
there's no need for exports or requirements, so I don't see why the
module descriptor would be an issue.
... unless it is a cross-(Maven)module and you need to use these classes
in a di
Hello Tamas,
Thank you for the reply.
Reordering of dependencies includes guava-30.1-jre.jar into compile
classpath.
Dependency tree:
org.example:dependency-conflict-example:jar:1.0-SNAPSHOT
+- com.google.inject:guice:jar:5.1.0:compile
| +- javax.inject:javax.inject:jar:1:compile
| +- aopallia
I recommend taking control of the situation by yourself, specifying the desired
version in your *dependencyManagement* section.-- Alexander Kriegisch
Ursprüngliche Nachricht Von: Rimvydas Vaidelis
Datum: 12.04.22 21:20 (GMT+07:00) An: Maven
Users List Betreff: Re: Compile cl