You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2018/11/27 20:23:16 UTC
[maven-javadoc-plugin] 01/01: Explicitly the batchMode to true
This is an automated email from the ASF dual-hosted git repository.
rfscholte pushed a commit to branch MJAVADOC-537
in repository https://gitbox.apache.org/repos/asf/maven-javadoc-plugin.git
commit e769368e3e10ad38dbc2787240b1c826a4c32fd6
Author: Johannes Edmeier <jo...@codecentric.de>
AuthorDate: Mon Sep 10 15:34:51 2018 +0200
Explicitly the batchMode to true
To prevent a warning about a missing input stream we explicitly set
batchMode when invoking other maven commands
fixes MJAVADOC-537
---
src/main/java/org/apache/maven/plugins/javadoc/JavadocUtil.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/main/java/org/apache/maven/plugins/javadoc/JavadocUtil.java b/src/main/java/org/apache/maven/plugins/javadoc/JavadocUtil.java
index fded1d3..22cab64 100644
--- a/src/main/java/org/apache/maven/plugins/javadoc/JavadocUtil.java
+++ b/src/main/java/org/apache/maven/plugins/javadoc/JavadocUtil.java
@@ -874,6 +874,7 @@ public class JavadocUtil
InvocationRequest request = new DefaultInvocationRequest();
request.setBaseDirectory( projectFile.getParentFile() );
request.setPomFile( projectFile );
+ request.setBatchMode( true );
if ( log != null )
{
request.setDebug( log.isDebugEnabled() );