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>
|
<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>
|
||||||
|
|
Loading…
Reference in New Issue