Maven - Auto answer yes to all user input

I currently have a grails / maven project. Now I am updating my grails project to 1.2.1. The problem is that the update asks for user input, and if my CI server tries to build it, it will stop asking the user if he wants to update some plugins.

Is there any way to tell maven to answer "y" to all user input?

+3
source share
2 answers

I found out that grails upgradetarget has a parameter '--non-interactivethat disables user input. It is just a matter of connecting with my CI server.

+2
source

--batch-mode. "" ... .

UNIX/LINUX yes | mvn <options> ...

+4

Source: https://habr.com/ru/post/1731850/


All Articles