buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Spiewak <>
Subject Re: Detect duplicate artifacts for project
Date Tue, 25 Aug 2009 02:42:48 GMT
I seem to recall that there is a way to resolve a project descriptor into a
Project object.  I can't remember exactly how off the top of my head, but
I'm pretty sure it's possible.  Have you already explored this solution?


On Mon, Aug 24, 2009 at 6:21 PM, Martin Grotzke <> wrote:

> Hi,
> I want to create a simple extension that lists artifacts that are more
> than once contained in the project compile dependencies (or in the
> packaging deps).
> The idea is to iterate over all project.compile.dependencies, find
> duplicates and for each duplicate select other artifacts, that provide
> them when invoked with transitive().
> For artifacts this is fine, but what to do with projects that are added
> to the compile dependencies? AFAICS this would be e.g. a JarTask, but
> then I need to get the project of the jar task (and its compile.deps).
> Is there any possibility to get the deps of a project another project
> depends on?
> Thanx && cheers,
> Martin

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message