Ignore DepAnn Error Prone ERROR as WARN

DepAnn fail as ERROR for generated sources that implement deprecated methods,
but don't annotate with @Deprecated.

Also, see: http://errorprone.info/bugpattern/DepAnn
This commit is contained in:
Thiago Kronig 2015-05-05 15:15:09 -03:00 committed by Clebert Suconic
parent 592f28f03f
commit d99991dd3a
1 changed files with 4 additions and 0 deletions

View File

@ -704,6 +704,10 @@
<configuration>
<compilerId>javac-with-errorprone</compilerId>
<forceJavacCompilerUse>true</forceJavacCompilerUse>
<compilerArgs>
<!-- DepAnn fail for generated sources. Changing to WARN instead -->
<arg>-Xep:DepAnn:WARN</arg>
</compilerArgs>
</configuration>
<dependencies>
<dependency>