Skip to main content

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

Eric wrote:

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?

Aether already caches various bits used for dependency collection but I don't know to what degree these caches are employed by m2e or whether they even address what you vaguely describe as "processing".

Without something concrete (as in runnable by somebody else) that demonstrates your performance issue, I can't help much further.


Benjamin


Back to the top