This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Importing Existing multimodule maven project hands eclipse

 
shukla raghav
Ranch Hand
Posts: 203
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been trying to import the codebase of Activiti bpm into my eclipse indigo 3.7.0. As the import reaches 11% it never proceeds further for hours. Eventually i have to kill the process. I have been looking for answers since last 5 days. Is the a solution or a workaround. (Please see the attachment)

Thanks in advance
ImportingAsMavenProjectStuck.gif
[Thumbnail for ImportingAsMavenProjectStuck.gif]
Check the import process which gets stuck at 11%
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you try importing it one submodule at a time?

Exactly how are you importing? Existing project into Eclipse? Import from Maven project? Importing from source control? Other?
 
shukla raghav
Ranch Hand
Posts: 203
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is a multiple module project with a parent POM and Child POMs .
1. New > Import > Import > Maven > Existing Maven Project
2. Browse and Select Root Folder
3. Advanced Settings > Resolve Dependencies
4. Next

 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a difference between the parent POM <-> child POM relationship and the master POM <-> submodule POM relationship. I believe you meant the latter* and that you imported the master POM into Eclipse as an existing POM project. I asked if you could import the individual submodule POMs separately. If you can do that, there is a way to get the master POM into Eclipse also, though not via an import.


* - Yes, a master POM can also be a parent POM for its submodule POMs, which make the submodule POMs also child POMs, but I highly recommend against doing this. But the parent/child relationship is not of importance when performing the Eclipse import.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic