Maven was built to expect a hierarchical (not flat) project / sub
project structure. There are many fixes to maven that focus on making
it work for flat (e.g. Eclipse-like) project structures. But some
things appear not to work properly. See e.g.
http://jira.codehaus.org/browse/MRELEASE-261 which is "Open" and not
being worked on.
A main issue is whether or not Eclipse itself supports a nested,
hierarchical project structure. Apparently, as of Europa (3.3) version,
it doesn't quite, but one email post I found says:
> Europa supports having multiple projects in workspace that overlap : my
> root
> project contains all sub-projects as folder.
>
> Nico.
SVN apparently has two different Eclipse plugin providers: Subclipse
(which I've been using), and now there's a new, Eclipse-official one (in
incubation), called Subversive. The new one apparently also supports
some kind of hierarchical SVN operations, while Subclipse doesn't.
From the above MRELEASE-261:
Subclipse plugin for Eclipse can not handle nested projects in Eclipse
at all, and from the dialogue on their list, do not intend to. As
Subversive provides much better support for nested Subversion structures
in Eclipse, and has since become the 'official' (or so I'm informed)
Eclipse foundation Subversion plugin, we have moved to using Subversive
and find that the Eclipse multi-project import-export plugin works
pretty well. Note the impact analysis for the work of changing the
release plugin to be more 'directory aware' was pretty good, 3 days
would have it cracked I would expect (inc. ITs etc)
-Marshall