You can also use "file:". On 6/30/06, Martin Gilday <[EMAIL PROTECTED]> 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)" <[EMAIL PROTECTED]> To: [email protected] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
