From 872b4e0899cac4bd9a74a8ce8f7771b45ff63df4 Mon Sep 17 00:00:00 2001 From: Fabio Di Fabio Date: Fri, 18 Oct 2024 15:11:29 +0200 Subject: [PATCH] Update Java dependencies Signed-off-by: Fabio Di Fabio --- CHANGELOG.md | 1 + build.gradle | 1 - gradle/verification-metadata.xml | 2142 +++++++++-------- .../nat/kubernetes/KubernetesNatManager.java | 2 +- platform/build.gradle | 53 +- 5 files changed, 1127 insertions(+), 1072 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2234201da3f..f862ed866fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ ### Additions and Improvements - Fine tune already seen txs tracker when a tx is removed from the pool [#7755](https://github.com/hyperledger/besu/pull/7755) - Create and publish Besu BOM (Bill of Materials) [#7615](https://github.com/hyperledger/besu/pull/7615) +- Update Java dependencies [#7786](https://github.com/hyperledger/besu/pull/7786) ### Bug fixes diff --git a/build.gradle b/build.gradle index de8f3e23d10..b3a29ac6561 100644 --- a/build.gradle +++ b/build.gradle @@ -24,7 +24,6 @@ import java.util.regex.Pattern plugins { id 'com.diffplug.spotless' version '6.25.0' - id 'com.github.ben-manes.versions' version '0.51.0' id 'com.github.jk1.dependency-license-report' version '2.9' id 'com.jfrog.artifactory' version '5.2.5' id 'me.champeau.jmh' version '0.7.2' apply false diff --git a/gradle/verification-metadata.xml b/gradle/verification-metadata.xml index 507b031b583..0c72f914162 100644 --- a/gradle/verification-metadata.xml +++ b/gradle/verification-metadata.xml @@ -17,6 +17,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -114,6 +143,11 @@ + + + + + @@ -139,9 +173,9 @@ - - - + + + @@ -174,6 +208,11 @@ + + + + + @@ -194,6 +233,11 @@ + + + + + @@ -223,12 +267,12 @@ - - - + + + - - + + @@ -260,12 +304,12 @@ - - - + + + - - + + @@ -302,12 +346,25 @@ - - - + + + - - + + + + + + + + + + + + + + + @@ -315,15 +372,25 @@ - - - + + + + + + - - + + - - + + + + + + + + + @@ -331,20 +398,20 @@ - - - + + + - - - + + + - - + + - - + + @@ -352,15 +419,15 @@ - - - + + + - - + + - - + + @@ -368,17 +435,9 @@ - - - - - - - - - - - + + + @@ -392,11 +451,6 @@ - - - - - @@ -618,17 +672,17 @@ - - - + + + - - + + - - - + + + @@ -639,6 +693,14 @@ + + + + + + + + @@ -736,6 +798,14 @@ + + + + + + + + @@ -752,6 +822,11 @@ + + + + + @@ -783,14 +858,6 @@ - - - - - - - - @@ -804,11 +871,6 @@ - - - - - @@ -1013,15 +1075,15 @@ - - - + + + - - + + - - + + @@ -1049,9 +1111,9 @@ - - - + + + @@ -1109,26 +1171,6 @@ - - - - - - - - - - - - - - - - - - - - @@ -1139,43 +1181,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1192,26 +1197,6 @@ - - - - - - - - - - - - - - - - - - - - @@ -1246,12 +1231,12 @@ - - - + + + - - + + @@ -1302,6 +1287,14 @@ + + + + + + + + @@ -1310,6 +1303,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1350,33 +1375,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1420,11 +1418,6 @@ - - - - - @@ -1433,11 +1426,6 @@ - - - - - @@ -1538,6 +1526,14 @@ + + + + + + + + @@ -1546,6 +1542,11 @@ + + + + + @@ -1591,12 +1592,12 @@ - - - + + + - - + + @@ -1628,9 +1629,15 @@ - - - + + + + + + + + + @@ -1673,230 +1680,230 @@ - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - - + + + - - + + @@ -1904,17 +1911,12 @@ - - - - - - + + + - - - - + + @@ -1922,9 +1924,9 @@ - - - + + + @@ -1932,36 +1934,36 @@ - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + @@ -1969,12 +1971,12 @@ - - - + + + - - + + @@ -1982,68 +1984,68 @@ - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + @@ -2051,12 +2053,12 @@ - - - + + + - - + + @@ -2064,12 +2066,12 @@ - - - + + + - - + + @@ -2077,20 +2079,20 @@ - - - + + + - - + + - - - + + + - - + + @@ -2098,9 +2100,9 @@ - - - + + + @@ -2108,12 +2110,12 @@ - - - + + + - - + + @@ -2121,52 +2123,57 @@ - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - + + - - - - - - + + + - - + + - - - + + + + + + + + + + + @@ -2174,28 +2181,28 @@ - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + @@ -2203,21 +2210,21 @@ - - - + + + - - + + - - + + - - + + - - + + @@ -2225,18 +2232,18 @@ - - - + + + - - + + - - + + - - + + @@ -2244,36 +2251,36 @@ - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + @@ -2292,174 +2299,174 @@ - - - + + + - - + + - - + + - - - + + + - - + + - - + + - - - + + + - - - + + + - - + + - - + + - - - + + + - - + + - - + + - - - + + + - - + + - - + + - - - + + + - - + + - - + + - - - + + + - - + + - - + + - - - + + + - - + + - - + + - - - + + + - - + + - - + + - - - + + + - - + + - - + + - - - + + + - - + + - - + + - - - + + + - - + + - - + + - - - + + + - - + + - - + + - - - + + + - - + + - - + + - - - + + + - - + + - - + + @@ -2470,28 +2477,28 @@ - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + @@ -2502,15 +2509,15 @@ - - - + + + - - + + - - + + @@ -2709,17 +2716,17 @@ - - - + + + - - + + - - - + + + @@ -2818,54 +2825,54 @@ - - - + + + - - + + - - - + + + - - + + - - - + + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + @@ -2878,33 +2885,33 @@ - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + @@ -2912,59 +2919,59 @@ - - - + + + - - - + + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + @@ -2975,6 +2982,14 @@ + + + + + + + + @@ -2993,6 +3008,19 @@ + + + + + + + + + + + + + @@ -3009,6 +3037,14 @@ + + + + + + + + @@ -3046,20 +3082,20 @@ - - - + + + - - + + - - - + + + - - + + @@ -3067,9 +3103,9 @@ - - - + + + @@ -3082,12 +3118,12 @@ - - - + + + - - + + @@ -3098,6 +3134,14 @@ + + + + + + + + @@ -3132,6 +3176,14 @@ + + + + + + + + @@ -3140,6 +3192,14 @@ + + + + + + + + @@ -3148,6 +3208,11 @@ + + + + + @@ -3284,11 +3349,6 @@ - - - - - @@ -3410,11 +3470,6 @@ - - - - - @@ -3450,6 +3505,11 @@ + + + + + @@ -3471,6 +3531,19 @@ + + + + + + + + + + + + + @@ -3479,6 +3552,11 @@ + + + + + @@ -3549,9 +3627,9 @@ - - - + + + @@ -3564,9 +3642,9 @@ - - - + + + @@ -3574,17 +3652,17 @@ - - - + + + - - + + - - - + + + @@ -3592,46 +3670,46 @@ - - - + + + - - + + - - - + + + - - + + - - - + + + - - + + - - - + + + - - - + + + - - + + - - - + + + @@ -3716,20 +3794,12 @@ - - - - - - - - - - - + + + - - + + @@ -3740,11 +3810,6 @@ - - - - - @@ -3812,11 +3877,6 @@ - - - - - @@ -3887,6 +3947,11 @@ + + + + + @@ -3993,11 +4058,6 @@ - - - - - @@ -5190,14 +5250,6 @@ - - - - - - - - @@ -5211,11 +5263,6 @@ - - - - - @@ -5451,6 +5498,14 @@ + + + + + + + + @@ -5475,6 +5530,14 @@ + + + + + + + + @@ -5531,26 +5594,26 @@ - - - + + + - - + + - - + + - - - + + + - - + + - - + + @@ -5561,15 +5624,15 @@ - - - + + + - - + + - - + + @@ -5580,26 +5643,26 @@ - - - + + + - - + + - - + + - - - + + + - - + + - - + + @@ -5615,23 +5678,23 @@ - - - + + + - - + + - - - + + + - - + + - - + + @@ -5647,12 +5710,12 @@ - - - + + + - - + + @@ -5663,25 +5726,20 @@ - - - + + + - - + + - - - + + + - - - - - - - + + @@ -5723,25 +5781,25 @@ - - - + + + - - - + + + - - + + - - - + + + - - + + @@ -5934,6 +5992,14 @@ + + + + + + + + @@ -6214,12 +6280,12 @@ - - - + + + - - + + @@ -6233,12 +6299,12 @@ - - - + + + - - + + @@ -6262,26 +6328,26 @@ - - - + + + - - + + - - + + - - - + + + - - + + - - + + @@ -6300,15 +6366,15 @@ - - - + + + - - + + - - + + @@ -6319,26 +6385,26 @@ - - - + + + - - + + - - + + - - - + + + - - + + - - + + @@ -6354,15 +6420,15 @@ - - - + + + - - + + - - + + @@ -6373,15 +6439,15 @@ - - - + + + - - + + - - + + @@ -6392,15 +6458,15 @@ - - - + + + - - + + - - + + @@ -6443,12 +6509,12 @@ - - - + + + - - + + @@ -6480,14 +6546,6 @@ - - - - - - - - @@ -6515,15 +6573,15 @@ - - - + + + - - + + - - + + diff --git a/nat/src/main/java/org/hyperledger/besu/nat/kubernetes/KubernetesNatManager.java b/nat/src/main/java/org/hyperledger/besu/nat/kubernetes/KubernetesNatManager.java index f8af2bdddbd..6a9c02a31c8 100644 --- a/nat/src/main/java/org/hyperledger/besu/nat/kubernetes/KubernetesNatManager.java +++ b/nat/src/main/java/org/hyperledger/besu/nat/kubernetes/KubernetesNatManager.java @@ -84,7 +84,7 @@ protected void doStart() throws NatInitializationException { final V1Service service = api .listServiceForAllNamespaces( - null, null, null, null, null, null, null, null, null, null) + null, null, null, null, null, null, null, null, null, null, null) .getItems() .stream() .filter( diff --git a/platform/build.gradle b/platform/build.gradle index 7234a1006d6..e42d3e0774b 100644 --- a/platform/build.gradle +++ b/platform/build.gradle @@ -27,17 +27,17 @@ javaPlatform { } dependencies { - api platform('com.fasterxml.jackson:jackson-bom:2.17.2') - api platform('io.grpc:grpc-bom:1.66.0') - api platform('io.netty:netty-bom:4.1.112.Final') - api platform('io.opentelemetry:opentelemetry-bom:1.41.0') + api platform('com.fasterxml.jackson:jackson-bom:2.18.0') + api platform('io.grpc:grpc-bom:1.68.0') + api platform('io.netty:netty-bom:4.1.114.Final') + api platform('io.opentelemetry:opentelemetry-bom:1.43.0') api platform('io.prometheus:simpleclient_bom:0.16.0') - api platform('io.vertx:vertx-stack-depchain:4.5.9') - api platform('org.apache.logging.log4j:log4j-bom:2.23.1') + api platform('io.vertx:vertx-stack-depchain:4.5.10') + api platform('org.apache.logging.log4j:log4j-bom:2.24.1') api platform('org.assertj:assertj-bom:3.26.3') api platform('org.immutables:bom:2.10.1') - api platform('org.junit:junit-bom:5.11.0') - api platform('org.mockito:mockito-bom:5.13.0') + api platform('org.junit:junit-bom:5.11.2') + api platform('org.mockito:mockito-bom:5.14.2') api platform('org.slf4j:slf4j-bom:2.0.16') constraints { @@ -60,39 +60,37 @@ dependencies { api 'com.github.ben-manes.caffeine:caffeine:3.1.8' - api 'org.bitbucket.b_c:jose4j:0.9.4' - - api 'com.github.oshi:oshi-core:6.6.3' + api 'com.github.oshi:oshi-core:6.6.5' api 'com.google.auto.service:auto-service:1.1.1' api 'com.google.dagger:dagger-compiler:2.52' api 'com.google.dagger:dagger:2.52' - api 'com.google.guava:guava:33.3.0-jre' + api 'com.google.guava:guava:33.3.1-jre' api 'com.google.protobuf:protobuf-java:3.25.5' - api 'com.graphql-java:graphql-java:22.2' + api 'com.graphql-java:graphql-java:22.3' api 'com.splunk.logging:splunk-library-javalogging:1.11.8' api 'com.squareup.okhttp3:okhttp:4.12.0' - api 'commons-io:commons-io:2.16.1' + api 'commons-io:commons-io:2.17.0' api 'commons-net:commons-net:3.11.1' - api 'dnsjava:dnsjava:3.6.1' + api 'dnsjava:dnsjava:3.6.2' api 'info.picocli:picocli:4.7.6' api 'info.picocli:picocli-codegen:4.7.6' - api 'io.kubernetes:client-java:18.0.1' + api 'io.kubernetes:client-java:21.0.1-legacy' - api 'io.opentelemetry.instrumentation:opentelemetry-okhttp-3.0:2.7.0-alpha' + api 'io.opentelemetry.instrumentation:opentelemetry-okhttp-3.0:2.9.0-alpha' api 'io.opentelemetry.proto:opentelemetry-proto:1.3.2-alpha' - api 'io.opentelemetry.semconv:opentelemetry-semconv:1.27.0-alpha' + api 'io.opentelemetry.semconv:opentelemetry-semconv:1.28.0-alpha' api 'io.opentracing:opentracing-api:0.33.0' api 'io.opentracing:opentracing-util:0.33.0' @@ -113,7 +111,7 @@ dependencies { api 'junit:junit:4.13.2' - api 'net.java.dev.jna:jna:5.14.0' + api 'net.java.dev.jna:jna:5.15.0' api 'org.antlr:antlr4:4.11.1' api 'org.antlr:antlr4-runtime:4.11.1' @@ -123,7 +121,7 @@ dependencies { api 'org.apache.commons:commons-lang3:3.17.0' api 'org.apache.commons:commons-text:1.12.0' - api 'org.apache.maven:maven-artifact:3.9.6' + api 'org.apache.maven:maven-artifact:3.9.9' api 'org.awaitility:awaitility:4.2.2' @@ -146,7 +144,6 @@ dependencies { api 'org.jacoco:org.jacoco.core:0.8.12' api 'org.junit.platform:junit-platform-runner:1.9.2' - api 'org.junit.vintage:junit-vintage-engine:5.10.1' api 'org.jupnp:org.jupnp:3.0.2' api 'org.jupnp:org.jupnp.support:3.0.2' @@ -162,21 +159,21 @@ dependencies { api 'org.springframework.security:spring-security-crypto:6.3.3' - api 'org.testcontainers:testcontainers:1.20.1' + api 'org.testcontainers:testcontainers:1.20.2' api 'org.wiremock:wiremock:3.9.1' - api 'org.web3j:abi:4.12.1' - api 'org.web3j:besu:4.12.1' - api 'org.web3j:core:4.12.1' - api 'org.web3j:crypto:4.12.1' + api 'org.web3j:abi:4.12.2' + api 'org.web3j:besu:4.12.2' + api 'org.web3j:core:4.12.2' + api 'org.web3j:crypto:4.12.2' api 'org.web3j:quorum:4.10.0' - api 'org.xerial.snappy:snappy-java:1.1.10.6' + api 'org.xerial.snappy:snappy-java:1.1.10.7' api 'tech.pegasys:jc-kzg-4844:1.0.0' - api 'tech.pegasys.discovery:discovery:24.6.0' + api 'tech.pegasys.discovery:discovery:24.9.1' } }