2009/8/26 Nicolas Lalevée <nicolas.lale...@hibnet.org> > On Tuesday 25 August 2009 15:00:33 Xavier Hanin wrote: > > 2009/8/24 Nicolas Lalevée <nicolas.lale...@hibnet.org> > > > > The problem with that is how people would get only the main jar of their > > dependencies? Using an artifact type filter? That doesn't sound good IMO. > > I thought types where meant to be used for that kind of use case. > I'd say types are meant to deal with use cases where you don't have configurations properly setup to get only the type you want. Most of the time I prefer to use only conf, with no type filter. But it's only my point of view, maybe others think differently.
> > > Another suggested solution is to add a sources->sources(*) in the > > dependency conf mapping, but I see 2 problems with that: > > - it makes the sources conf always transitive > > - the fallback of * doesn't really make sense > > > > So what I find would be better is to define a transitive-sources conf, > and > > have a conf mapping of transitive-sources->transitive-sources(*), or even > > better transitive-sources->transitive-sources(none) if we define 'none' > as > > a special fallback conf which means no dependency conf if the required > one > > does not exist. Of course we would need to do that for javadoc too. > > what about transitive-sources->transitive-sources(sources) ? > The problem is that it will fail if there is no "sources" conf. Not sure if it's a real problem, we may assume that it's mandatory to declare a sources conf if you override the metadata of a module on which m2 modules depend. So I'm ok for transitive-sources->transitive-sources(sources) Xavier > > Nicolas > > > > > > WDYT? > > > > Xavier > > > > > Nicolas > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org > > > For additional commands, e-mail: dev-h...@ant.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org > For additional commands, e-mail: dev-h...@ant.apache.org > > -- Xavier Hanin - 4SH France - http://www.4sh.fr/ BordeauxJUG creator & leader - http://www.bordeauxjug.org/ Apache Ivy Creator - http://ant.apache.org/ivy/