During the artifacts deploy I use scp to copy it to my repository.
Is there a way to skip the authenticity of the repository's host?
Tnx,
Luca
This is the ant task I use:
<target name="test-deploy" depends="initTaskDefs" >
<artifact:install-provider artifactId="wagon-ssh"
version="1.0-alpha-5"/>
<artifact:deploy file="jar/${jar.name}">
<remoteRepository
url="scp://myhost.myhost.it/sw/alive/instance/jetty/docroot/repository">
<authentication username="xxxx" />
</remoteRepository>
<pom refid="maven.project"/>
</artifact:deploy>
</target>
Thisi is the response:
[artifact:install-provider] Installing provider:
org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
[artifact:deploy] Deploying to
scp://192.168.25.217/sw/alive/instance/jetty/docroot/repository
[artifact:deploy] The authenticity of host '192.168.25.217' can't be
established.
[artifact:deploy] RSA key fingerprint is
4e:be:74:ba:77:79:a0:70:4e:a4:ec:55:20:02:02:54.
[artifact:deploy] Are you sure you want to continue connecting?
(yes/no):