Hi David

You're right.
My proposal is useful if you want to customize default goals (what I
often do). You're solution is the simplest one.

James :
1. Yes I missed to declared the j namespace.
In the root maven.xml you must define the project like this :
<project default="myproj:default" xmlns:j="jelly:core">

2. you can create a new "fake" project :
> C:\dev\myproj-app
> C:\dev\myproj-ejb
> C:\dev\myproj-util
> C:\dev\myproj-web

> C:\dev\myproj-root
|-project.xml
|-project.properties
|-maven.xml

maven.xml, the same as before.

project.properties :

# Multiproject properties
#You include all your projects
(myproj-tool,myproj-war,myproj-ear,myproj-ejb,myproj-root)
maven.multiproject.includes=${basedir}/../myproj-*/project.xml
#And you remove the root
maven.multiproject.excludes=project.xml

Arnaud

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to