summaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorMark Donszelmann <Mark.Donszelmann@gmail.com>2009-10-30 10:19:13 +0100
committerMark Donszelmann <Mark.Donszelmann@gmail.com>2009-10-30 10:19:13 +0100
commitb38b49ae35e148f9dab5d26251726c8d007b53bd (patch)
treec97c45b55979308fd0eac8aa6569d9045ee05317 /src/main/java
parente621be5ab31eac1db15fcec24ab55202d793d51f (diff)
downloadmaven-nar-plugin-b38b49ae35e148f9dab5d26251726c8d007b53bd.tar.gz
maven-nar-plugin-b38b49ae35e148f9dab5d26251726c8d007b53bd.tar.bz2
maven-nar-plugin-b38b49ae35e148f9dab5d26251726c8d007b53bd.tar.xz
maven-nar-plugin-b38b49ae35e148f9dab5d26251726c8d007b53bd.zip
Better fix for NAR-1 and runCommand
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/apache/maven/plugin/nar/NarUtil.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/apache/maven/plugin/nar/NarUtil.java b/src/main/java/org/apache/maven/plugin/nar/NarUtil.java
index b663d95..c7edbc7 100644
--- a/src/main/java/org/apache/maven/plugin/nar/NarUtil.java
+++ b/src/main/java/org/apache/maven/plugin/nar/NarUtil.java
@@ -479,6 +479,8 @@ public class NarUtil
outputGobbler.start();
process.waitFor();
dbg.println( "ExitValue: " + process.exitValue() );
+ errorGobbler.join( 5000 );
+ outputGobbler.join( 5000 );
return process.exitValue();
}
catch ( Throwable e )