maven-invoker-plugin

How to solve Maven Invoker API warning: Maven will be executed in interactive mode, but no input stream has been configured

点点圈 提交于 2021-02-08 16:34:34
问题 I have a plugin which invokes Maven runs using MavenInvokerAPI. Everything is working fine, but I do have this warning in my Maven console output. [WARN] Maven will be executed in interactive mode, but no input stream has been configured for this MavenInvoker instance. I do not need interaction in my build process, and based on Javadoc of setInputStream() , I set my inputStream to null , but again I have this warning: /** * Sets the input stream used to provide input for the invoked Maven