maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Lundberg <>
Subject Re: deploying site to local directory
Date Sun, 14 Nov 2010 11:35:22 GMT
On 2010-11-14 08:49, Tommaso Teofili wrote:
> Hi all,
> Does anyone know how to deploy a Maven generated site to a directory without
> specifying the <distributionManagement> inside the POM?
> Something like "mvn site-deploy -Ddeploysomewhere=file:///somewhere/here".
> Thanks in advance for your help.
> Cheers,
> Tommaso

It's not possible with site-deploy.

For staging a site you can specify a directory on the command line:

mvn site:stage -DstagingDirectory=C:\stagingArea\myProject\

For deploying a staged site you can specify a URL on the command line:

mvn site:stage-deploy -DstagingSiteURL=

Dennis Lundberg

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message