here you go https://issues.apache.org/jira/browse/MNG-6084

Very much appreciated

-Dan

On Fri, Sep 2, 2016 at 8:42 AM, Stuart McCulloch <mccu...@gmail.com> wrote:

> On Wednesday, 31 August 2016 at 19:05, Dan Tran wrote:
> > Hi Stuart
> >
> > Thanks for helping out.
> >
> > I have 3 mojos, sharing one singleton component which depends on another
> > singleton component thru injection. All working now via both injection
> type
> > ( after some cleanup)
> >
> > should I file a JIRA to enable JSR-250 support fo rmaven 3.4?
> Sure - send me the ticket number and I’ll add some commentary this weekend
> > looking forward to use it
> >
> > Thanks
> >
> > -Dan
> >
> >
> >
> > On Wed, Aug 31, 2016 at 9:22 AM, Stuart McCulloch <mccu...@gmail.com
> (mailto:mccu...@gmail.com)> wrote:
> >
> > > Hi Dan,
> > >
> > > Constructor injection (and component injection) is working for me with
> > > Maven 3.3.9 if I follow the example in http://maven.apache.org/maven-
> > > jsr330.html
> > >
> > > Is your plugin code available somewhere?
> > >
> > > PS. at the moment Maven doesn’t enable container support for JSR-250
> > > lifecycle, but it is implemented by Sisu under a feature flag:
> > >
> > > https://github.com/eclipse/sisu.plexus/blob/releases/0.3.
> > > 3/org.eclipse.sisu.plexus/src/org/codehaus/plexus/
> > > ContainerConfiguration.java#L62
> > >
> > > --
> > > Cheers, Stuart
> > >
> > >
> > > On Wednesday, 31 August 2016 at 16:59, Dan Tran wrote:
> > >
> > > > Hi Thomas,
> > > >
> > > > You are right!!! looking for how to fix this...
> > > >
> > > > The only thing working for me is field injection at MOJO. event The
> > > > constructor injection ( as documented) at MOJO is not.
> > > >
> > > > Thanks
> > > >
> > > > -Dan
> > > >
> > > > On Wed, Aug 31, 2016 at 1:20 AM, Thomas Broyer <t.bro...@gmail.com
> (mailto:t.bro...@gmail.com)
> > > (mailto:t.bro...@gmail.com)> wrote:
> > > >
> > > > > On Wed, Aug 31, 2016 at 8:43 AM Dan Tran <dant...@gmail.com
> (mailto:dant...@gmail.com) (mailto:
> > > dant...@gmail.com (mailto:dant...@gmail.com))> wrote:
> > > > >
> > > > > > Hi
> > > > > >
> > > > > > I have a need to inject my jsr330 component into my plugins[1]
> and I
> > > > > > found 2 issues
> > > > > >
> > > > > > 1. @Inject under MOJO works, but my singleton component
> @PreDestroy
> > > never
> > > > > > got called
> > > > >
> > > > >
> > > > >
> > > > > @PreDestroy is not part of JSR 330, it's a CDI thing, so no wonder
> > > it's not
> > > > > called.
> > > >
> > >
> > >
> >
>
>
>

Reply via email to