mavenerrorprone

How do i add an errorprone plugin like Nullaway to a Maven build?


Nullaway is a tool to help prevent NPEs, implemented as an errorprone plugin. Their documentation assumes a gradle build configuration.

How do i make it work with Maven?


Solution

  • We have an example in the NullAway wiki: https://github.com/uber/NullAway/wiki/Configuration#maven