On 10/12/2009, at 3:50 AM, Jason van Zyl wrote:

> 
> On 2009-12-09, at 8:38 AM, Kristian Rosenvold wrote:
> 
>> My personal short-list on MNG-3004 now only contains 1 thing, getting
>> order on log output. I need some help on this one;
>> 
>> It seems like there's two sensible ways to handle this
>> 
>> A) Intercept plexus "Logger" and sort according to calling thread.
>> B) Intercept System.out/err and sort according to calling thread.
>> 
>> I know B is going to work, but I really think A is a nicer option. But
>> plexus scares me (it reminds me of a teenager, capable of throwing fits
>> for no understandable reason and providing no explanation).
>> 
>> Assuming I am able to proxy the plexus logger, it should be able to
>> capture output of all plugins too, right ? Anyone have any
>> examples/explanation of how to proxy the logger ?
>> 
>> Anyone have any thoughts/preferences on this ?
>> 
> 
> You might want to wait a bit then as we have Nexus OSS completely running on 
> Guice with a Plexus shim, almost have Nexus Pro running on the same system 
> and probably about a week of work getting the same to work for Maven itself.

Will this directly impact the logging, or will it still retain the old logging 
system for backwards compat.? Regardless, I don't think Kristian should have to 
wait until the new year to proceed.

> 
> So if you can figure out a strategy to do this with Guice then that's what I 
> plan to run Maven 3.x on. I will put this in a GIT repository to share when 
> it's finished and then the community can decide if they want to have it be 
> absorbed into Maven at Apache. I'm killing off Plexus as fast as possible and 
> replacing it with Guice and we're close but Sonatype is focusing on Nexus 
> first and then we'll try it with Maven and then we'll ask people here if they 
> would like those changes here as I'm not presuming anything.

+1 killing Plexus (can we move Maven core's use of the plexus-util libs to 
commons-* as well? :)

- Brett

--
Brett Porter
[email protected]
http://brettporter.wordpress.com/





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to