Skip to content

Commit

Permalink
Updating java and maven Version (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
JayPi4c authored Oct 29, 2024
1 parent 4422249 commit dfde747
Show file tree
Hide file tree
Showing 12 changed files with 331 additions and 435 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-jar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Set up JDK
uses: actions/[email protected]
with:
java-version: '22'
java-version: '23'
distribution: 'temurin'
cache: maven
- name: Build Server and Client with Maven
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-jpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Set up JDK
uses: actions/[email protected]
with:
java-version: '22'
java-version: '23'
distribution: 'temurin'
cache: maven
- name: Build and Package using build-client.sh
Expand All @@ -43,7 +43,7 @@ jobs:
- name: Set up JDK
uses: actions/[email protected]
with:
java-version: '22'
java-version: '23'
distribution: 'temurin'
cache: maven
- name: Build and Package using build-client.sh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up JDK
uses: actions/[email protected]
with:
java-version: '22'
java-version: '23'
distribution: 'temurin'
cache: maven
- name: Build with Maven
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up JDK
uses: actions/[email protected]
with:
java-version: '22'
java-version: '23'
distribution: 'temurin'
cache: maven
- name: Build with Maven
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up JDK
uses: actions/[email protected]
with:
java-version: '22'
java-version: '23'
distribution: 'temurin'
cache: maven
- name: Verify with Maven
Expand Down
Binary file removed .mvn/wrapper/maven-wrapper.jar
Binary file not shown.
5 changes: 3 additions & 2 deletions .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.6/apache-maven-3.9.6-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
wrapperVersion=3.3.2
distributionType=only-script
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM maven:3.9.6-eclipse-temurin-22-alpine AS builder
FROM maven:3.9.9-eclipse-temurin-23-alpine AS builder
WORKDIR /opt/app
COPY . .
RUN --mount=type=cache,target=/root/.m2 mvn --activate-profiles docker --projects server --also-make --batch-mode --update-snapshots clean install package

FROM eclipse-temurin:22-jre-alpine
FROM eclipse-temurin:23-jre-alpine
WORKDIR /opt/kurtama

# Create a group and user
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ devastating situations.

## Build

This project is written in Java 22 and uses Maven as its build tool. To build the project, you need to have
This project is written in Java 23 and uses Maven as its build tool. To build the project, you need to have
Java 21 installed. Clone this repository and run the following command in the root directory of the project:

```bash
Expand Down
Loading

0 comments on commit dfde747

Please sign in to comment.