|
From: zalym <moh...@gm...> - 2007-04-24 10:37:07
|
Hi Thorst,
I tried it the way you have given it, but I get the following error.
Error deploying artifact: Authentication failed: Cannot connect. Reason:
invalid server's version string
I have attached my relevant portions of the settings.xml and the pom.xml.
pom.xml
<distributionManagement>
<repository>
<id>libs-releases</id>
<name>Releases</name>
<url>scp://localhost:2906/artifactory/libs-releases@repo</url>
</repository>
<snapshotRepository>
<id>libs-snapshots</id>
<name>Snapshots</name>
<url>scp://localhost:2906/artifactory/libs-snapshots@repo</url>
</snapshotRepository>
</distributionManagement>
Settings.xml
<servers>
<server>
<id>libs-releases</id>
<username>saleem</username>
<password>saleem</password>
</server>
<server>
<id>libs-snapshots</id>
<username>saleem</username>
<password>saleem</password>
</server>
</servers>
artifactory config
<localRepository>
<key>libs-releases</key>
<description>Zafin Repository for Applications
Releases</description>
<handleReleases>true</handleReleases>
<handleSnapshots>false</handleSnapshots>
</localRepository>
<localRepository>
<key>libs-snapshots</key>
<description>Zafin Repository for Applications
Snapshots</description>
<handleReleases>false</handleReleases>
<handleSnapshots>true</handleSnapshots>
</localRepository>
--Saleem
--
View this message in context: http://www.nabble.com/install-or-deploy-tf3446627.html#a10158387
Sent from the Artifactory-Users mailing list archive at Nabble.com.
|