On Thu, Feb 4, 2021 at 9:27 PM Matthieu Brouillard <[hidden email]>
> Hi all,
> As I was trying to cleanup & simplify my plugins by moving to JSR330, I
> came across a weird use case in which a `@Singleton` object exists multiple
> times (several instances) during the build:
> - it is first used by an extension, to store some value
> - then used in a mojo to retrieve and print the value
> Before opening an issue, I wanted to be sure that I did not make some
> errors in the simplified project and that my expectations of how it should
> work are OK.
> I pushed a simplified project with README here:
> https://github.com/McFoggy/maven-jsr330-demoYou will that the project is
> - the @Singleton information store
> - the extension filling the store
> - the mojo
> Thanks for any enlightenment.
> PS: can the issue come from different classloaders being probably used?