Skip to content

Commit 0a4907a

Browse files
committed
chore: Move to Java 17
1 parent bbbb1d3 commit 0a4907a

3 files changed

Lines changed: 3 additions & 30 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ jobs:
2222
uses: actions/setup-java@v5
2323
with:
2424
distribution: zulu
25-
java-version: |
26-
17
27-
25
25+
java-version: 17
2826
cache: maven
2927
- name: Cache Sonar
3028
uses: actions/cache@v4

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ jobs:
1717
uses: actions/setup-java@v5
1818
with:
1919
distribution: zulu
20-
java-version: |
21-
17
22-
25
20+
java-version: 17
2321
cache: maven
2422
- name: Build
2523
env:

pom.xml

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3-
<modelVersion>4.0.0</modelVersion>
4-
2+
<project xmlns="http://maven.apache.org/POM/4.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 https://maven.apache.org/xsd/maven-4.1.0.xsd">
53
<groupId>io.github.helpermethod</groupId>
64
<artifactId>zip-forge</artifactId>
75
<version>${revision}</version>
@@ -33,9 +31,7 @@
3331

3432
<properties>
3533
<java.version>17</java.version>
36-
<java.testVersion>25</java.testVersion>
3734
<maven.compiler.release>${java.version}</maven.compiler.release>
38-
<maven.compiler.testRelease>${java.testVersion}</maven.compiler.testRelease>
3935
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4036
<repository.url>git@github.com:helpermethod/zip-forge.git</repository.url>
4137
<revision>1.0.0-SNAPSHOT</revision>
@@ -81,30 +77,11 @@
8177
<groupId>org.apache.maven.plugins</groupId>
8278
<artifactId>maven-compiler-plugin</artifactId>
8379
<version>3.14.1</version>
84-
<executions>
85-
<execution>
86-
<id>default-testCompile</id>
87-
<goals>
88-
<goal>testCompile</goal>
89-
</goals>
90-
<phase>test-compile</phase>
91-
<configuration>
92-
<jdkToolchain>
93-
<version>${java.testVersion}</version>
94-
</jdkToolchain>
95-
</configuration>
96-
</execution>
97-
</executions>
9880
</plugin>
9981
<plugin>
10082
<groupId>org.apache.maven.plugins</groupId>
10183
<artifactId>maven-surefire-plugin</artifactId>
10284
<version>3.5.4</version>
103-
<configuration>
104-
<jdkToolchain>
105-
<version>${java.testVersion}</version>
106-
</jdkToolchain>
107-
</configuration>
10885
</plugin>
10986
<plugin>
11087
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)