Ok, thanks!

On Tue, 25 Oct 2011 11:15:49 +0200, Olivier Lamy wrote:
2011/10/24 Johan Lindquist <[email protected]>:
Hi All,

I am curious what the expected behavior with is when using the -f
<alternate-pom-file> command line option with respect to the working
directory.

I am running 'mvn -f <sub-dir>/pom.xml' and it seems Maven will change the working directory to '<sub-dir>' before executing the actual build.  Is this intentional and by design?  I had expected that the working directory to
Yup AFAIK it's intentional. ${basedir} is always the directory of your
project (i.e. the pom directory)

remain the same, while simply allowing you to place the pom files anywhere.

Cheers,

johan

--
you too?


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



--
you too?

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to