[
https://issues.apache.org/jira/browse/WAGON-496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dennis Lundberg closed WAGON-496.
---------------------------------
Resolution: Fixed
Fix Version/s: 3.0.1
Fixed in
https://git-wip-us.apache.org/repos/asf?p=maven-wagon.git&a=commit&h=d0f28bf66a41a1cb60a43f909ba4acc5add90522
> site-deploy using wagon-ssh broke in 2.12 because of the fix for WAGON-465
> --------------------------------------------------------------------------
>
> Key: WAGON-496
> URL: https://issues.apache.org/jira/browse/WAGON-496
> Project: Maven Wagon
> Issue Type: Bug
> Components: wagon-ssh
> Affects Versions: 2.12, 3.0.0
> Reporter: Dennis Lundberg
> Assignee: Dennis Lundberg
> Priority: Major
> Fix For: 3.0.1
>
>
> The fix for WAGON-465 unfortunately broke backwards compatibility with
> version 2.10 when using maven-site-plugin together with wagon-ssh. The first
> commit had correct code for backwards compatibility, but that commit was
> reverted. The next commit did not include the correct code for backwards
> compatibility.
> When using wagon-ssh with maven-site-plugin the call to
> AbstractJschWagon.executeCommand() is done with the one-parameter version of
> the method. That method sets the new parameter ignoreNoneZeroExitCode to
> false, which results in the exit code being checked. Before WAGON-465 the
> exit code was never checked, it was only written to the log if there was an
> error message.
> For us the site-deploy succeeds with wagon 2.10 but fails with 2.12 and
> 3.0.0. It seems that the last chmod command returns 1 for reasons yet
> unknown, but it outputs no message to stderr.
> I will try to investigate why chmod returns 1 and I'll create a patch that
> restores the compatibility with version 2.10.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)