From b554c68dd75f3e8585aba60d7ab3780c1be5a050 Mon Sep 17 00:00:00 2001 From: brett Date: Tue, 6 Jul 2004 14:29:30 +0000 Subject: [PATCH] PR: MPARTIFACT-23 add -o option to unzip git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115675 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/org/apache/maven/deploy/deployers/ScpDeployer.java | 4 ++-- artifact/xdocs/changes.xml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) 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