risdenk commented on issue #11910: URL: https://github.com/apache/lucene/issues/11910#issuecomment-1311964746
> I wish i knew a way to make error-prone show all the failures (like javac would). Instead the plugin fails on the first error and I have to fix that one and run it again (slowly) to see the next. Its brutally painful. So I'm 95% sure this is possible. There are two parts to it. * Make errorprone only report as warnings * don't fail the gradle build on warnings I was able to get the first part to work by adding `-XepAllErrorsAsWarnings` in `gradle/validation/error-prone.gradle`. I gave up trying to get gradle build to stop failing on warnings. I'm sure there is a way to do it. PS FWIW I enabled a whole bunch of errorprone rules in Solr recently: * https://github.com/apache/solr/pull/1037 * https://github.com/apache/solr/pull/1039 * https://github.com/apache/solr/pull/1116 * https://github.com/apache/solr/pull/1128 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org