summaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
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 )