Skip to content

Commit d89a50b

Browse files
committed
Support JDK 21.
See #1425
1 parent 1e70614 commit d89a50b

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

Jenkinsfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ pipeline {
3939
}
4040
}
4141
}
42-
stage('Publish JDK 20 + Cassandra 3.11') {
42+
stage('Publish JDK 21 + Cassandra 3.11') {
4343
when {
4444
anyOf {
45-
changeset "ci/openjdk20-8-cassandra-3.11/**"
45+
changeset "ci/openjdk21-8-cassandra-3.11/**"
4646
changeset "ci/pipeline.properties"
4747
}
4848
}
@@ -51,7 +51,7 @@ pipeline {
5151

5252
steps {
5353
script {
54-
def image = docker.build("springci/spring-data-with-cassandra-3.11:${p['java.next.tag']}", "--build-arg BASE=${p['docker.java.next.image']} --build-arg CASSANDRA=${p['docker.cassandra.3.version']} ci/openjdk20-8-cassandra-3.11/")
54+
def image = docker.build("springci/spring-data-with-cassandra-3.11:${p['java.next.tag']}", "--build-arg BASE=${p['docker.java.next.image']} --build-arg CASSANDRA=${p['docker.cassandra.3.version']} ci/openjdk21-8-cassandra-3.11/")
5555
docker.withRegistry(p['docker.registry'], p['docker.credentials']) {
5656
image.push()
5757
}

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,12 @@
152152
<artifactId>assertj-core</artifactId>
153153
<version>${assertj}</version>
154154
<scope>test</scope>
155+
<exclusions>
156+
<exclusion>
157+
<groupId>net.bytebuddy</groupId>
158+
<artifactId>byte-buddy</artifactId>
159+
</exclusion>
160+
</exclusions>
155161
</dependency>
156162

157163
<dependency>

0 commit comments

Comments
 (0)