Skip to content

Commit d2a45e7

Browse files
authored
[improve][build] Upgrade errorprone to 2.45.0 version (#25054)
1 parent 0244536 commit d2a45e7

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-5.3.1.jar

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

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

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -359,8 +359,8 @@ flexible messaging model and an intuitive client API.</description>
359359
<jacoco-maven-plugin.version>0.8.13</jacoco-maven-plugin.version>
360360
<spotbugs-maven-plugin.version>4.9.6.0</spotbugs-maven-plugin.version>
361361
<spotbugs.version>4.9.6</spotbugs.version>
362-
<errorprone.version>2.38.0</errorprone.version>
363-
<errorprone-slf4j.version>0.1.28</errorprone-slf4j.version>
362+
<errorprone.version>2.45.0</errorprone.version>
363+
<errorprone-slf4j.version>0.1.29</errorprone-slf4j.version>
364364
<j2objc-annotations.version>1.3</j2objc-annotations.version>
365365
<lightproto-maven-plugin.version>0.4</lightproto-maven-plugin.version>
366366
<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>
27682768
<configuration>
27692769
<fork>true</fork>
27702770
<meminitial>128m</meminitial>
2771-
<maxmem>1024m</maxmem>
2771+
<maxmem>1500m</maxmem>
27722772
<compilerArgs combine.children="append">
27732773
<arg>-XDcompilePolicy=simple</arg>
27742774
<arg>--should-stop=ifError=FLOW</arg>
27752775
<arg>-Xlint:-options</arg>
27762776
<!-- configure Error Prone . Disable some checks that crash the compiler or are annoying -->
27772777
<!-- the following argument must be kept on one line when building with JDK8 -->
2778-
<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>
2778+
<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>
27792779
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</arg>
27802780
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED</arg>
27812781
<arg>-J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED</arg>

0 commit comments

Comments
 (0)