From 64bcd982118f36aab2891d644682edc2cf0a6ccc Mon Sep 17 00:00:00 2001 From: Paul McKeown <pmckeown@gmail.com> Date: Sun, 24 Nov 2024 21:35:15 +1300 Subject: [PATCH] Moved source and target config to the compiler plugin --- pom.xml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index a0ec373d..480a54a1 100644 --- a/pom.xml +++ b/pom.xml @@ -65,8 +65,6 @@ <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <maven.compiler.source>1.8</maven.compiler.source> - <maven.compiler.target>1.8</maven.compiler.target> <maven.version>3.9.5</maven.version> </properties> @@ -218,8 +216,14 @@ <version>3.3.1</version> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.11.0</version> + <version>3.13.0</version> + <configuration> + <release>8</release> + <source>8</source> + <target>8</target> + </configuration> </plugin> <plugin> <artifactId>maven-plugin-plugin</artifactId>