Repository: maven-wagon Updated Branches: refs/heads/master b1f613116 -> d0f28bf66
[WAGON-496] site-deploy using wagon-ssh broke in 2.12 because of the fix for WAGON-465. - Restore backwards compatibility by making sure that the new check for exit code is not activated unless the caller is using the new API. Project: http://git-wip-us.apache.org/repos/asf/maven-wagon/repo Commit: http://git-wip-us.apache.org/repos/asf/maven-wagon/commit/d0f28bf6 Tree: http://git-wip-us.apache.org/repos/asf/maven-wagon/tree/d0f28bf6 Diff: http://git-wip-us.apache.org/repos/asf/maven-wagon/diff/d0f28bf6 Branch: refs/heads/master Commit: d0f28bf66a41a1cb60a43f909ba4acc5add90522 Parents: b1f6131 Author: Dennis Lundberg <denn...@apache.org> Authored: Wed Feb 14 10:44:27 2018 +0100 Committer: Dennis Lundberg <denn...@apache.org> Committed: Wed Feb 14 10:44:27 2018 +0100 ---------------------------------------------------------------------- .../maven/wagon/providers/ssh/jsch/AbstractJschWagon.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven-wagon/blob/d0f28bf6/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/jsch/AbstractJschWagon.java ---------------------------------------------------------------------- diff --git a/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/jsch/AbstractJschWagon.java b/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/jsch/AbstractJschWagon.java index 0b60cbb..c645eda 100644 --- a/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/jsch/AbstractJschWagon.java +++ b/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/jsch/AbstractJschWagon.java @@ -422,7 +422,8 @@ public abstract class AbstractJschWagon { fireTransferDebug( "Executing command: " + command ); - executeCommand( command, false ); + //backward compatible with wagon 2.10 + executeCommand( command, false, true ); } public Streams executeCommand( String command, boolean ignoreFailures ) @@ -431,7 +432,7 @@ public abstract class AbstractJschWagon fireTransferDebug( "Executing command: " + command ); //backward compatible with wagon 2.10 - return executeCommand( command, ignoreFailures, ignoreFailures ); + return executeCommand( command, ignoreFailures, true ); } public InteractiveUserInfo getInteractiveUserInfo()