Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sisu-users] sisu for maven-plugin-api: depencency convergence error

Hi Ernst,

Yes, I can align the versions with what Maven is currently using.

Btw they're declared in https://github.com/eclipse/sisu.plexus/blob/master/org.eclipse.sisu.plexus/pom.xml#L78 if you wanted to provide a PR.

--
Cheers, Stuart

On Thu, 24 Feb 2022 at 15:21, Ernst Reissner via sisu-users <sisu-users@xxxxxxxxxxx> wrote:
Hi all,

I have a very restricted point of view towards sisu but this one is
*very* important to me:
I am a java developer working with the main build tool, maven, and will
in the sequel find myself writing plugins.
Plugins depend on the maven-plugin-api which delends on sisu.

Find below part of the output of the enforcer plugin unveiling
convergence error.

Dependency convergence error for
org.codehaus.plexus:plexus-classworlds:2.5.2 paths to dependency are:
+-eu.simuline.m2latex:latex-maven-plugin:1.5-SNAPSHOT
   +-org.apache.maven:maven-plugin-api:3.8.4
     +-org.eclipse.sisu:org.eclipse.sisu.plexus:0.3.5
       +-org.codehaus.plexus:plexus-classworlds:2.5.2
and
+-eu.simuline.m2latex:latex-maven-plugin:1.5-SNAPSHOT
   +-org.apache.maven:maven-plugin-api:3.8.4
     +-org.codehaus.plexus:plexus-classworlds:2.6.0


As one can see, maven-plugin-api depens on plexux-classordls version
2.6.0 directly,
but it also depends also on vlexus-classworlds 1.5.2 via sisu 3.5.0
which is the latest version.

To resolve this inconsistency, I would like to ask you, whether you
could upgrade to plexus-classworlds 2.6.0.


There is another case which is analogous and is shown below

Dependency convergence error for org.codehaus.plexus:plexus-utils:3.3.0
paths to dependency are:
+-eu.simuline.m2latex:latex-maven-plugin:1.5-SNAPSHOT
   +-org.apache.maven:maven-plugin-api:3.8.4
     +-org.apache.maven:maven-artifact:3.8.4
       +-org.codehaus.plexus:plexus-utils:3.3.0
and
+-eu.simuline.m2latex:latex-maven-plugin:1.5-SNAPSHOT
   +-org.apache.maven:maven-plugin-api:3.8.4
     +-org.eclipse.sisu:org.eclipse.sisu.plexus:0.3.5
       +-org.codehaus.plexus:plexus-utils:3.0.24
and
+-eu.simuline.m2latex:latex-maven-plugin:1.5-SNAPSHOT
   +-org.apache.maven:maven-plugin-api:3.8.4
     +-org.codehaus.plexus:plexus-utils:3.3.0
and
+-eu.simuline.m2latex:latex-maven-plugin:1.5-SNAPSHOT
   +-org.apache.maven:maven-model:3.8.4
     +-org.codehaus.plexus:plexus-utils:3.3.0
and
+-eu.simuline.m2latex:latex-maven-plugin:1.5-SNAPSHOT
   +-org.codehaus.plexus:plexus-utils:3.3.0


One can see that maven-model-api depends on plexus-utils 3.3.0 in
various ways.
But it also depends on plexus-tuils version 3.0.24 via sisu 0.3.5.

Here again: could you upgrade to plexus-utils 3.3.0 to resolve the
inconsistency?

As maven-plugin-api is needed to write maven plugins and plugins are the
proper workers of maven,
it would be great if you could update because consistencyency of new
plugins depends on that.
Then I would ask the maven-lugin peole to change to the new sisu version
to resolve the problem.


Best Regards,

Ernst



_______________________________________________
sisu-users mailing list
sisu-users@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sisu-users

Back to the top