You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Viktor Sadovnikov <vi...@jv-ration.com> on 2017/05/30 15:25:15 UTC

dependency:tree without downloading binaries

Hello everyone,

I need to collect information about dependencies (their GAV only) of a very
large number of projects. Therefore I wrote a simple Maven plugin. It's is
based on maven-dependency-plugin, but reports dependencies in a format,
whihc I can use later.

However applying this plugin to projects results in filling local maven
repository with binaries of all the dependencies with their different
versions. It's vey time consuming and hungry for the disk space. Is there a
way to make DependencyGraphBuilder (class from Maven Shared) to resolve
dependencies using poms only? wihtout downloading actuall binaries?

With kind regards,
Viktor

Re: dependency:tree without downloading binaries

Posted by Stefan Ferstl <st...@gmail.com>.
On Tue, May 30, 2017 at 5:25 PM, Viktor Sadovnikov <vi...@jv-ration.com> wrote:
> Hello everyone,
>
> I need to collect information about dependencies (their GAV only) of a very
> large number of projects. Therefore I wrote a simple Maven plugin. It's is
> based on maven-dependency-plugin, but reports dependencies in a format,
> whihc I can use later.
>
> However applying this plugin to projects results in filling local maven
> repository with binaries of all the dependencies with their different
> versions. It's vey time consuming and hungry for the disk space. Is there a
> way to make DependencyGraphBuilder (class from Maven Shared) to resolve
> dependencies using poms only? wihtout downloading actuall binaries?
>

There is already an issue for that:
https://issues.apache.org/jira/browse/MSHARED-519


Cheers
Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org