This is an automated email from the ASF dual-hosted git repository.
technoboy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new d2a45e76a85 [improve][build] Upgrade errorprone to 2.45.0 version
(#25054)
d2a45e76a85 is described below
commit d2a45e76a8533219416aaf9ed100706126225cfe
Author: Lari Hotari <[email protected]>
AuthorDate: Wed Dec 10 15:43:34 2025 +0200
[improve][build] Upgrade errorprone to 2.45.0 version (#25054)
---
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 3950efbf886..13033c2a1d3 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-5.3.1.jar
diff --git a/distribution/shell/src/assemble/LICENSE.bin.txt
b/distribution/shell/src/assemble/LICENSE.bin.txt
index 5cb2a9f5e5c..49ec2ca19de 100644
--- a/distribution/shell/src/assemble/LICENSE.bin.txt
+++ b/distribution/shell/src/assemble/LICENSE.bin.txt
@@ -412,7 +412,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.12.0.jar
diff --git a/pom.xml b/pom.xml
index 9394d73db50..60b6ebba9fc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -359,8 +359,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>
@@ -2768,14 +2768,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>