Hi Weston,

The maven.multiproject.includes is constructed relative to maven.multiproject.basedir (which defaults to ${basedir}), so in your example, ${basedir} is prepended twice.

-Lukas


Weston, Toby wrote:
Thanks for the tip Michael, that seems to work great! Out of interest, I
tried the following, kind of expecting it to work which off course meant it
didn't!

maven.multiproject.includes=${basedir}/../ProjectA/project.xml


Anyway, thanks again,
Toby

-----Original Message-----
From: Michael Böckling [mailto:[EMAIL PROTECTED] Sent: 18 November 2005 17:12
To: Maven Users List
Subject: Re: Newbie Multiproject question

Hi Toby,

you can't "change directories" with the includes/excludes expression. But instead, you can try the following:

maven.multiproject.basedir=${basedir}/../
maven.multiproject.includes=projectA/project.xml

This is because the directory scanner will scan all subdirs of maven.multiproject.basedir and match them against the given expressions.

Cheers,
Michael Böckling


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

Reply via email to