Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Invoke a participant before TychoMavenLifecycleParticipant - is it possible?

https://bugs.eclipse.org/bugs/show_bug.cgi?id=353889

> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
> bounces@xxxxxxxxxxx] On Behalf Of Tom Bujok
> Sent: Mittwoch, 7. März 2012 15:42
> To: Tycho user list
> Subject: Re: [tycho-user] Invoke a participant before
> TychoMavenLifecycleParticipant - is it possible?
> 
> Cutting the long story short it extends the tycho dependency management
> mechanism.
> 
> But in the end it may be anything. Because of the problem described
> earlier tycho limits me from doing stuff that I could normally do with
> maven by declaring a plugin on the first place in the pom and binding it
> to the validate stage.  This is a bit misleading.That is the reason why I
> proposed that: http://dev.eclipse.org/mhonarc/lists/tycho-
> dev/msg00541.html
> 
> Second problem is that all dependencies are resolved in that very tycho
> participant method and because of that the build my fail in the
> "afterProjectsRead" stage, which probably is not a good-practice anyway.
> Haven't you thought about delaying the dependency resolution stage to make
> it more maven-compliant (project-based)? but, this is a different topic
> though.
> 
> Cheers,
> Tom
> 
> 
> On Mar 7, 2012, at 3:27 PM, Igor Fedorenko wrote:
> 
> > What does you plugin attempts to do?
> >
> > --
> > Regards,
> > Igor
> >
> > On 12-03-06 4:02 AM, Tom Bujok wrote:
> >> Hi guys,
> >>
> >> I am writing a maven plugin to customize my tycho build a bit.
> >> The tricky part is that my plugin has to be invoked before any tycho
> plugin. I checked that you guys use the TychoMavenLifecycleParticipant to
> do all your project configuration before any other plugin is invoked.
> >> Whenever I register my own AbstractMavenLifecycleParticipants it is
> invoked after the tycho's participant. Is there a way to hook-in at an
> earlier stage or use some plexus trickery to order the participants -  to
> make sure that my participant is invoked before any other participant?
> >>
> >> Thanks in advance,
> >> Tom Bujok
> >>
> >>
> >> _______________________________________________
> >> tycho-user mailing list
> >> tycho-user@xxxxxxxxxxx
> >> https://dev.eclipse.org/mailman/listinfo/tycho-user
> > _______________________________________________
> > tycho-user mailing list
> > tycho-user@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/tycho-user
> 
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top