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?
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
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
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
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
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
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
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
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.
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
10 matches
Mail list logo