Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ plugins:
sonar-java:
enabled: true
config:
sonar.java.source: 21
sonar.java.source: 17
2 changes: 1 addition & 1 deletion .deepsource.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ name = "java"
enabled = true

[analyzers.meta]
runtime_version = "21"
runtime_version = "17"
18 changes: 17 additions & 1 deletion .github/workflows/maven-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: '21'
java-version: '17'
distribution: 'adopt'
- name: Cache SonarQube packages
uses: actions/cache@v6
Expand Down Expand Up @@ -73,6 +73,22 @@ jobs:
if-no-files-found: error
include-hidden-files: true

forward-compatibility:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: ['21', '25']
steps:
- uses: actions/checkout@v7
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v5
with:
java-version: ${{ matrix.java-version }}
distribution: 'adopt'
cache: 'maven'
- name: Run tests on JDK ${{ matrix.java-version }}
run: mvn -B -ntp test

generate-docs:
runs-on: ubuntu-latest
needs: verify
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ manually.

| Concern | Technology |
|---|---|
| Language | Java 21 |
| Language | Java 17 minimum runtime; CI also tests Java 21 and 25 |
| Build | Apache Maven (multi-module) |
| Unit tests | JUnit 5 (`junit-jupiter` 5.11.4) |
| Assertions | Hamcrest 3.0 |
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ This project is divided into multiple maven module

## Adding the dependency

MetarParser requires Java 17 or later.

To add the service module :

```xml
Expand Down
3 changes: 1 addition & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@
</licenses>

<properties>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<maven.compiler.release>17</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jacoco.coverage.instruction.minimum>0.98</jacoco.coverage.instruction.minimum>
<jacoco.coverage.branch.minimum>0.96</jacoco.coverage.branch.minimum>
Expand Down
Loading