|
From: Thorsten H. <th...@gm...> - 2007-04-24 10:57:02
|
Hi Saleem, > 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> The URLs are wrong: You're accessing your repository via SSH instead of HTTP. Replace "scp" by "http", and it should work (hopefully ;-)) HTH Thorsten |