maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tang, Ray" <ray.t...@bankofamerica.com>
Subject maven sftp issues.
Date Thu, 22 Jan 2009 21:12:28 GMT
Hi:
 
I am recently required to change our current ant build process to use
new host, which has only "sftp server" turned on and traditional "ftp
server" turned off.  
 
Can someone please shed some light on how I can do a maven-sftp call?
 
Many Thanks.
 
Ray
 
 
Here is the code I try to do wth sftp.
    <target name="distRemoteBinaryRepository" if="deploy.official">
      <echo message="Deploying to remote
repo..sftp://nbs5u2j:2xadv103607@chiadvsdap62/datlib/advantage/sig/repos
itory/snapshot" level="info"/>
      <artifact:localRepository id="repo.local.id"
path="${maven.local.repo.dir}"/>
        <artifact:deploy file="${dist.artifact.file}"
settingsFile="${dist.repo.settings}" uniqueVersion="false">
         <pom refid="dist.pom.file.id"/>
         <localRepository refid="repo.local.id"/>
         <remoteRepository url="${adv.repo.remote.dist.url}">
            <authentication username="${adv.repo.remote.user}"
password="${adv.repo.remote.password}"/>
         </remoteRepository>
      </artifact:deploy>
   </target>
 
 
 
Here is the log as the build stuck on deploying to remote binrepo server
and kept rolling...

	deploy:
	     [echo] Deploying foundation to remote
sftp://nbs5u2j:2xadv103607@chiadvsdap62/datlib/advantage/sig/repository/
snapshot...
	Warning: Reference repo.local.id has not been set at runtime,
but was found during
	build file parsing, attempting to resolve. Future versions of
Ant may support
	 referencing ids defined in non-executed targets.
	[artifact:deploy] Deploying to
sftp://chiadvsdap62/datlib/advantage/sig/repository/snapshot
	[artifact:deploy] The authenticity of host 'chiadvsdap62' can't
be established.
	[artifact:deploy] DSA key fingerprint is
6e:18:0c:a0:07:70:94:18:1e:af:10:e5:5a:35:94:96.
	[artifact:deploy] Are you sure you want to continue connecting?
(yes/no): 
	[artifact:deploy] The authenticity of host 'chiadvsdap62' can't
be established.
	[artifact:deploy] DSA key fingerprint is
6e:18:0c:a0:07:70:94:18:1e:af:10:e5:5a:35:94:96.
	[artifact:deploy] Are you sure you want to continue connecting?
(yes/no): 
	[artifact:deploy] The authenticity of host 'chiadvsdap62' can't
be established.
	[artifact:deploy] DSA key fingerprint is
6e:18:0c:a0:07:70:94:18:1e:af:10:e5:5a:35:94:96.
	[artifact:deploy] Are you sure you want to continue connecting?
(yes/no): 
	[artifact:deploy] The authenticity of host 'chiadvsdap62' can't
be established.
	


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message