maven-issues mailing list archives

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


ASF GitHub Bot commented on MJAVADOC-537:

rfscholte closed pull request #7: [MJAVADOC-537] Explicitly the batchMode to true

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/ b/src/main/java/org/apache/maven/plugins/javadoc/
index da72cac..ea7e6fb 100644
--- a/src/main/java/org/apache/maven/plugins/javadoc/
+++ b/src/main/java/org/apache/maven/plugins/javadoc/
@@ -920,6 +920,7 @@ protected static void invokeMaven( Log log, File localRepositoryDir, File
         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:

> warning when javadoc is invoked for dependency
> ----------------------------------------------
>                 Key: MJAVADOC-537
>                 URL:
>             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

View raw message