Skip to content

Commit be51967

Browse files
committed
docs: update Java support policy in README (11/17/21 CI-tested, 25 compatibility target)
1 parent 6435900 commit be51967

3 files changed

Lines changed: 13 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ jobs:
1515
test-and-coverage:
1616
runs-on: ubuntu-latest
1717
timeout-minutes: 90
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
java: [ '11', '17', '21', '25' ]
22+
1823
env:
1924
DOCKER_HOST: unix:///var/run/docker.sock
2025
TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE: /var/run/docker.sock
@@ -24,11 +29,11 @@ jobs:
2429
- name: Checkout
2530
uses: actions/checkout@v4
2631

27-
- name: Set up JDK 11
32+
- name: Set up JDK ${{ matrix.java }}
2833
uses: actions/setup-java@v4
2934
with:
3035
distribution: temurin
31-
java-version: '11'
36+
java-version: ${{ matrix.java }}
3237
cache: maven
3338

3439
- name: Verify Docker
@@ -38,15 +43,15 @@ jobs:
3843
run: mvn -B clean test
3944

4045
- name: Upload JaCoCo XML as artifact
41-
if: always()
46+
if: always() && matrix.java == '21'
4247
uses: actions/upload-artifact@v4
4348
with:
4449
name: jacoco-report
4550
path: target/site/jacoco/jacoco.xml
4651
if-no-files-found: warn
4752

4853
- name: Upload coverage to Codecov
49-
if: always()
54+
if: always() && matrix.java == '21'
5055
uses: codecov/codecov-action@v5
5156
with:
5257
files: target/site/jacoco/jacoco.xml

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ Most importantly, its greatest strength lies in the fact that **you no longer ne
4848
## 前提
4949

5050
* **Java 11+**`JAVA_HOME` を JDK 11 以上に設定)
51+
* **サポート対象(CIで動作確認)**: **Java 11 / 17 / 21(LTS)**
52+
* **互換性ターゲット**: **Java 25(非LTS、CI必須対象外・動作報告歓迎)**
5153
* **Apache Maven 3.9+**(CLI ツールのビルドに使用します。例: 3.9.10)
5254
* **Oracle JDBC Driver**`oracle.jdbc.OracleDriver`
5355
* **OS**: Windows / macOS / Linux いずれでも可
@@ -59,6 +61,8 @@ Most importantly, its greatest strength lies in the fact that **you no longer ne
5961
### Requirements
6062

6163
* **Java 11+** (set `JAVA_HOME` to JDK 11 or later)
64+
* **Supported (CI-tested):** **Java 11 / 17 / 21 (LTS)**
65+
* **Compatibility target:** **Java 25 (non-LTS; not required in CI; bug reports welcome)**
6266
* **Apache Maven 3.9+** (used to build the CLI tool; e.g., 3.9.10)
6367
* **Oracle JDBC Driver** (`oracle.jdbc.OracleDriver`)
6468
* **OS**: Windows / macOS / Linux

pom.xml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
<java.version>11</java.version>
4141
<maven.compiler.source>${java.version}</maven.compiler.source>
4242
<maven.compiler.target>${java.version}</maven.compiler.target>
43-
<slf4j.version>1.7.30</slf4j.version>
4443
</properties>
4544
<profiles>
4645
</profiles>
@@ -94,12 +93,6 @@
9493
<artifactId>commons-lang3</artifactId>
9594
<version>3.20.0</version>
9695
</dependency>
97-
<dependency>
98-
<groupId>org.slf4j</groupId>
99-
<artifactId>slf4j-simple</artifactId>
100-
<version>2.0.17</version>
101-
<scope>test</scope>
102-
</dependency>
10396
<!-- DBUnit -->
10497
<dependency>
10598
<groupId>org.dbunit</groupId>

0 commit comments

Comments
 (0)