Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

Commit

Permalink
Fixes #172 - Update to Java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
Automated workflow committed Nov 28, 2023
1 parent 4cbf21f commit edfdc12
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: 20
java-version: 21
- name: Build with Maven
run: mvn -B -DskipTests -ntp install
- name: Login to Docker Hub
Expand Down
6 changes: 4 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@
</license>
</licenses>
<properties>
<piranha.distribution>webprofile</piranha.distribution>
<piranha.version>23.8.0</piranha.version>
<!-- other -->
<java.version>21</java.version>
<piranha.distribution>webprofile</piranha.distribution>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- plugins -->
<docker-maven-plugin.version>0.42.1</docker-maven-plugin.version>
Expand Down Expand Up @@ -61,7 +63,7 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<release>20</release>
<release>${java.version}</release>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit edfdc12

Please sign in to comment.