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> <configuration>
<compilerId>javac-with-errorprone</compilerId> <compilerId>javac-with-errorprone</compilerId>
<forceJavacCompilerUse>true</forceJavacCompilerUse> <forceJavacCompilerUse>true</forceJavacCompilerUse>
<compilerArgs>
<!-- DepAnn fail for generated sources. Changing to WARN instead -->
<arg>-Xep:DepAnn:WARN</arg>
</compilerArgs>
</configuration> </configuration>
<dependencies> <dependencies>
<dependency> <dependency>