You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by lh...@apache.org on 2025/12/15 07:54:03 UTC
(pulsar) 04/10: [improve][build] Upgrade errorprone to 2.45.0 version (#25054)
This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/pulsar.git
commit 4ce84543541b7b765c0a6a7601f2aa2cee96e3ad
Author: Lari Hotari <lh...@users.noreply.github.com>
AuthorDate: Wed Dec 10 15:43:34 2025 +0200
[improve][build] Upgrade errorprone to 2.45.0 version (#25054)
(cherry picked from commit d2a45e76a8533219416aaf9ed100706126225cfe)
---
distribution/server/src/assemble/LICENSE.bin.txt | 2 +-
distribution/shell/src/assemble/LICENSE.bin.txt | 2 +-
pom.xml | 8 ++++----
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/distribution/server/src/assemble/LICENSE.bin.txt b/distribution/server/src/assemble/LICENSE.bin.txt
index b75cdaf7bfe..58590f1d142 100644
--- a/distribution/server/src/assemble/LICENSE.bin.txt
+++ b/distribution/server/src/assemble/LICENSE.bin.txt
@@ -415,7 +415,7 @@ The Apache Software License, Version 2.0
- org.eclipse.jetty-jetty-alpn-server-9.4.58.v20250814.jar
* SnakeYaml -- org.yaml-snakeyaml-2.0.jar
* RocksDB - org.rocksdb-rocksdbjni-7.9.2.jar
- * Google Error Prone Annotations - com.google.errorprone-error_prone_annotations-2.38.0.jar
+ * Google Error Prone Annotations - com.google.errorprone-error_prone_annotations-2.45.0.jar
* Apache Thrift - org.apache.thrift-libthrift-0.14.2.jar
* OkHttp3
- com.squareup.okhttp3-logging-interceptor-4.9.3.jar
diff --git a/distribution/shell/src/assemble/LICENSE.bin.txt b/distribution/shell/src/assemble/LICENSE.bin.txt
index b8851f1dc17..e12452ccb5d 100644
--- a/distribution/shell/src/assemble/LICENSE.bin.txt
+++ b/distribution/shell/src/assemble/LICENSE.bin.txt
@@ -411,7 +411,7 @@ The Apache Software License, Version 2.0
- websocket-client-9.4.58.v20250814.jar
- websocket-common-9.4.58.v20250814.jar
* SnakeYaml -- snakeyaml-2.0.jar
- * Google Error Prone Annotations - error_prone_annotations-2.38.0.jar
+ * Google Error Prone Annotations - error_prone_annotations-2.45.0.jar
* Javassist -- javassist-3.25.0-GA.jar
* Apache Avro
- avro-1.11.4.jar
diff --git a/pom.xml b/pom.xml
index 6cf304c09ca..2b80eaf0b6b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -356,8 +356,8 @@ flexible messaging model and an intuitive client API.</description>
<jacoco-maven-plugin.version>0.8.13</jacoco-maven-plugin.version>
<spotbugs-maven-plugin.version>4.9.6.0</spotbugs-maven-plugin.version>
<spotbugs.version>4.9.6</spotbugs.version>
- <errorprone.version>2.38.0</errorprone.version>
- <errorprone-slf4j.version>0.1.28</errorprone-slf4j.version>
+ <errorprone.version>2.45.0</errorprone.version>
+ <errorprone-slf4j.version>0.1.29</errorprone-slf4j.version>
<j2objc-annotations.version>1.3</j2objc-annotations.version>
<lightproto-maven-plugin.version>0.4</lightproto-maven-plugin.version>
<build-helper-maven-plugin.version>3.6.0</build-helper-maven-plugin.version>
@@ -2778,14 +2778,14 @@ flexible messaging model and an intuitive client API.</description>
<configuration>
<fork>true</fork>
<meminitial>128m</meminitial>
- <maxmem>1024m</maxmem>
+ <maxmem>1500m</maxmem>
<compilerArgs combine.children="append">
<arg>-XDcompilePolicy=simple</arg>
<arg>--should-stop=ifError=FLOW</arg>
<arg>-Xlint:-options</arg>
<!-- configure Error Prone . Disable some checks that crash the compiler or are annoying -->
<!-- the following argument must be kept on one line when building with JDK8 -->
- <arg>-Xplugin:ErrorProne -XepExcludedPaths:.*/target/generated-sources/.* -XepDisableWarningsInGeneratedCode -Xep:UnusedVariable:OFF -Xep:FallThrough:OFF -Xep:OverrideThrowableToString:OFF -Xep:UnusedMethod:OFF -Xep:StringSplitter:OFF -Xep:CanonicalDuration:OFF -Xep:Slf4jDoNotLogMessageOfExceptionExplicitly:WARN -Xep:Slf4jSignOnlyFormat:WARN -Xep:Slf4jFormatShouldBeConst:WARN -Xep:Slf4jLoggerShouldBePrivate:WARN -Xep:Slf4jLoggerShouldBeNonStatic:OFF</arg>
+ <arg>-Xplugin:ErrorProne -XepExcludedPaths:.*/target/generated-sources/.* -XepDisableWarningsInGeneratedCode -Xep:UnusedVariable:OFF -Xep:FallThrough:OFF -Xep:OverrideThrowableToString:OFF -Xep:UnusedMethod:OFF -Xep:StringSplitter:OFF -Xep:CanonicalDuration:OFF -Xep:Slf4jDoNotLogMessageOfExceptionExplicitly:WARN -Xep:Slf4jSignOnlyFormat:WARN -Xep:Slf4jFormatShouldBeConst:WARN -Xep:Slf4jLoggerShouldBePrivate:WARN -Xep:Slf4jLoggerShouldBeNonStatic:OFF -Xep:StringConcatToTex [...]
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</arg>
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED</arg>
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED</arg>