Search code examples
javamavenmaven-invoker-plugin

InvocationRequest.setInteractive() does not exist in maven-invoker-3.0.1


InvocationRequest.setInteractive() is removed in newer versions of maven invoker API, and it is not available after version 2.1.1 is there any alternative for that? how we can disable interactive mode now?


Solution

  • Take a look into the JavaDoc: https://maven.apache.org/shared/maven-invoker/apidocs/org/apache/maven/shared/invoker/InvocationRequest.html

    See setBatchMode ... also on the main page might be hint https://maven.apache.org/shared/maven-invoker/