Skip to content

Commit b80edce

Browse files
committed
feat: #94 Allow Java 17 on tests only
Signed-off-by: Laurent Broudoux <[email protected]>
1 parent 150f71f commit b80edce

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pom.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
<sonar.organization>microcks</sonar.organization>
5555
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
5656
<java.version>8</java.version>
57+
<test.java.version>17</test.java.version>
5758
<testcontainers.version>1.20.1</testcontainers.version>
5859
<jupiter.version>5.8.1</jupiter.version>
5960
<rest-assured.version>5.3.1</rest-assured.version>
@@ -189,13 +190,15 @@
189190
<plugin>
190191
<groupId>org.apache.maven.plugins</groupId>
191192
<artifactId>maven-compiler-plugin</artifactId>
192-
<version>3.1</version>
193+
<version>3.5.1</version>
193194
<configuration>
194195
<source>${java.version}</source>
195196
<target>${java.version}</target>
196197
<encoding>${project.build.sourceEncoding}</encoding>
197198
<compilerArgument>-Xlint:deprecation</compilerArgument>
198199
<compilerArgument>-Xlint:unchecked</compilerArgument>
200+
<testSource>${test.java.version}</testSource>
201+
<testTarget>${test.java.version}</testTarget>
199202
</configuration>
200203
</plugin>
201204
</plugins>

0 commit comments

Comments
 (0)