On Thu, 2004-04-15 at 21:28, Alex Karasulu wrote: > > > > Do you use this sort of setup? > > > > I think that the dep section would be expanded along the tree of POMs > > where needed. But one thing I was think about the POM structure was the > > possibility of a meta flag to indicate whether an element was overriden > > or aggregated. Still not sure if this would be necessary for this type > > of scenerio, but there will be some surveys coming along with the maven2 > > alpha so we'll find out :-) > > WDYT about flagging dependencies with free form attributes. Then > having an optional inclusion filter in every POM. This filter selects > the dependencies to include in the POM which is having its hierarchy > of dependencies determined dynamically. A filter can work like so: > > (& (isRuntime=tree) (isOptional=true) ) > > If isRuntime and isOptional are dependency attributes then a > 'defined' match can be determined. Otherwise a match is undefined when > these attributes are not present and the net effect is the same as a > failure to match. > > Maven's dependency analyzing code can apply this filter to the > dependencies down the hierarchy until the super set of dependencies > are exhausted. So the effective dependency hierarchy can be controlled > using this filter and such free form attributes to express any > user's specific need. > > WDYT?
I'm not even sure we need the first form I mentioned, let alone something like this. I honestly don't like the idea of free form attributes and a filter. I really don't think something like this is required. But we'll find out soon enough! > --Alex > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- 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]