maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MJAVADOC-537) warning when javadoc is invoked for dependency
Date Tue, 27 Nov 2018 21:08:00 GMT

    [ https://issues.apache.org/jira/browse/MJAVADOC-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16701038#comment-16701038
] 

ASF GitHub Bot commented on MJAVADOC-537:
-----------------------------------------

rfscholte closed pull request #7: [MJAVADOC-537] Explicitly the batchMode to true
URL: https://github.com/apache/maven-javadoc-plugin/pull/7
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

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 da72cac..ea7e6fb 100644
--- a/src/main/java/org/apache/maven/plugins/javadoc/JavadocUtil.java
+++ b/src/main/java/org/apache/maven/plugins/javadoc/JavadocUtil.java
@@ -920,6 +920,7 @@ protected static void invokeMaven( Log log, File localRepositoryDir, File
projec
         InvocationRequest request = new DefaultInvocationRequest();
         request.setBaseDirectory( projectFile.getParentFile() );
         request.setPomFile( projectFile );
+        request.setBatchMode( true );
         if ( log != null )
         {
             request.setDebug( log.isDebugEnabled() );


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> warning when javadoc is invoked for dependency
> ----------------------------------------------
>
>                 Key: MJAVADOC-537
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-537
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>          Components: javadoc
>    Affects Versions: 3.0.1
>            Reporter: Johannes Edmeier
>            Priority: Minor
>
> When the javadoc goal is to be called for a dependency a warning from the maven invocation
is emitted:
> ```
> [WARN] Maven will be executed in interactive mode, but no input stream has been configured
for this MavenInvoker instance.
> ```



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message