You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Srinivasan, Nithya (Cognizant)" <Ni...@cognizant.com> on 2006/06/30 07:19:21 UTC
Deploying the site
Hi,
Am Nithya, I am a fresh user of maven.I would like to know which url
should I give in pom.xml when I deploy my site using mvn site-deploy
I would be glad if any of you could help with this issue
Thanks and regards
Nithya
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly
prohibited and may be unlawful.
Visit us at http://www.cognizant.com
Re: Deploying the site
Posted by Alexandre Poitras <al...@gmail.com>.
You can also use "file:".
On 6/30/06, Martin Gilday <ma...@imap.cc> wrote:
> You will need to add a <site> element under distribution management in
> your POM. From what I understand you cannot use FTP to deploy the site,
> as Wagon does not support directory uploading, so I am using SCP.
>
> POM.xml------------------
> <distributionManagement>
> <site>
> <id>webdev-site</id>
> <url>scp://10.0.0.3/var/www/html/projects/</url>
> </site>
> </distributionManagement>
> -------------------------
>
> You will also need to add your login details to the site in either your
> local settings.xml or in a profile
>
> settings.xml-------------
> <servers>
> <server>
> <id>webdev-site</id>
> <username>myUsername</username>
> <password>myPassword</password>
> <filePermissions>664</filePermissions>
> <directoryPermissions>775</directoryPermissions>
> </server>
> </servers>
> ------------------------
>
> Then run mvn site:deploy.
> Hope this helps.
>
> ----- Original message -----
> From: "Srinivasan, Nithya (Cognizant)"
> <Ni...@cognizant.com>
> To: users@maven.apache.org
> Date: Fri, 30 Jun 2006 10:49:21 +0530
> Subject: Deploying the site
>
>
> Hi,
>
> Am Nithya, I am a fresh user of maven.I would like to know which url
> should I give in pom.xml when I deploy my site using mvn site-deploy
>
> I would be glad if any of you could help with this issue
>
>
>
> Thanks and regards
>
> Nithya
>
>
>
>
>
>
>
> This e-mail and any files transmitted with it are for the sole use of
> the intended recipient(s) and may contain confidential and privileged
> information.
> If you are not the intended recipient, please contact the sender by
> reply e-mail and destroy all copies of the original message.
> Any unauthorized review, use, disclosure, dissemination, forwarding,
> printing or copying of this email or any action taken in reliance on
> this e-mail is strictly
> prohibited and may be unlawful.
>
> Visit us at http://www.cognizant.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Deploying the site
Posted by Martin Gilday <ma...@imap.cc>.
You will need to add a <site> element under distribution management in
your POM. From what I understand you cannot use FTP to deploy the site,
as Wagon does not support directory uploading, so I am using SCP.
POM.xml------------------
<distributionManagement>
<site>
<id>webdev-site</id>
<url>scp://10.0.0.3/var/www/html/projects/</url>
</site>
</distributionManagement>
-------------------------
You will also need to add your login details to the site in either your
local settings.xml or in a profile
settings.xml-------------
<servers>
<server>
<id>webdev-site</id>
<username>myUsername</username>
<password>myPassword</password>
<filePermissions>664</filePermissions>
<directoryPermissions>775</directoryPermissions>
</server>
</servers>
------------------------
Then run mvn site:deploy.
Hope this helps.
----- Original message -----
From: "Srinivasan, Nithya (Cognizant)"
<Ni...@cognizant.com>
To: users@maven.apache.org
Date: Fri, 30 Jun 2006 10:49:21 +0530
Subject: Deploying the site
Hi,
Am Nithya, I am a fresh user of maven.I would like to know which url
should I give in pom.xml when I deploy my site using mvn site-deploy
I would be glad if any of you could help with this issue
Thanks and regards
Nithya
This e-mail and any files transmitted with it are for the sole use of
the intended recipient(s) and may contain confidential and privileged
information.
If you are not the intended recipient, please contact the sender by
reply e-mail and destroy all copies of the original message.
Any unauthorized review, use, disclosure, dissemination, forwarding,
printing or copying of this email or any action taken in reliance on
this e-mail is strictly
prohibited and may be unlawful.
Visit us at http://www.cognizant.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org