maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukas Theussl <ltheu...@apache.org>
Subject Re: Newbie Multiproject question
Date Tue, 22 Nov 2005 19:17:33 GMT
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:michael.boeckling@giniality.com] 
> 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message