In theory that is the case.
How is defined your build part in your POM ?
What is your version of maven and its plugins ?

Arnaud

On 20/04/07, matthewadams <[EMAIL PROTECTED]> wrote:


Hi all,

I've got some unit tests in a subproject of a multiproject that run fine
when building from the subproject's basedir, but when the subproject is
built as part of the multiproject build (that is, maven is launched in the
parent directory), the basedir is that of the parent directory, and my
unit
tests fail to find the resources they need to test (some xml files).

How does Maven 1 handle setting the basedir property in subprojects during
a
multiproject build?  It seems inutitive that the basedir property should
be
set appropriately for each subproject, but that's not happening.

TIA,
Matthew

--
View this message in context:
http://www.nabble.com/-M1--multiproject-basedir-not-changing-in-subprojects--tf3620470s177.html#a10109703
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Reply via email to