put the site mojo back how it was. deployment was silently failing

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@201544 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-06-24 02:04:18 +00:00
parent 7826a7b3ca
commit 92fb6285eb
2 changed files with 4 additions and 2 deletions

View File

@ -6,7 +6,7 @@
<version>2.0-alpha-3</version>
</parent>
<artifactId>maven-site-plugin</artifactId>
<version>2.0-alpha-2</version>
<version>2.0-alpha-3-SNAPSHOT</version>
<packaging>maven-plugin</packaging>
<name>Maven Site plugin</name>
<dependencies>

View File

@ -139,9 +139,11 @@ public class ScpSiteDeployMojo
commandExecutor.put( zipFile, zipFile.getName() );
cmd = " cd " + basedir + ";" + unzipCommand + " " + zipFile.getName() + "; rm " + basedir + "/" + zipFile.getName();
cmd = " cd " + basedir + ";" + unzipCommand + " " + zipFile.getName();
commandExecutor.executeCommand( cmd );
commandExecutor.executeCommand( "rm -f " + basedir + "/" + zipFile.getName() );
}
catch ( Exception e )
{