Skip to content

Commit b943eea

Browse files
Copilotanidotnet
andauthored
Remove Java 11 from CI builds and apply all dependency upgrades from PR #1173 (#1179)
* Initial plan * Remove JDK 11 build setup, upgrade to JDK 17 minimum, and upgrade JUnit to 6.0.0 Co-authored-by: anidotnet <[email protected]> * Revert Maven compiler versions to 11 as requested Co-authored-by: anidotnet <[email protected]> * Apply all 27 dependency upgrades from PR #1173 Co-authored-by: anidotnet <[email protected]> * Pin RocksDB version to 10.2.1 Updated pom.xml to use RocksDB version 10.2.1 and configured Dependabot to pin org.rocksdb:rocksdbjni to this version for all update types. --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: anidotnet <[email protected]> Co-authored-by: Anindya Chatterjee <[email protected]>
1 parent 9a9c570 commit b943eea

File tree

4 files changed

+33
-30
lines changed

4 files changed

+33
-30
lines changed

.github/dependabot.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ updates:
99
# Ignore minor version updates for dependencies with group ID "com.google.errorprone"
1010
- dependency-name: "com.google.errorprone:*"
1111
update-types: [ "version-update:semver-minor" ]
12+
# Pin RocksDB to version 10.2.1
13+
- dependency-name: "org.rocksdb:rocksdbjni"
14+
update-types: [ "version-update:semver-major", "version-update:semver-minor", "version-update:semver-patch" ]
1215
groups:
1316
security:
1417
# Group security updates into a single pull request

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323
strategy:
2424
matrix:
25-
java: [ '11', '17' ]
25+
java: [ '17' ]
2626
env:
2727
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
2828

@@ -42,7 +42,7 @@ jobs:
4242
run: mvn -B -ff -ntp clean install
4343

4444
- name: Publish Code Coverage
45-
if: github.ref == 'refs/heads/main' && matrix.java == '11'
45+
if: github.ref == 'refs/heads/main' && matrix.java == '17'
4646
uses: codecov/codecov-action@v5
4747
with:
4848
token: ${{ secrets.CODECOV_TOKEN }}
@@ -53,7 +53,7 @@ jobs:
5353
runs-on: macos-latest
5454
strategy:
5555
matrix:
56-
java: [ '11', '17' ]
56+
java: [ '17' ]
5757
env:
5858
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
5959

@@ -76,7 +76,7 @@ jobs:
7676
runs-on: windows-latest
7777
strategy:
7878
matrix:
79-
java: [ '11', '17' ]
79+
java: [ '17' ]
8080
env:
8181
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
8282

nitrite-native-tests/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2222

2323
<assertj.version>3.27.6</assertj.version>
24-
<junit.version>5.12.2</junit.version>
25-
<native-build-tools-plugin.version>0.10.6</native-build-tools-plugin.version>
24+
<junit.version>6.0.0</junit.version>
25+
<native-build-tools-plugin.version>0.11.2</native-build-tools-plugin.version>
2626
</properties>
2727

2828
<dependencyManagement>

pom.xml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -55,43 +55,43 @@
5555
<jackson.version>2.20.0</jackson.version>
5656
<slf4j.version>2.0.17</slf4j.version>
5757
<jasypt.version>1.9.3</jasypt.version>
58-
<h2.version>2.3.232</h2.version>
58+
<h2.version>2.4.240</h2.version>
5959
<rocksdb.version>10.2.1</rocksdb.version>
6060
<kryo5.version>5.6.2</kryo5.version>
6161
<jts.version>1.20.0</jts.version>
62-
<commons-codec.version>1.18.0</commons-codec.version>
63-
<commons-io.version>2.19.0</commons-io.version>
62+
<commons-codec.version>1.19.0</commons-codec.version>
63+
<commons-io.version>2.20.0</commons-io.version>
6464
<kotlin.version>2.2.20</kotlin.version>
6565
<kotlinx-serialization.version>1.9.0</kotlinx-serialization.version>
66-
<kotlinx-datetime.version>0.7.0-0.6.x-compat</kotlinx-datetime.version>
67-
<lombok.version>1.18.38</lombok.version>
66+
<kotlinx-datetime.version>0.7.1-0.6.x-compat</kotlinx-datetime.version>
67+
<lombok.version>1.18.42</lombok.version>
6868
<lombok-maven-plugin.version>1.18.20.0</lombok-maven-plugin.version>
6969
<junit.version>4.13.2</junit.version>
70-
<mockito.version>5.18.0</mockito.version>
70+
<mockito.version>5.20.0</mockito.version>
7171
<podam.version>8.0.2.RELEASE</podam.version>
72-
<log4j.version>2.25.0</log4j.version>
72+
<log4j.version>2.25.2</log4j.version>
7373
<awaitility.version>4.3.0</awaitility.version>
7474
<joda-time.version>2.14.0</joda-time.version>
7575
<meanbean.version>2.0.3</meanbean.version>
76-
<snakeyaml.version>2.4</snakeyaml.version>
77-
<jakarta.xml.bind-api.version>4.0.2</jakarta.xml.bind-api.version>
78-
<jaxb-impl.version>4.0.5</jaxb-impl.version>
76+
<snakeyaml.version>2.5</snakeyaml.version>
77+
<jakarta.xml.bind-api.version>4.0.4</jakarta.xml.bind-api.version>
78+
<jaxb-impl.version>4.0.6</jaxb-impl.version>
7979
<javafaker.version>1.0.2</javafaker.version>
80-
<guava.version>33.4.8-jre</guava.version>
81-
<threetenbp.version>1.7.1</threetenbp.version>
80+
<guava.version>33.5.0-jre</guava.version>
81+
<threetenbp.version>1.7.2</threetenbp.version>
8282

