JSR330 annotation scanning is enabled for all realms including
extensions, so it should be picked up.

Does the replacement implementation have the same "hint" or name?
ie. @Named("default")

You can turn on detailed container logging with -Dsisu.debug which will log
all bindings discovered in each realm/extension and any potential issues.

On Thu, 6 Aug 2020 at 11:45, Michael Osipov <micha...@apache.org> wrote:

> Folks,
>
> I am trying to write an extension for Maven Resolver which shall replace
> a default implementation. The implemented interface is an exported
> package in maven-core, the implementing class has proper javax.inject
> annotations @Named(...) and @Singleton so does the default (bundled)
> one. Put in lib/ext as well as to .mvn/extensions.xml. At no case the
> new implementation is picked up by Maven Resolver. Sisu descriptor has
> been created also.
>
> Is there anything I have missed? Does it require rather Plexus annotations?
>
> Michael
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to