buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grotzke <>
Subject Detect duplicate artifacts for project
Date Mon, 24 Aug 2009 23:21:27 GMT

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,

View raw message