true is required. For reasons unknown, Maven by default actively suppresses warnings with the -nowarn flag, so the -Xlint and -Werror flags would be ignored.
showDeprecation doesn't need to be enabled because -Xlint:all already emits deprecation warnings.
Experimentation shows that fork doesn't need to be enabled, even though the
documentation says otherwise.