Hi,
No, it's not. That's not how maven works. But you can deploy where you want
if you configure it in the settings.xml or directly in the pom.xml.
See http://maven.apache.org/plugins/maven-install-plugin/install-mojo.htmlfor
the options of the Install Mojo.

The localRepository has to be set in the global settings.xml or in the
~/.m2/settings.xml file.

Cheers.

2008/11/23 Torsten Werner <[EMAIL PROTECTED]>

> Hi,
>
>
> tools from the non Java world like automake and cmake support a
> variable DESTDIR:
>
> make install DESTDIR=...
>
> will not install into e.g. /usr/bin but into $DESTDIR/usr/bin. Is
> something similar possible with mvn? I want the artifacts to be
> installed into ${destdir}/${settings.localRepository} instead of
> ${settings.localRepository}.
>
> And BTW, can the localRepository be set from the command line? Something
> like
>
> mvn <phase> -Dsettings.localRepository=/my/local/repo
>
> does not seem to work...
>
>
> Cheers,
> Torsten
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !

Reply via email to