8383
<!-- Error Prone version > 2.31.0 can't run on JDK 11. see https://errorprone.info/docs/installation -->
8484
<error-prone.version>2.31.0</error-prone.version>
8585

86-
<jacoco.version>0.8.13</jacoco.version>
87-
<surefire.version>3.5.3</surefire.version>
88-
<maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version>
89-
<maven-javadoc-plugin.version>3.11.2</maven-javadoc-plugin.version>
86+
<jacoco.version>0.8.14</jacoco.version>
87+
<surefire.version>3.5.4</surefire.version>
88+
<maven-compiler-plugin.version>3.14.1</maven-compiler-plugin.version>
89+
<maven-javadoc-plugin.version>3.12.0</maven-javadoc-plugin.version>
9090
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
91-
<dokka.version>2.0.0</dokka.version>
92-
<animal-sniffer.version>1.24</animal-sniffer.version>
91+
<dokka.version>2.1.0</dokka.version>
92+
<animal-sniffer.version>1.26</animal-sniffer.version>
9393
<api-level-24.version>7.0_r2</api-level-24.version>
94-
<maven-gpg-plugin.version>3.2.7</maven-gpg-plugin.version>
94+
<maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
9595
</properties>
9696

9797
<dependencyManagement>
@@ -569,7 +569,7 @@
569569
<plugin>
570570
<groupId>org.codehaus.mojo</groupId>
571571
<artifactId>flatten-maven-plugin</artifactId>
572-
<version>1.7.2</version>
572+
<version>1.7.3</version>
573573
<configuration>
574574
<updatePomFile>true</updatePomFile>
575575
<flattenMode>oss</flattenMode>
@@ -594,7 +594,7 @@
594594
<plugin>
595595
<groupId>org.sonatype.central</groupId>
596596
<artifactId>central-publishing-maven-plugin</artifactId>
597-
<version>0.8.0</version>
597+
<version>0.9.0</version>
598598
<executions>
599599
<execution>
600600
<id>deploy-artifacts</id>
@@ -645,7 +645,7 @@
645645
<plugin>
646646
<groupId>org.codehaus.mojo</groupId>
647647
<artifactId>flatten-maven-plugin</artifactId>
648-
<version>1.7.2</version>
648+
<version>1.7.3</version>
649649
<configuration>
650650
<updatePomFile>true</updatePomFile>
651651
<flattenMode>oss</flattenMode>
@@ -670,7 +670,7 @@
670670
<plugin>
671671
<groupId>org.sonatype.plugins</groupId>
672672
<artifactId>nexus-staging-maven-plugin</artifactId>
673-
<version>1.6.13</version>
673+
<version>1.7.0</version>
674674
<extensions>true</extensions>
675675
<configuration>
676676
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
@@ -679,7 +679,7 @@
679679
<plugin>
680680
<groupId>org.sonatype.central</groupId>
681681
<artifactId>central-publishing-maven-plugin</artifactId>
682-
<version>0.8.0</version>
682+
<version>0.9.0</version>
683683
<executions>
684684
<execution>
685685
<id>deploy-artifacts</id>

0 commit comments

Comments
 (0)