Re: [MDEP-644] Tests failing due to Guice Plexus incompatability

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Re: [MDEP-644] Tests failing due to Guice Plexus incompatability

Tomo Suzuki
Hi Ian,
(I don’t have answer to your question)

Do you have build failure log (including stacktrace) somewhere?
Would you share URL of your branch?

On Thu, Jun 4, 2020 at 18:21 Ian Lavallee <[hidden email]> wrote:

> Hi,
> I am working on ticket MDEP-644 Reintroduce the verbose option for
> dependency:tree. I'm having trouble with broken tests.
> I added org.apache.maven.resolver:maven-resolver-api:1.4.2 and
> org.apache.maven.resolver:maven-resolver-impl:1.4.2 and didn't change
> anything else and multiple tests broke.
> They are all failing when they lookup RepositorySystem.class in a plexus
> container. I think the issue has to do with the maven-resolver-impl jar
> file. Specifically, the maven-resolver-impl
> uses sisu Guice instead of plexus. The javax.inject.Named does have
> org.eclipse.aether.internal.impl.DefaultRepositorySystem in it. Does anyone
> know how to make plexus work with Guice or have any links to resources on
> this topic?
> Thanks,
> Ian