Skip to content

Commit e14c639

Browse files
slachiewiczkriegaex
authored andcommitted
Fix build with Java 24
1 parent 5997ff1 commit e14c639

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@
478478
<plugin>
479479
<groupId>org.apache.maven.plugins</groupId>
480480
<artifactId>maven-invoker-plugin</artifactId>
481-
<version>3.6.0</version>
481+
<version>3.9.0</version>
482482
</plugin>
483483
<plugin>
484484
<groupId>org.apache.maven.plugins</groupId>

src/it/AnnotationProcessingOutput/pom.xml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<properties>
99
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1010
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
11+
<auto-value.version>1.11.0</auto-value.version>
1112
</properties>
1213

1314
<dependencies>
@@ -19,13 +20,12 @@
1920
<dependency>
2021
<groupId>com.google.auto.value</groupId>
2122
<artifactId>auto-value-annotations</artifactId>
22-
<version>1.6</version>
23+
<version>${auto-value.version}</version>
2324
</dependency>
2425
<dependency>
2526
<groupId>com.google.auto.value</groupId>
2627
<artifactId>auto-value</artifactId>
27-
<version>1.6</version>
28-
<scope>provided</scope>
28+
<version>${auto-value.version}</version>
2929
</dependency>
3030
</dependencies>
3131

@@ -34,10 +34,17 @@
3434
<plugin>
3535
<groupId>org.apache.maven.plugins</groupId>
3636
<artifactId>maven-compiler-plugin</artifactId>
37-
<version>3.1</version>
37+
<version>3.14.0</version>
3838
<configuration>
39-
<source>1.8</source>
40-
<target>1.8</target>
39+
<source>8</source>
40+
<target>8</target>
41+
<annotationProcessorPaths>
42+
<path>
43+
<groupId>com.google.auto.value</groupId>
44+
<artifactId>auto-value</artifactId>
45+
<version>${auto-value.version}</version>
46+
</path>
47+
</annotationProcessorPaths>
4148
</configuration>
4249
</plugin>
4350
<plugin>

0 commit comments

Comments
 (0)