Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 343833

Summary: importing existing maven projects hangs
Product: z_Archived Reporter: Jorg Heymans <jh>
Component: m2eAssignee: Project Inbox <m2e.core-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: igor
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
threaddump taken after reaching the point where m2e seems to hang on downloading dependencies none

Description Jorg Heymans CLA 2011-04-26 08:26:41 EDT
Build Identifier: 20110218-0911

Using an empty local repo, i import one of our existing projects which is a multimodule project (3 modules). The import seems to start fine, i can see m2e downloading lots of POM files to the local repo. When all the pom files are retrieved from the dependency tree it starts downloading jar files and this is where the problem starts, it never actually manages to download a jar file and it just sits there at 12% progress, seemingly hanging. 

The project builds fine from the command line (tried both m2 and m3) so i know the repository settings and maven POM structure are all ok. We use Nexus 1.7.2 opensource edition as repository manager. 

Reproducible: Always

Steps to Reproduce:
The internal project cannot be shared. However it really only contains some very common dependencies (spring-* projects, log4j etc) and the module themselves are interdependent.
Comment 1 Jorg Heymans CLA 2011-04-26 08:27:50 EDT
Created attachment 194045 [details]
threaddump taken after reaching the point where m2e seems to hang on downloading dependencies
Comment 2 Jorg Heymans CLA 2011-04-26 10:09:58 EDT
forgot to mention versions:

org.maven.ide.eclipse.feature: 0.12.1.20110112-1712
org.maven.ide.eclipse.wtp.feature: 0.11.1.20101118-1810
Comment 3 Igor Fedorenko CLA 2011-04-26 20:57:02 EDT
Can you check if the problem still present in 0.12.2 "warmup" build available from https://repository.sonatype.org//content/repositories/forge-sites/m2e/0.12.2/S/0.12.2.20110415-2017/ ?
Comment 4 Jorg Heymans CLA 2011-04-27 03:28:26 EDT
the new build is much better, the project imports and builds fine. When will this build be promoted to release ?
Comment 5 Igor Fedorenko CLA 2011-04-27 10:22:17 EDT
0.12.2.20110415-2017 has new maven runtime (3.0.3) and new http transport version (ahc 1.6.3 and netty 3.2.4.Final) but no other changes. At this point we have not decided if it should be promoted to an official release or not yet
Comment 6 Denis Roy CLA 2021-04-19 13:24:40 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/