In my Java maven project, when I try compiling the project in IntelliJ , it gives the error
Error: java warnings found and -Werror specified
I have found that -Werrors are caused due to warnings being shown as errors. Is there a way to disable this?