Skip to content

Commit fb7f218

Browse files
feat!: bump to gradle 9.5.1 and spring boot 4
1 parent 0019bbf commit fb7f218

19 files changed

Lines changed: 484 additions & 532 deletions

File tree

build.gradle

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
plugins {
2-
id "com.github.mxenabled.coppuccino" version "7.+" apply false
3-
id "com.github.mxenabled.vogue" version "4.+" apply false
2+
id "com.github.mxenabled.coppuccino" version "7.0.2-SNAPSHOT" apply false
3+
id "com.github.mxenabled.vogue" version "4.0.2-SNAPSHOT" apply false
44
id "idea"
55
id "io.freefair.lombok" version "8.+" apply false
6-
id "io.github.gradle-nexus.publish-plugin" version "1.1.+"
6+
id "io.github.gradle-nexus.publish-plugin" version "2.+"
77
}
88

99
group "com.mx.path-core"
1010
description "MX Path Core"
11-
version "7.0.1" // x-release-please-version
11+
version "7.0.2-SNAPSHOT" // x-release-please-version
1212

1313
def platformProject = "platform"
1414
def publishedProjects = [
@@ -83,10 +83,10 @@ subprojects {
8383
// Version changes to any of these need to be tested (not just built)
8484
// with an app that uses SOAP.
8585
// -----------------------------------------------------------------
86-
api "jakarta.xml.bind:jakarta.xml.bind-api:4.0.4!!"
86+
api "jakarta.xml.bind:jakarta.xml.bind-api:4.0.5!!"
8787
api "jakarta.xml.soap:jakarta.xml.soap-api:3.0.2!!"
88-
api "com.sun.xml.bind:jaxb-impl:4.0.6!!"
89-
api "org.glassfish.jaxb:jaxb-runtime:4.0.6!!"
88+
// api "com.sun.xml.bind:jaxb-impl:[4.0.9,5.0.0)"
89+
api "org.glassfish.jaxb:jaxb-runtime:[4.0.9,5.0.0)"
9090

9191
// --- Shared Testing Libraries ---
9292
api "io.opentracing:opentracing-mock:${project.ext.openTracingVersion}"
@@ -102,6 +102,7 @@ subprojects {
102102
testImplementation "org.mockito:mockito-core:${project.ext.mockitoVersion}"
103103
testImplementation "org.spockframework:spock-core:${project.ext.spockVersion}"
104104
testImplementation "org.junit.jupiter:junit-jupiter-api:${project.ext.junitVersion}"
105+
testRuntimeOnly "org.junit.platform:junit-platform-launcher"
105106
}
106107

107108
compileJava { options.compilerArgs << "-parameters" }
@@ -206,6 +207,6 @@ tasks.named("dependencies") {
206207
}
207208

208209
wrapper {
209-
gradleVersion = "8.14.3"
210+
gradleVersion = "9.5.1"
210211
distributionType = Wrapper.DistributionType.ALL
211212
}

common/gradle.lockfile

Lines changed: 39 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -3,61 +3,55 @@
33
# This file is expected to be part of source control.
44
com.github.oowekyala.ooxml:nice-xml-messages:3.1=pmd
55
com.github.rholder:guava-retrying:2.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
6-
com.github.spotbugs:spotbugs-annotations:4.9.8=annotationProcessor,compileClasspath,spotbugs,testAnnotationProcessor,testCompileClasspath
7-
com.github.spotbugs:spotbugs:4.9.8=spotbugs
6+
com.github.spotbugs:spotbugs-annotations:4.10.2=compileClasspath,spotbugs,testCompileClasspath
7+
com.github.spotbugs:spotbugs-annotations:4.9.8=annotationProcessor,testAnnotationProcessor
8+
com.github.spotbugs:spotbugs:4.10.2=spotbugs
89
com.github.stephenc.jcip:jcip-annotations:1.0-1=spotbugs
910
com.google.code.findbugs:jsr305:3.0.2=annotationProcessor,checkstyle,compileClasspath,runtimeClasspath,spotbugs,testAnnotationProcessor,testCompileClasspath,testRuntimeClasspath
10-
com.google.code.gson:gson:2.13.2=pmd,spotbugs
11-
com.google.code.gson:gson:2.14.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
12-
com.google.errorprone:error_prone_annotations:2.36.0=checkstyle
13-
com.google.errorprone:error_prone_annotations:2.41.0=pmd,spotbugs
14-
com.google.errorprone:error_prone_annotations:2.48.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
11+
com.google.code.gson:gson:2.13.2=pmd
12+
com.google.code.gson:gson:2.14.0=compileClasspath,runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath
13+
com.google.errorprone:error_prone_annotations:2.41.0=pmd
14+
com.google.errorprone:error_prone_annotations:2.47.0=checkstyle
15+
com.google.errorprone:error_prone_annotations:2.48.0=compileClasspath,runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath
1516
com.google.guava:failureaccess:1.0.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
1617
com.google.guava:failureaccess:1.0.3=checkstyle
1718
com.google.guava:guava:32.1.3-jre=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
18-
com.google.guava:guava:33.4.8-jre=checkstyle
19+
com.google.guava:guava:33.6.0-jre=checkstyle
1920
com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=checkstyle,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
2021
com.google.j2objc:j2objc-annotations:2.8=compileClasspath,testCompileClasspath
21-
com.google.j2objc:j2objc-annotations:3.0.0=checkstyle
22-
com.puppycrawl.tools:checkstyle:10.25.0=checkstyle
22+
com.google.j2objc:j2objc-annotations:3.1=checkstyle
23+
com.puppycrawl.tools:checkstyle:13.6.0=checkstyle
2324
commons-beanutils:commons-beanutils:1.11.0=checkstyle
24-
commons-codec:commons-codec:1.15=checkstyle
25+
commons-codec:commons-codec:1.11=checkstyle
2526
commons-collections:commons-collections:3.2.2=checkstyle
26-
commons-io:commons-io:2.20.0=spotbugs
27+
commons-io:commons-io:2.21.0=spotbugs
2728
info.picocli:picocli:4.7.7=checkstyle
2829
io.leangen.geantyref:geantyref:1.3.16=testRuntimeClasspath
29-
jaxen:jaxen:2.0.0=spotbugs
30+
jaxen:jaxen:2.0.6=spotbugs
3031
net.bytebuddy:byte-buddy-agent:1.17.7=testCompileClasspath,testRuntimeClasspath
3132
net.bytebuddy:byte-buddy:1.17.7=testCompileClasspath,testRuntimeClasspath
32-
net.sf.saxon:Saxon-HE:12.5=checkstyle
33-
net.sf.saxon:Saxon-HE:12.9=pmd,spotbugs
33+
net.sf.saxon:Saxon-HE:12.9=checkstyle,pmd,spotbugs
3434
net.sourceforge.pmd:pmd-ant:7.22.0=pmd
3535
net.sourceforge.pmd:pmd-core:7.22.0=pmd
3636
net.sourceforge.pmd:pmd-java:7.22.0=pmd
3737
org.antlr:antlr4-runtime:4.13.2=checkstyle
3838
org.antlr:antlr4-runtime:4.9.3=pmd
39-
org.apache.bcel:bcel:6.11.0=spotbugs
39+
org.apache.bcel:bcel:6.12.0=spotbugs
4040
org.apache.commons:commons-lang3:3.18.0=checkstyle
41-
org.apache.commons:commons-lang3:3.19.0=spotbugs
42-
org.apache.commons:commons-lang3:3.20.0=compileClasspath,pmd,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
43-
org.apache.commons:commons-text:1.14.0=spotbugs
44-
org.apache.commons:commons-text:1.15.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
41+
org.apache.commons:commons-lang3:3.20.0=compileClasspath,pmd,runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath
42+
org.apache.commons:commons-text:1.15.0=compileClasspath,runtimeClasspath,spotbugs,testCompileClasspath,testRuntimeClasspath
4543
org.apache.commons:commons-text:1.3=checkstyle
46-
org.apache.httpcomponents.client5:httpclient5:5.1.3=checkstyle
47-
org.apache.httpcomponents.core5:httpcore5-h2:5.1.3=checkstyle
48-
org.apache.httpcomponents.core5:httpcore5:5.1.3=checkstyle
4944
org.apache.httpcomponents:httpclient:4.5.13=checkstyle
5045
org.apache.httpcomponents:httpcore:4.4.14=checkstyle
51-
org.apache.logging.log4j:log4j-api:2.25.3=spotbugs
52-
org.apache.logging.log4j:log4j-core:2.25.3=spotbugs
46+
org.apache.logging.log4j:log4j-api:2.26.0=spotbugs
47+
org.apache.logging.log4j:log4j-core:2.26.0=spotbugs
5348
org.apache.maven.doxia:doxia-core:1.12.0=checkstyle
5449
org.apache.maven.doxia:doxia-logging-api:1.12.0=checkstyle
5550
org.apache.maven.doxia:doxia-module-xdoc:1.12.0=checkstyle
5651
org.apache.maven.doxia:doxia-sink-api:1.12.0=checkstyle
5752
org.apache.xbean:xbean-reflect:3.7=checkstyle
5853
org.apiguardian:apiguardian-api:1.1.2=testCompileClasspath
5954
org.checkerframework:checker-qual:3.37.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
60-
org.checkerframework:checker-qual:3.49.3=checkstyle
6155
org.checkerframework:checker-qual:3.53.1=pmd
6256
org.codehaus.groovy:groovy:3.0.24=testCompileClasspath,testRuntimeClasspath
6357
org.codehaus.plexus:plexus-classworlds:2.6.0=checkstyle
@@ -66,38 +60,41 @@ org.codehaus.plexus:plexus-container-default:2.1.0=checkstyle
6660
org.codehaus.plexus:plexus-utils:3.3.0=checkstyle
6761
org.dom4j:dom4j:2.2.0=spotbugs
6862
org.hamcrest:hamcrest:3.0=testCompileClasspath,testRuntimeClasspath
69-
org.jacoco:org.jacoco.agent:0.8.13=jacocoAgent,jacocoAnt
70-
org.jacoco:org.jacoco.ant:0.8.13=jacocoAnt
71-
org.jacoco:org.jacoco.core:0.8.13=jacocoAnt
72-
org.jacoco:org.jacoco.report:0.8.13=jacocoAnt
63+
org.jacoco:org.jacoco.agent:0.8.14=jacocoAgent,jacocoAnt
64+
org.jacoco:org.jacoco.ant:0.8.14=jacocoAnt
65+
org.jacoco:org.jacoco.core:0.8.14=jacocoAnt
66+
org.jacoco:org.jacoco.report:0.8.14=jacocoAnt
7367
org.javassist:javassist:3.28.0-GA=checkstyle
7468
org.jspecify:jspecify:1.0.0=checkstyle
7569
org.junit.jupiter:junit-jupiter-api:5.14.0=testCompileClasspath,testRuntimeClasspath
7670
org.junit.platform:junit-platform-commons:1.14.0=testCompileClasspath,testRuntimeClasspath
7771
org.junit.platform:junit-platform-engine:1.14.0=testCompileClasspath,testRuntimeClasspath
78-
org.junit:junit-bom:5.14.0=annotationProcessor,spotbugs,testAnnotationProcessor,testCompileClasspath,testRuntimeClasspath
72+
org.junit.platform:junit-platform-launcher:1.14.0=testRuntimeClasspath
73+
org.junit:junit-bom:5.14.0=annotationProcessor,testAnnotationProcessor,testCompileClasspath,testRuntimeClasspath
74+
org.junit:junit-bom:6.1.0=spotbugs
7975
org.mockito:mockito-core:5.23.0=testCompileClasspath,testRuntimeClasspath
8076
org.objenesis:objenesis:3.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
8177
org.opentest4j:opentest4j:1.3.0=testCompileClasspath,testRuntimeClasspath
82-
org.ow2.asm:asm-analysis:9.9=spotbugs
83-
org.ow2.asm:asm-commons:9.8=jacocoAnt
84-
org.ow2.asm:asm-commons:9.9=spotbugs
85-
org.ow2.asm:asm-tree:9.8=jacocoAnt
86-
org.ow2.asm:asm-tree:9.9=spotbugs
87-
org.ow2.asm:asm-util:9.9=spotbugs
88-
org.ow2.asm:asm:9.8=jacocoAnt
89-
org.ow2.asm:asm:9.9=spotbugs
78+
org.ow2.asm:asm-analysis:9.10.1=spotbugs
79+
org.ow2.asm:asm-commons:9.10.1=spotbugs
80+
org.ow2.asm:asm-commons:9.9=jacocoAnt
81+
org.ow2.asm:asm-tree:9.10.1=spotbugs
82+
org.ow2.asm:asm-tree:9.9=jacocoAnt
83+
org.ow2.asm:asm-util:9.10.1=spotbugs
84+
org.ow2.asm:asm:9.10.1=spotbugs
85+
org.ow2.asm:asm:9.9=jacocoAnt
9086
org.ow2.asm:asm:9.9.1=pmd
9187
org.pcollections:pcollections:4.0.2=pmd
9288
org.projectlombok:lombok:1.18.42=annotationProcessor,compileClasspath,lombok,testAnnotationProcessor,testCompileClasspath
9389
org.reflections:reflections:0.10.2=checkstyle
9490
org.slf4j:jul-to-slf4j:1.7.36=pmd
9591
org.slf4j:slf4j-api:1.7.30=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
96-
org.slf4j:slf4j-api:2.0.17=spotbugs,spotbugsSlf4j
92+
org.slf4j:slf4j-api:2.0.17=spotbugsSlf4j
93+
org.slf4j:slf4j-api:2.0.18=spotbugs
9794
org.slf4j:slf4j-simple:2.0.17=spotbugsSlf4j
95+
org.slf4j:slf4j-simple:2.0.18=checkstyle
9896
org.spockframework:spock-bom:2.4-M6-groovy-3.0=testCompileClasspath,testRuntimeClasspath
9997
org.spockframework:spock-core:2.4-M6-groovy-3.0=testCompileClasspath,testRuntimeClasspath
100-
org.xmlresolver:xmlresolver:5.2.2=checkstyle
101-
org.xmlresolver:xmlresolver:5.3.3=pmd,spotbugs
98+
org.xmlresolver:xmlresolver:5.3.3=checkstyle,pmd,spotbugs
10299
org.yaml:snakeyaml:2.4=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
103100
empty=spotbugsPlugins

common/src/main/java/com/mx/path/core/common/connect/Request.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,7 @@ public final void setTimeout(Duration timeout) {
567567
/**
568568
* Called before the request starts. Sets start time. Override to add behavior. Be sure to call {@code super.start()}
569569
*/
570+
@SuppressFBWarnings("USO_UNSAFE_METHOD_SYNCHRONIZATION")
570571
public synchronized void start() {
571572
if (attemptCount < 1) {
572573
attemptCount = 1;
@@ -579,6 +580,7 @@ public synchronized void start() {
579580
/**
580581
* Called before retrying request. Sets start time. Override to add behavior. Be sure to call {@code super.startRetry()}
581582
*/
583+
@SuppressFBWarnings("USO_UNSAFE_METHOD_SYNCHRONIZATION")
582584
public synchronized void startRetry() {
583585
attemptCount++;
584586
startNano = 0;

0 commit comments

Comments
 (0)