diff options
author | Mark Donszelmann <Mark.Donszelmann@gmail.com> | 2009-10-30 10:19:13 +0100 |
---|---|---|
committer | Mark Donszelmann <Mark.Donszelmann@gmail.com> | 2009-10-30 10:19:13 +0100 |
commit | b38b49ae35e148f9dab5d26251726c8d007b53bd (patch) | |
tree | c97c45b55979308fd0eac8aa6569d9045ee05317 | |
parent | e621be5ab31eac1db15fcec24ab55202d793d51f (diff) | |
download | maven-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
-rw-r--r-- | src/main/java/org/apache/maven/plugin/nar/NarUtil.java | 2 |
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 ) |