diff --git a/artifact/src/main/org/apache/maven/deploy/deployers/ScpDeployer.java b/artifact/src/main/org/apache/maven/deploy/deployers/ScpDeployer.java index f5f87d65..6b1be09d 100644 --- a/artifact/src/main/org/apache/maven/deploy/deployers/ScpDeployer.java +++ b/artifact/src/main/org/apache/maven/deploy/deployers/ScpDeployer.java @@ -42,7 +42,7 @@ import java.util.List; * An SSH2/SCP deployer * * @author Michal Maczka - * @version $Revision: 1.11 $ $Date: 2004/06/25 13:50:05 $ + * @version $Revision: 1.12 $ $Date: 2004/07/06 14:29:30 $ */ public class ScpDeployer extends GenericSshDeployer { @@ -196,7 +196,7 @@ public class ScpDeployer extends GenericSshDeployer doCopy(session, request); String unzipCmd = - "unzip -u " + "unzip -uo " + getRepositoryInfo().getBasedir() + "/" + request.getDestFile() diff --git a/artifact/xdocs/changes.xml b/artifact/xdocs/changes.xml index 08a2af0b..3fdfe004 100644 --- a/artifact/xdocs/changes.xml +++ b/artifact/xdocs/changes.xml @@ -26,6 +26,7 @@ + Add overwrite option to unzip - necessary to run in batch mode Add an scp executable deployer Deprecated the artifact:load hook goal Allow use of distributionSite POM attribute in artifact method