mirror of https://github.com/apache/maven.git
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:
parent
7826a7b3ca
commit
92fb6285eb
|
@ -6,7 +6,7 @@
|
||||||
<version>2.0-alpha-3</version>
|
<version>2.0-alpha-3</version>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>maven-site-plugin</artifactId>
|
<artifactId>maven-site-plugin</artifactId>
|
||||||
<version>2.0-alpha-2</version>
|
<version>2.0-alpha-3-SNAPSHOT</version>
|
||||||
<packaging>maven-plugin</packaging>
|
<packaging>maven-plugin</packaging>
|
||||||
<name>Maven Site plugin</name>
|
<name>Maven Site plugin</name>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
|
@ -139,9 +139,11 @@ public class ScpSiteDeployMojo
|
||||||
|
|
||||||
commandExecutor.put( zipFile, zipFile.getName() );
|
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( cmd );
|
||||||
|
|
||||||
|
commandExecutor.executeCommand( "rm -f " + basedir + "/" + zipFile.getName() );
|
||||||
}
|
}
|
||||||
catch ( Exception e )
|
catch ( Exception e )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue