You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2020/12/02 15:40:21 UTC
[hbase] branch branch-2 updated: HBASE-25342 Upgrade error prone to
2.4.0 (#2725)
This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2 by this push:
new 90e96d1 HBASE-25342 Upgrade error prone to 2.4.0 (#2725)
90e96d1 is described below
commit 90e96d1a6e85847797e7275b92404787a1f6916a
Author: Duo Zhang <zh...@apache.org>
AuthorDate: Wed Dec 2 22:23:03 2020 +0800
HBASE-25342 Upgrade error prone to 2.4.0 (#2725)
Have to disable MutablePublicArray because of a bug in error prone
https://github.com/google/error-prone/issues/1645
Signed-off-by: stack <st...@apache.org>
---
hbase-build-configuration/pom.xml | 2 +-
pom.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hbase-build-configuration/pom.xml b/hbase-build-configuration/pom.xml
index edd2648..4791c44 100644
--- a/hbase-build-configuration/pom.xml
+++ b/hbase-build-configuration/pom.xml
@@ -109,7 +109,7 @@
<compilerArgs>
<arg>-XDcompilePolicy=simple</arg>
<!-- All -Xep need to be on single line see: https://github.com/google/error-prone/pull/1115 -->
- <arg>-Xplugin:ErrorProne -XepDisableWarningsInGeneratedCode -Xep:FallThrough:OFF -Xep:ClassNewInstance:ERROR -Xep:MissingDefault:ERROR</arg>
+ <arg>-Xplugin:ErrorProne -XepDisableWarningsInGeneratedCode -Xep:FallThrough:OFF -Xep:MutablePublicArray:OFF -Xep:ClassNewInstance:ERROR -Xep:MissingDefault:ERROR</arg>
<!-- Required when compiling with JDK 8 -->
<arg>-J-Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/${javac.version}/javac-${javac.version}.jar</arg>
</compilerArgs>
diff --git a/pom.xml b/pom.xml
index e7a4830..0ab98f8 100755
--- a/pom.xml
+++ b/pom.xml
@@ -1471,7 +1471,7 @@
-->
<checkstyle.version>8.28</checkstyle.version>
<exec.maven.version>1.6.0</exec.maven.version>
- <error-prone.version>2.3.4</error-prone.version>
+ <error-prone.version>2.4.0</error-prone.version>
<jamon.plugin.version>2.4.2</jamon.plugin.version>
<lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
<maven.antrun.version>1.8</maven.antrun.version>