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:15 UTC

[maven-javadoc-plugin] branch MJAVADOC-537 created (now e769368)

This is an automated email from the ASF dual-hosted git repository.

rfscholte pushed a change to branch MJAVADOC-537
in repository https://gitbox.apache.org/repos/asf/maven-javadoc-plugin.git.


      at e769368  Explicitly the batchMode to true

This branch includes the following new commits:

     new e769368  Explicitly the batchMode to true

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-javadoc-plugin] 01/01: Explicitly the batchMode to true

Posted by rf...@apache.org.
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() );