Skip to content

Commit d687aa0

Browse files
Upgrade to Java 25 and configure Lombok annotation processors (#351)
* Upgrade to Java 25 and configure Lombok annotation processors Co-authored-by: thomasturrell <1552612+thomasturrell@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: thomasturrell <1552612+thomasturrell@users.noreply.github.com>
1 parent 746dae0 commit d687aa0

6 files changed

Lines changed: 32 additions & 6 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- uses: actions/setup-java@v5
4646
with:
4747
distribution: 'temurin'
48-
java-version: '17'
48+
java-version: '25'
4949

5050
# Initializes the CodeQL tools for scanning.
5151
- name: Initialize CodeQL

.github/workflows/maven_pull_request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v3
15-
- name: Set up JDK 17
15+
- name: Set up JDK 25
1616
uses: actions/setup-java@v5
1717
with:
18-
java-version: "17"
18+
java-version: "25"
1919
distribution: "temurin"
2020
cache: maven
2121
- name: Build with Maven

.github/workflows/maven_push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v3
15-
- name: Set up JDK 17
15+
- name: Set up JDK 25
1616
uses: actions/setup-java@v5
1717
with:
18-
java-version: "17"
18+
java-version: "25"
1919
distribution: "temurin"
2020
cache: maven
2121
- name: Build with Maven

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<description>learning.dev xAPI Build</description>
1616
<url>https://github.com/BerryCloud/xapi-java</url>
1717
<properties>
18-
<java.version>17</java.version>
18+
<java.version>25</java.version>
1919
<jacoco-maven-plugin.version>0.8.14</jacoco-maven-plugin.version>
2020
<maven-checkstyle-plugin.version>3.5.0</maven-checkstyle-plugin.version>
2121
<checkstyle.version>10.6.0</checkstyle.version>

xapi-client/pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,19 @@
5555
<groupId>org.jacoco</groupId>
5656
<artifactId>jacoco-maven-plugin</artifactId>
5757
</plugin>
58+
<plugin>
59+
<groupId>org.apache.maven.plugins</groupId>
60+
<artifactId>maven-compiler-plugin</artifactId>
61+
<configuration>
62+
<annotationProcessorPaths>
63+
<path>
64+
<groupId>org.projectlombok</groupId>
65+
<artifactId>lombok</artifactId>
66+
<version>${lombok.version}</version>
67+
</path>
68+
</annotationProcessorPaths>
69+
</configuration>
70+
</plugin>
5871
</plugins>
5972
</build>
6073

xapi-model/pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,19 @@
8282
<groupId>org.jacoco</groupId>
8383
<artifactId>jacoco-maven-plugin</artifactId>
8484
</plugin>
85+
<plugin>
86+
<groupId>org.apache.maven.plugins</groupId>
87+
<artifactId>maven-compiler-plugin</artifactId>
88+
<configuration>
89+
<annotationProcessorPaths>
90+
<path>
91+
<groupId>org.projectlombok</groupId>
92+
<artifactId>lombok</artifactId>
93+
<version>${lombok.version}</version>
94+
</path>
95+
</annotationProcessorPaths>
96+
</configuration>
97+
</plugin>
8598
</plugins>
8699
</build>
87100
</project>

0 commit comments

Comments
 (0)