Re: Can't deploy site,Help please.

2007-02-07 Thread Markku Saarela
Hi, You configure authentication in settings.xml. Look here for details: http://maven.apache.org/settings.html#Servers rgds, markku jiangshachina wrote: Hello, I tried to deploy project via scp just now, but authentication failed. How to set the user/password of remote machine in POM file?

Re: Can't deploy site,Help please.

2007-02-07 Thread jiangshachina
Hello, My local machine is Windows 2000, the remote machine is RedHat AS 4.0. I set the following statements in my pom.xml, distributionManagement repository idtest/id urlscp://HostIP/Absolute_Path_To_Repo/url /repository /distributionManagement

Re: Can't deploy site,Help please.

2007-02-07 Thread jiangshachina
Hi, OK, I get it! Thanks very much! a cup of Java, cheers! Sha Jiang Markku Saarela wrote: Hi, You configure authentication in settings.xml. Look here for details: http://maven.apache.org/settings.html#Servers rgds, markku jiangshachina wrote: Hello, I tried to deploy

Re: Can't deploy site,Help please.

2007-02-06 Thread Tim Kettler
Hi, the URL you give in the distribution management section is the HTTP URL of your projects site. To deploy it you need to specify a valid deployment URL. This could be something like: - scp://my.server.com/var/www/htdocs/myproject (for SSH's secure copy) - sftp://my.server.com/deployment/dir

Re: Can't deploy site,Help please.

2007-02-06 Thread sam
Hi, yes,I have solved the issue by used file:///path/to/deployment/dir*, * thanks. 2007/2/6, Tim Kettler [EMAIL PROTECTED]: Hi, the URL you give in the distribution management section is the HTTP URL of your projects site. To deploy it you need to specify a valid deployment URL. This

Re: Can't deploy site,Help please.

2007-02-06 Thread jiangshachina
Hello, I have solved the issue by used file:///path/to/deployment/dir file protocol just deploys to a local path, doesn't it? a cup of Java, cheers! Sha Jiang 秋秋 wrote: Hi, yes,I have solved the issue by used file:///path/to/deployment/dir*, * thanks. 2007/2/6, Tim Kettler

Re: Can't deploy site,Help please.

2007-02-06 Thread Markku Saarela
Hi, No, File protocol can deploy any directory in network where user has access. The first slash character is defining that path is absolute two others are some server delimiters. file:/c:/temp vs. file:///someserver/depl or even file://192.1.1.0/temp/directory rgds, markku jiangshachina

Re: Can't deploy site,Help please.

2007-02-06 Thread Tim Kettler
Am Dienstag, den 06.02.2007, 21:40 -0800 schrieb jiangshachina: Hello, I have solved the issue by used file:///path/to/deployment/dir file protocol just deploys to a local path, doesn't it? Correct. a cup of Java, cheers! Sha Jiang -Tim 秋秋 wrote: Hi, yes,I have solved the

Re: Can't deploy site,Help please.

2007-02-06 Thread Markku Saarela
One slash character was dropped out :-) file:///192.1.1.0/temp/directory - markku Markku Saarela wrote: Hi, No, File protocol can deploy any directory in network where user has access. The first slash character is defining that path is absolute two others are some server delimiters.

Re: Can't deploy site,Help please.

2007-02-06 Thread jiangshachina
Hello, I tried to deploy project via scp just now, but authentication failed. How to set the user/password of remote machine in POM file? a cup of Java, cheers! Sha Jiang Markku Saarela wrote: One slash character was dropped out :-) file:///192.1.1.0/temp/directory - markku Markku