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:
parent
592f28f03f
commit
d99991dd3a
4
pom.xml
4
pom.xml
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue