Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] m2e update dependencies much slower than mvn -U

I've checked with Eclipse TCP/IP monitor: both m2e and mvn command line makes approximately the same number of requests. With mvn command line they are performing incessantly, without gaps. M2e performs requests with pauses: it makes several requests, than about one second sleep, then again number of requests. And those pauses makes this total difference.
I'm trying to debug what causes those pauses: netty/aether or some logic between requests - but without any luck...


On Tue, Jul 30, 2013 at 12:16 AM, Igor Fedorenko <igor@xxxxxxxxxxxxxx> wrote:
This most likely will require changes to m2e code, but I don't know what
causes the problem and can't suggest a possible fix. Can you identify
what m2e does differently compared to command line maven, for example,
does it run unnecessary/redundant remote requests during snapshot
resolution?

--
Regards,
Igor


On 2013-07-29 11:34 PM, Paull M wrote:
Hi,
I have a project with a lot of snapshot dependencies (about 50) and all
of the are published in local nexus repository. When I'm building
project with 'maven compile -U' it takes about one minute. But when I'm
using m2e Maven->Update project->Update snapshots it takes 5~10 minutes.
It reproducible on different versions of eclipse ( 3.7,3.8,4.3) and m3e
(1.4,1.5).
Any ideas ?
As I see m2e uses different way to update dependencies as maven itself.
Netty and aether may be i need to tweak them ?

_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users


Back to the top