Skip to content

Commit

Permalink
Preparing java 17 build / release
Browse files Browse the repository at this point in the history
  • Loading branch information
cuioss committed Aug 14, 2023
1 parent 390c10c commit 02840f2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
metadata-file-path: '.github/project.yml'
local-file: true

- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '17'
distribution: 'temurin'
server-id: sonatype-nexus-snapshots
server-username: MAVEN_USERNAME
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
version: [11, 17]
version: [17]

steps:
- uses: actions/checkout@v3
Expand All @@ -42,10 +42,10 @@ jobs:
with:
fetch-depth: 0

- name: Set up JDK 11 for Sonar-build
- name: Set up JDK 17 for Sonar-build
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '17'
distribution: 'temurin'
cache: maven

Expand Down
3 changes: 3 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
</scm>
<properties>
<maven.jar.plugin.automatic.module.name>de.cuioss.java.tools</maven.jar.plugin.automatic.module.name>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven-javadoc-plugin.source>17</maven-javadoc-plugin.source>
</properties>
<issueManagement>
<url>https://github.com/cuioss/cui-java-tools/issues</url>
Expand Down

0 comments on commit 02840f2

Please sign in to comment.