[
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?
|
Thanks for the update Tobias! Could you also comment on the change that I proposed on the tycho-dev list? I am willing to implement it, but there is no sense in doing it if you reject the patch later on - thus I am asking.
I find the limitation really annoying - and it could be easily solved with few lines of code.
Cheers,
Tom
On Mar 8, 2012, at 11:06 AM, Oberlies, Tobias wrote:
> 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
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user