Eclipse itself doesn't support nesting of projects. If a project
exists at /home/user/workspaces/foo then you can't create another
project at /home/user/workspace/foo/bar. This presents a problem with
parent poms that are in parent directories. The solution is to place
the 'parent pom' in a sibling directory to all the referencing projects.
Brad
Peter Rylance (prylance) wrote:
Hi,
I've installed the maven2 Eclipse plugin and it seems to
work. But I have a maven project that contains nested modules under a
top-level pom. When I try to build this using the Eclipse plugin it
only builds the top-level pom, and does not build the nested modules.
I created my maven build manually before I installed the
eclipse plugin. The build works fine from the command line and builds
all nested modules.
Does the m2eclipse plugin support building nested modules? Do
I have to configure this somehow?
Thanks,
Pete