On 26-Feb-08, at 6:29 PM, Rahul Thakur wrote:


On a related note, I have always wondered why Maven was not using OSGi underneath?


Because it wasn't very mature 3 years ago, and aside from the classloader mechanism which is really quite amazing there isn't much in the component model that's overly impressive. What has existed in Avalon is really a better component model that's in OSGi, and general dependency injection is generally pretty poor in OSGi. What is in XBean, Pico, Spring, Yan, and Juice have better dependency injection capabilities. The modularity aspects of OSGi are good, the rest of it I don't really care for and will go the path of cooperating with Dain and Paul on Pico and XBean. This evening Dain Sundstrom, David Blevins, David Jencks and Kohsuke Kawaguchi talked about JAXB replacing all these mechanisms. JAXB is so close to doing DI for everything. Dain is currently working on replacing the DI in Plexus with XBean reflect and then we'll work with Paul to make this work with Pico. I've talked with Jeff McAffer to about OSGi and we've already identified many things OSGi can't do insofar as running Maven. But in the coming months many things are going to fall out with respect to containers.

Rahul


Paul Benedict wrote:
Would shading be eliminated if Maven 2.1 integrated OSGi so that component and plugin dependencies can be totally isolated from each other (i.e.,
privatized)?

Paul

On Tue, Feb 26, 2008 at 7:59 PM, Jason van Zyl<[EMAIL PROTECTED]> wrote:

On 26-Feb-08, at 5:40 PM, Brett Porter wrote:

On 27/02/2008, at 11:32 AM, Jason van Zyl wrote:


The reason for this is that commons-logging in the root
classloader makes plugins unhappy (and the error reporting seems
to be swallowed now).

What about using slf4j and it's commons-logging replacement?
this didn't give me any luck unfortunately. I'm not entirely
comfortable tossing commons-logging into the root classloader at
this stage without tying it into the plexus logging properly, so I
think the pre-shaded webdav library is the way to go at this point
(it's essentially the same thing).

No the replacement for commons logging, so there is no commons logging
jar in the root classloader.

- Brett


--
Brett Porter
[EMAIL PROTECTED]
http://blogs.exist.com/bporter/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
jason at sonatype dot com
----------------------------------------------------------

Selfish deeds are the shortest path to self destruction.

-- The Seven Samuari, Akira Kirosawa




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
jason at sonatype dot com
----------------------------------------------------------

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.

-- Jacques Ellul, The Technological Society



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to