What version of nexus do you use? Is it hosted or proxy repository?
-- Regards, Igor On 2013-07-30 11:23 AM, Paull M wrote:
example of what ? my project, my configuration, my network layout ? i'll try to make huge project with a lot of dependencies ... nexus repository is close to me (on the local network). And request/response itself takes 100-300 ms (from mvn command line and m2e as well). Not sure that i know how to measure connection establishment time, but it also should be a little. On Tue, Jul 30, 2013 at 9:43 AM, Igor Fedorenko <i...@ifedorenko.com <mailto:i...@ifedorenko.com>> wrote: Can you provide a standalone example that demonstrates the problem? How "far" is your snapshot repository from your build machine in terms of request/response roundtrip time? Do you know how long it takes to establish connection to the repository? I am pretty sure m2e performs artifacts resolution serially and I think it does not use persistent http sessions either. Command line maven, on the other hand, uses persistent http sessions and executes multiple artifact download requests in parallel, which should result in much better performance in high-latency scenarios. -- Regards, Igor On 2013-07-30 9:42 AM, Paull M wrote: 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 <i...@ifedorenko.com <mailto:i...@ifedorenko.com> <mailto:i...@ifedorenko.com <mailto:i...@ifedorenko.com>>> 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@eclipse.org <mailto:m2e-users@eclipse.org> <mailto:m2e-users@eclipse.org <mailto:m2e-users@eclipse.org>> https://dev.eclipse.org/____mailman/listinfo/m2e-users <https://dev.eclipse.org/__mailman/listinfo/m2e-users> <https://dev.eclipse.org/__mailman/listinfo/m2e-users <https://dev.eclipse.org/mailman/listinfo/m2e-users>> _________________________________________________ m2e-users mailing list m2e-users@eclipse.org <mailto:m2e-users@eclipse.org> https://dev.eclipse.org/__mailman/listinfo/m2e-users <https://dev.eclipse.org/mailman/listinfo/m2e-users> _________________________________________________ m2e-users mailing list m2e-users@eclipse.org <mailto:m2e-users@eclipse.org> https://dev.eclipse.org/__mailman/listinfo/m2e-users <https://dev.eclipse.org/mailman/listinfo/m2e-users> _______________________________________________ m2e-users mailing list m2e-users@eclipse.org https://dev.eclipse.org/mailman/listinfo/m2e-users
_______________________________________________ m2e-users mailing list m2e-users@eclipse.org https://dev.eclipse.org/mailman/listinfo/m2e-users