compile in java-8-compatibility mode

This commit is contained in:
Peter Hormanns 2024-01-12 19:16:26 +01:00
parent 83b7eba59e
commit 023509d2dd
3 changed files with 10 additions and 10 deletions

View File

@ -11,8 +11,8 @@
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>11</maven.compiler.source> <maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target> <maven.compiler.target>8</maven.compiler.target>
</properties> </properties>
<profiles> <profiles>
<profile> <profile>
@ -116,8 +116,8 @@
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version> <version>3.11.0</version>
<configuration> <configuration>
<source>11</source> <source>8</source>
<target>11</target> <target>8</target>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>

View File

@ -7,7 +7,7 @@
<version>4.0.15</version> <version>4.0.15</version>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>11</java.version> <java.version>8</java.version>
</properties> </properties>
<dependencies> <dependencies>
<dependency> <dependency>
@ -61,8 +61,8 @@
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version> <version>3.11.0</version>
<configuration> <configuration>
<source>11</source> <source>8</source>
<target>11</target> <target>8</target>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>

View File

@ -7,7 +7,7 @@
<version>4.0.15</version> <version>4.0.15</version>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>11</java.version> <java.version>8</java.version>
</properties> </properties>
<dependencies> <dependencies>
<dependency> <dependency>
@ -24,8 +24,8 @@
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version> <version>3.11.0</version>
<configuration> <configuration>
<source>11</source> <source>8</source>
<target>11</target> <target>8</target>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>