[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.m2e] Re: Files from resource folders?

This is a visual illusion ;-) M2E creates several workspace projects that overlap the same physical filesystem directory structure.

Personally, I like it this way, because I can perform filesystem-centric operations, like synchronize with repository, using single parent project, yet, have individual modules as separate projects for proper build lifecycle, dependency management and so on.

At the same time, there is a way to hide module folders from parent project. Assuming you're using Eclipse 3.4 and a recent 0.9.9 dev build (maybe 0.9.8 already had it), you can enable experimental Window->Preferences->Maven->Hide Folders of Physically Nested Modules. You will have to re-import your projects into workspce after you enable/disable this feature.

--
Regards,
Igor

mlt wrote:
I have made a parent maven project with a few maven modules. In one of those modules I have placed some XML files in the resource dir. Now these XML files appears in both the module and under the parents resource folder.

1) Why do the resource file appears both under the module and the parent?

2) Since they also appear in the parent is it possible to fetch them from other modules besides the one having them in its own resource folder?