Murray Waters wrote:
Am looking at the tutorial here
http://maven.apache.org/guides/getting-started/index.html under the
section "How do I build more than one project at once?".
It implies that the "Maven" way is to have a pom.xml with packaging
type pom at the level that your project folders are at.
Either that, or you can specify relative paths to modules and parent
pom, accordingly in in "modules" and "parent/relativePath" elements
In eclipse this would mean having a pom.xml at the root level of your
workspace, with subfolders for each project.
I doubt it is going to work well if you'll have something other then
projects in Eclipse workspace folder.
However there are other options:
1) whole project tree does not have to be inside workspace folder. If
you already have hierarchical project structure somewhere, import Maven
Projects wizard would import it right from that location, without
copying files to workspace
2) you can put your parent pom project in workspace folder and modules
would go as its child folders:
workspace
\ parent project1
\ module1
\ module2
\ parent project2
etc
regards,
Eugene
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email