MPARTIFACT-71 : Fix the "reject HostKey" error for SFtp protocol.
The code should be refactored ... git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@432062 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
af844e7241
commit
58bfbb114f
@ -433,6 +433,7 @@ public class DefaultArtifactDeployer
|
||||
RepositoryBuilder.configureFtpWagon(project, id, (FtpWagon) wagon);
|
||||
} else if (protocol.equals("sftp")) {
|
||||
wagon = new SftpWagon();
|
||||
RepositoryBuilder.configureSftpWagon(project, id, (SftpWagon) wagon);
|
||||
} else if (protocol.equals("file")) {
|
||||
wagon = new FileWagon();
|
||||
} else if (protocol.equals("scp")) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user