oliver.m2eclipse wrote:
Normally how you guys organize your projects in eclipses if the project
is a multi module project?
import to eclipse individually,or import parent ,which contains multi
modules as a whole?
I import the parent project and then enable multi module resolution.
After this m2eclipse will arrange the source according to every child
module in the project.
1) Maven > Enable Dependency Management
2) Maven > Enable Nested Modules on the parent project
Might also require:
3) Maven > Update Project Configuration to get the paths from children
correct
In my experience you need a fairly new m2eclipse (0.9.x) for this to
work correctly. I had lots of trouble getting nested modules to work
with early versions of m2eclipse, but that was back in 0.1.x days...
how can i view my whole project as single project in eclipse,and each
subproject has it's own classpath, output directory....
If the above is not fine grained enough for you, try the "Allow output
folders for source folders" in the Java Build Path settings of your
parent project and start mapping source folders of child projects to
individual output directories. (Do this by expanding the source folder,
selecting the output folder and clicking "Edit..")
HTH. Regards,
Martin
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email