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]
>
>



-- 
Olivier Lamy
Talend : http://talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

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

Reply via email to