Skip to content

Commit 6b94167

Browse files
lhotariganesh-ctds
authored andcommitted
[improve][build] Upgrade errorprone to 2.45.0 version (apache#25054)
(cherry picked from commit d2a45e7) (cherry picked from commit 4ce8454)
1 parent c8a45b9 commit 6b94167

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

distribution/server/src/assemble/LICENSE.bin.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ The Apache Software License, Version 2.0
415415
- org.eclipse.jetty-jetty-alpn-server-9.4.58.v20250814.jar
416416
* SnakeYaml -- org.yaml-snakeyaml-2.0.jar
417417
* RocksDB - org.rocksdb-rocksdbjni-7.9.2.jar
418-
* Google Error Prone Annotations - com.google.errorprone-error_prone_annotations-2.38.0.jar
418+
* Google Error Prone Annotations - com.google.errorprone-error_prone_annotations-2.45.0.jar
419419
* Apache Thrift - org.apache.thrift-libthrift-0.14.2.jar
420420
* OkHttp3
421421
- com.squareup.okhttp3-logging-interceptor-4.9.3.jar

distribution/shell/src/assemble/LICENSE.bin.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ The Apache Software License, Version 2.0
408408
- websocket-client-9.4.58.v20250814.jar
409409
- websocket-common-9.4.58.v20250814.jar
410410
* SnakeYaml -- snakeyaml-2.0.jar
411-
* Google Error Prone Annotations - error_prone_annotations-2.38.0.jar
411+
* Google Error Prone Annotations - error_prone_annotations-2.45.0.jar
412412
* Javassist -- javassist-3.25.0-GA.jar
413413
* Apache Avro
414414
- avro-1.11.4.jar

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,8 @@ flexible messaging model and an intuitive client API.</description>
357357
<jacoco-maven-plugin.version>0.8.13</jacoco-maven-plugin.version>
358358
<spotbugs-maven-plugin.version>4.9.6.0</spotbugs-maven-plugin.version>
359359
<spotbugs.version>4.9.6</spotbugs.version>
360-
<errorprone.version>2.38.0</errorprone.version>
361-
<errorprone-slf4j.version>0.1.28</errorprone-slf4j.version>
360+
<errorprone.version>2.45.0</errorprone.version>
361+
<errorprone-slf4j.version>0.1.29</errorprone-slf4j.version>
362362
<j2objc-annotations.version>1.3</j2objc-annotations.version>
363363
<lightproto-maven-plugin.version>0.4</lightproto-maven-plugin.version>
364364
<build-helper-maven-plugin.version>3.6.0</build-helper-maven-plugin.version>
@@ -2780,14 +2780,14 @@ flexible messaging model and an intuitive client API.</description>
27802780
<configuration>
27812781
<fork>true</fork>
27822782
<meminitial>128m</meminitial>
2783-
<maxmem>1024m</maxmem>
2783+
<maxmem>1500m</maxmem>
27842784
<compilerArgs combine.children="append">
27852785
<arg>-XDcompilePolicy=simple</arg>
27862786
<arg>--should-stop=ifError=FLOW</arg>
27872787
<arg>-Xlint:-options</arg>
27882788
<!-- configure Error Prone . Disable some checks that crash the compiler or are annoying -->
27892789
<!-- the following argument must be kept on one line when building with JDK8 -->
2790-
<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>
2790+
<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:StringConcatToTextBlock:OFF -Xep:InconsistentCapitalization:OFF</arg>
27912791
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</arg>
27922792
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED</arg>
27932793
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED</arg>

0 commit comments

Comments
 (0)