Skip to content

Commit

Permalink
Move to Java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
radcortez committed Jan 10, 2025
1 parent 652bc2e commit 138e50a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 16 deletions.
22 changes: 8 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [11, 17, 21]
java: [17, 21]
name: build with jdk ${{matrix.java}}

steps:
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
java: [11, 17, 21]
java: [17, 21]
name: build with jdk ${{matrix.java}} windows

steps:
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
java-version: 17
cache: 'maven'
cache-dependency-path: '**/pom.xml'

Expand Down Expand Up @@ -117,18 +117,12 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
java-version: 17
cache: 'maven'
cache-dependency-path: '**/pom.xml'

- name: build with docs and coverage
run: mvn verify -Pcoverage javadoc:javadoc

- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17

- name: sonar
# tried to use sonar.coverage.exclusions in pom.xml and even in the admin of Sonar, but it seems the only way to make it work its here
run: mvn sonar:sonar -Psonar -Dsonar.token=${{secrets.SONAR_TOKEN}} -Dsonar.coverage.exclusions=**/*/ConfigValueConfigSource$ConfigValueProperties*
run: |
mvn verify -Pcoverage javadoc:javadoc
# tried to use sonar.coverage.exclusions in pom.xml and even in the admin of Sonar, but it seems the only way to make it work its here
mvn sonar:sonar -Psonar -Dsonar.token=${{secrets.SONAR_TOKEN}} -Dsonar.coverage.exclusions=**/*/ConfigValueConfigSource$ConfigValueProperties*
2 changes: 1 addition & 1 deletion .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
java-version: 17

- name: docs release ${{inputs.version}}
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-tck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 11, 17, 21 ]
java: [ 17, 21 ]

steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 3 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
<url>https://smallrye.io</url>

<properties>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>17</maven.compiler.source>

<version.eclipse.microprofile.config>3.1</version.eclipse.microprofile.config>
<version.smallrye.common>2.8.0</version.smallrye.common>
<version.asm>9.7.1</version.asm>
Expand Down

0 comments on commit 138e50a

Please sign in to comment.