Note that the reason for maven to have such feature are much more
important because pom contains much more informations (including
dependency managment and plugin managment blocks dedicated for this
usage).

Note also that if the imported dependency file is located in a
published repository, it might raise some problems : circular
dependencies, two phase dependency resolution (first find the file to
include, then resolve the real dependencies).

Gilles


2006/11/15, Xavier Hanin <[EMAIL PROTECTED]>:
On 11/15/06, easyproglife <[EMAIL PROTECTED]> wrote:
>
> Hi.
>
> My situation is like this:
>
> I have many projects each one with its own ivy.xml.
> I see that many of them share the same dependency.
>
> Do you think it makes sense to support dependency-import from a common
> ivy.xml fragment file?


Some kind of Ivy file inheritance as with pom inheritance?  It makes sense,
and may allow us to reach a better level of compatibility with m2. What I
wouldn't like to see however is such imports in published ivy files. IMO ivy
files in the repository should be self contained.

Xavier

To be specific, I use the 2.2 use case as described here:
> http://wiki.apache.org/ivy/IvyUseCase
> Each project has the dependency on the same properties file.
>
> Is there a way not to duplicate the dependency code across all ivy.xmlfiles
> in all the projects?
>
> easyproglife.
>
>


Reply via email to