If you want to do this, why not use one of the maven eclipse plugins? At least I know m2eclipse supports this very nicely...
2009/1/23 Jaikiran <[email protected]> > > I have a multiple module project with this parent pom containing this: > > <module>myappone</module> > <module>myapptwo</module> > > > The myappone and myapptwo have their own poms and are jar artifacts. From > the top level parent i do a > > mvn eclipse:clean eclipse:eclipse > > > And then from Eclipse (which does not have any plugins) i do a File -> > Import -> Top level Project. At this point, i expected to see myappone and > myapptwo availble for selection, in the list of projects to be selected. > But > i only see the top level parent in the selection. When i import this top > level project, the child modules myappone and myapptwo are imported as > resources for the top level project. As a result, whenever i want to > traverse between the java classes of these projects (the "F3" way) i get a > pop-up saying (The resource is not in build path). > > Is there a way through which i can import these child projects as java > projects all at once from the top level instead of having to import them > one > at a time? > -- > View this message in context: > http://www.nabble.com/How-to-import-multi-module-projects-in-Eclipse-through-mvn-eclipse%3Aeclipse-tp21621731p21621731.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Kent Närling System Architect SEAMLESS Dalagatan 100, 8 tr, 113 43 Stockholm, Sweden Phone: +46 8 5648 7800, fax: +46 8 5648 7823 Mobile: +46 70 836 9925 Mail: [email protected] www.seamless.se
