Use 1.8 for source/target in ITs - allow to execute by newer JDK

1.7 was removed in JDK 20
This commit is contained in:
Slawomir Jaranowski 2023-09-23 11:56:00 +02:00
parent f0fca33818
commit ad1e9257dd
3 changed files with 7 additions and 7 deletions

View File

@ -43,8 +43,8 @@
<execution> <execution>
<id>default-compile</id> <id>default-compile</id>
<configuration> <configuration>
<source>1.7</source> <source>1.8</source>
<target>1.7</target> <target>1.8</target>
<includes> <includes>
<include>**/Diamond.java</include> <include>**/Diamond.java</include>
</includes> </includes>
@ -70,7 +70,7 @@
<execution> <execution>
<id>default-compile</id> <id>default-compile</id>
<configuration> <configuration>
<release>7</release> <release>8</release>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>

View File

@ -24,8 +24,8 @@
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version> <version>3.10.1</version>
<configuration> <configuration>
<source>1.7</source> <source>1.8</source>
<target>1.7</target> <target>1.8</target>
<encoding>UTF-8</encoding> <encoding>UTF-8</encoding>
</configuration> </configuration>
</plugin> </plugin>

View File

@ -34,8 +34,8 @@
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version> <version>3.10.1</version>
<configuration> <configuration>
<source>1.7</source> <source>1.8</source>
<target>1.7</target> <target>1.8</target>
<encoding>UTF-8</encoding> <encoding>UTF-8</encoding>
</configuration> </configuration>
</plugin> </plugin>