Re: [subscriptions] Re: Re: Fw: Joe Walnes feedback on "ComponentHaus now does full dependency trees"

"Mike Hogan" <[email protected]> Thu, 22 Jan 2004 08:57:25 +0200
Newsgroups gmane.comp.java.jcontainer.interest
Message-ID <001e01c3e0b4$fe0f3350$25a9ba50@eamon>
Hi Alex,

> If it is possible to extend the POM or use different versions of the POM
> with maven in a pluggable fashion we could qualify the nature of a
> dependency using attributes like 'runtime', 'buildtime' and perhaps
> 'optional'.

Agree this is possible and makes sense.  But it is not needed for submitting
components to CH.  CH has its own DTD that describes submitted components,
and its to that DTD that I am adding support for typed dependencies.  That
said, if the maven POM provided a parallel feature, it would hook up nicely
and make a developers like much easier.

> The only limitation however is that efficient dynamic queries for
> dep info may require a database of sorts rather than just using
> XML for the sake of performance.

Right, CH does this.  When a component is submitted, it builds the
dependency tree once and stores it in a Prevayler instance.  So querying it
is fast.  So far thats all thats been needed, but if this information is
needed by other systems, it would be easy to add a web service over it.

Cheers,
Mike.