Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aether-users] About DefaultDependencyCollector API performance

Hi,

 

I have a question about the below API of DefaultDependencyCollector,

private void process( final Args args, List<Dependency> dependencies, List<RemoteRepository> repositories,

                          DependencySelector depSelector, DependencyManager depManager, DependencyTraverser depTraverser )

  

 

I have 20 projects in my eclipse workspace, and most of the projects having same direct or transitive dependencies…

Ex: for project A, it has library lib-1, lib-2

For project B, it has library lib-2, lib-3

 

I see lib-2 are processed 2 times, and recursively, if lib-2 and lib-3 both reference lib-4, lib-4 are also processed for 2 times.

Like the low level library jdom are processed many times when updating project configurations with m2e.

Is there a possibility to reuse the same library to avoid processing the same library multiple times?

 

Thanks,

Eric


Back to the top