0

I checked out a project from SVN into my local folder. It has root pom and all project multi level subfolders have pom files. When I tried to import and specify root directory, the import wizard shows only root pom. Not showing all poms from the sub folders. Am I missing something?

Kevin Rave
  • 13,876
  • 35
  • 109
  • 173

1 Answers1

2

its very likely that the parent pom doesn't define the child projects within a modules tag in its pom.xml.

ranjithkr
  • 594
  • 3
  • 10
  • yes, it does not have module tag. But I was told run mvn install on root pom so that all dependencies for the sub folders / modules will be downloaded. Is that the case? – Kevin Rave May 28 '13 at 21:19
  • if you add the child projects within child A in the parent's pom.xml, they should then show up in the Import projects wizard. and also, when you run mvn install now, from root project, it should download dependencies from your child projects as well. hope that helps. – ranjithkr May 28 '13 at 21:33
  • Only if I specify modules tag in the root pom? Or not ncessary? – Kevin Rave May 28 '13 at 21:35