Skip to content

Commit aed04b3

Browse files
authored
Release v8.0.0, JDK 25 (LTS) (#505)
* #172 Initial commit for upgrade to Java 25 * Update package.json * Seal abstract class
1 parent eef2089 commit aed04b3

18 files changed

Lines changed: 617 additions & 64 deletions

File tree

.github/workflows/aws.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ jobs:
2525
- name: Checkout
2626
uses: actions/checkout@v4
2727

28-
- name: Set up JDK 21
28+
- name: Set up JDK 25
2929
uses: actions/setup-java@v3
3030
with:
31-
java-version: '21'
31+
java-version: '25'
3232
distribution: 'temurin'
3333
cache: maven
3434
- name: Build with Maven
35-
run: mvn -B package --file pom.xml
35+
run: ./mvnw -B package --file pom.xml
3636

3737
- name: Configure AWS credentials
3838
uses: aws-actions/configure-aws-credentials@v1

.github/workflows/maven-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v4
20-
- name: Set up JDK 21
20+
- name: Set up JDK 25
2121
uses: actions/setup-java@v4
2222
with:
23-
java-version: '21'
23+
java-version: '25'
2424
distribution: 'temurin'
2525
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
2626
settings-path: ${{ github.workspace }} # location for the settings.xml file
2727

2828
- name: Build with Maven
29-
run: mvn -B package --file pom.xml
29+
run: ./mvnw -B package --file pom.xml
3030

3131
- name: Publish to GitHub Packages Apache Maven
32-
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
32+
run: ./mvnw deploy -s $GITHUB_WORKSPACE/settings.xml
3333
env:
3434
GITHUB_TOKEN: ${{ github.token }}

.github/workflows/maven.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424

2525
steps:
2626
- uses: actions/checkout@v3
27-
- name: Set up JDK 21
27+
- name: Set up JDK 25
2828
uses: actions/setup-java@v3
2929
with:
30-
java-version: '21'
30+
java-version: '25'
3131
distribution: 'temurin'
3232
cache: maven
3333
- name: Build with Maven
34-
run: mvn -B package --file pom.xml
34+
run: ./mvnw -B package --file pom.xml

.github/workflows/sonar.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
- uses: actions/checkout@v4
1616
with:
1717
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
18-
- name: Set up JDK 21
18+
- name: Set up JDK 25
1919
uses: actions/setup-java@v4
2020
with:
21-
java-version: 21
21+
java-version: 25
2222
distribution: 'zulu' # Alternative distribution options are available.
2323
- name: Cache SonarQube packages
2424
uses: actions/cache@v4
@@ -35,4 +35,4 @@ jobs:
3535
- name: Build and analyze
3636
env:
3737
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
38-
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=conorheffron_ironoc
38+
run: ./mvnw -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=conorheffron_ironoc
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
wrapperVersion=3.3.4
2+
distributionType=only-script
3+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/4.0.0-rc-2/apache-maven-4.0.0-rc-2-bin.zip

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM eclipse-temurin:21-jdk-alpine-3.21
1+
FROM eclipse-temurin:25-alpine-3.22
22

33
COPY target/*.war app.war
44
RUN sh -c 'touch /app.war'

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
Personal website / portfolio [https://www.ironoc.net/](https://www.ironoc.net/)
3232

3333
## Tech Stack
34-
Java 21 (LTS), Spring Boot 3.4, ReactJs 18, Maven 3.8 or later, HTML5+CSS,
34+
Java 25 (LTS), Spring Boot 3.4, ReactJs 18, Maven 4, HTML5+CSS,
3535
Docker / Bash, AWS, minikube, & kubectl.
3636
##### Note: `iRonoc` is an active user of the `GitHub API` & `conorheffron` is a proud participant in the GitHub Developer Program.
3737
- The `iRonoc` PM tool is designed to streamline project management by automating project navigation & issue tracking.
@@ -65,10 +65,10 @@ docker run -d --restart=always -p 8080:8080 conorheffron/ironoc
6565
## Add localhost proxy to frontend config (do not commit - only for local runs).
6666
![ui-config-screenshot](screen-grabs/local-ui-proxy.png)
6767

68-
## Run after project checkout (JDK 21 & Maven 3.8 or later required)
68+
## Run after project checkout (JDK 25 & Maven 4 required)
6969
### Build frontend & server side, along with Java Code Coverage report.
7070
```shell
71-
mvn clean package -U
71+
./mvnw clean package -U
7272
```
7373

7474
#### View Java Code Coverage reports in Browser or Preview tab in IDE.
@@ -110,7 +110,7 @@ npm run test:coverage
110110

111111
### Run app
112112
```shell
113-
mvn -DAWS_ACCESS_KEY_ID="<val1>" \
113+
./mvnw -DAWS_ACCESS_KEY_ID="<val1>" \
114114
-DAWS_REGION=<val2> \
115115
-DAWS_SECRET_ACCESS_KEY="<val3>" \
116116
-DAWS_SESSION_TOKEN="<val4>" \

SECURITY.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
## Supported Versions
44

5-
| Version | Supported |
6-
| ------- | ------------------ |
7-
| 7.x.x | :white_check_mark: |
8-
| <= 6.x.x | :x: |
5+
| Version | Supported |
6+
|----------| ------------------ |
7+
| 8.x.x | :white_check_mark: |
8+
| <= 7.x.x | :x: |
99

1010
## Reporting a Vulnerability
1111

frontend/package-lock.json

Lines changed: 32 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@conorheffron/ironoc-frontend",
3-
"version": "7.7.6",
3+
"version": "8.0.0",
44
"private": false,
55
"license": "GPL-3.0-or-later",
66
"dependencies": {

0 commit comments

Comments
 (0)