From 854ae4a1897380756f6ce63492e9081e1a072f59 Mon Sep 17 00:00:00 2001 From: Martin Vogel <martin.vogel@sinc.de> Date: Mon, 5 Sep 2022 20:37:42 +0200 Subject: [PATCH] Use mvn release property --- pom.xml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index 3501ca279..59526730d 100644 --- a/pom.xml +++ b/pom.xml @@ -11,8 +11,7 @@ <properties> <java.version>11</java.version> - <maven.compiler.source>${java.version}</maven.compiler.source> - <maven.compiler.target>${java.version}</maven.compiler.target> + <maven.compiler.release>11</maven.compiler.release> <encoding>UTF-8</encoding> <project.build.sourceEncoding>${encoding}</project.build.sourceEncoding> @@ -178,10 +177,6 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${maven-compiler-plugin.version}</version> - <configuration> - <source>11</source> - <target>11</target> - </configuration> </plugin> <plugin> -- GitLab