On 12/14/2010 3:24 AM, Tommaso Teofili wrote: > Hi Marshall, > > 2010/12/13 Marshall Schor <[email protected]> > >> When using m2eclipse, this is not particularly an issue (I think) - other >> than >> it takes up vertical space in the explorer view to show those contained >> projects. >> >> I've gone back and forth about this, myself, and wonder if others have >> opinions >> on it? I've done some experimenting, and, at least for me, the M2eclipse >> preference "hide folders of physically nested modules" doesn't hide them >> (Eclipse 3.6.1, m2eclipse 0.12.0). Also, I've observed that the svn >> changed >> flags show up on both "views" of the same folder, if there is a change. >> >> to work with Maven multimodule projects I usually use the File -> Import -> > Existing Maven Project -> select the parent folder and then check all the > modules (one for each pom).
Yes, this is what I do, except the Import Existing Maven projects action has pre-checked everything so I don't need to check these myself. > This way you have one separate project for each > module Yes, that's what I get > and also one parent project Yes > in which modules' build paths are not set > so in that you see only the parent POM and the modules directory structures. Right. In the parent pom project I see all the folders for all the modules - that's what I was wondering about "hiding", since each of the modules has its own top level Eclipse project as well. > Also in that way modifying files on a module project is automatically > synchronized with the same file in the parent project. Yes, these are the same file locations, just 2 "views" of the same folder. > So in this way you don't have the whole "vertical" structure in one project > (when enabling nested modules) and can work on modules separately. That's what I'd like to do. What I was hoping was to be able to "hide" the folders in the parent pom project. There was a Jira for this https://issues.sonatype.org/browse/MNGECLIPSE-1317 which identified the issue as If you import a nested project structure into M2E you will be able to see child projects inside of parent projects. This is very confusing (see screnshot). > Lately I've been working with IntelliJ Idea for a while and I find it quite > better in support to multi module Maven projects; however we'd need someone > working on IntelliJ Idea UIMA plugins to provide a better experience there > too. Just curious - is there m2eclipse - like support for IntelliJ ? That is, something that attempts to merge the incremental build processes the IDE uses, with the build life-cycle processes that Maven provides, so you get the same build results? -Marshall > Cheers, > Tommaso >
