On Fri, 2004-04-16 at 15:30, Tim Reilly wrote: > > Jason van Zyl wrote: > > > > It's free in the XML parser, but with the advent of maven2 you'll see > > things like POMs being stored in DBs and prevayler (which I'm working > > on) and LDAP (which is something Alex is interested in) and hopefully a > > variety of other sources. > > > > At the risk of poking my noise into something I don't know enough about... > > I was curious if commons-configuration was considered for POM loading?
Nope, you could consider the POM a configuration but it's not really. For maven2 a barebones xpp3-based reader/writer are generated from a simple model: http://cvs.apache.org/viewcvs.cgi/maven-components/maven-model/maven.mdo?rev=1.27&view=auto But I did consider using xstream (xstream.codehaus.org), it's just for serializing/deserializing POJOs to/from XML but it's orders of magnitude faster than commons-digester, easier to use and has only one dependency. But for just nabbing the XML the generated xpp3 reader is about as fast as it gets. Plus the dependencies for commons-configuration are probably bigger than the current size of the maven2 which is ~600k. The digester/beanutils combo is 200k alone, or if you're using dom4j that's almost 500k. And it probably uses commons-logging which I consider harmful. So it's not something I would consider using, also I'm one of the original authors: the code came from Turbine :-) -- jvz. Jason van Zyl [EMAIL PROTECTED] http://maven.apache.org happiness is like a butterfly: the more you chase it, the more it will elude you, but if you turn your attention to other things, it will come and sit softly on your shoulder ... -- Thoreau --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
