Skip to content

Commit

Permalink
Switch to JDK 22
Browse files Browse the repository at this point in the history
  • Loading branch information
wendigo committed Aug 12, 2024
1 parent dade4c5 commit a86fd39
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 22
- run: ./mvnw clean install -B -V
10 changes: 8 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.targetJdk>1.8</project.build.targetJdk>
<project.build.targetJdk>22</project.build.targetJdk>

<shadeBase>io.trino.hive.\$internal</shadeBase>

Expand All @@ -53,6 +53,12 @@
</properties>

<dependencies>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>1.3.2</version>
</dependency>

<!-- discard logging from hive -->
<dependency>
<groupId>org.slf4j</groupId>
Expand Down Expand Up @@ -664,7 +670,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.4</version>
<version>3.6.0</version>
<executions>
<execution>
<phase>package</phase>
Expand Down

0 comments on commit a86fd39

Please sign in to comment.