Skip to content

Commit

Permalink
feat: #94 Allow Java 17 on tests only
Browse files Browse the repository at this point in the history
Signed-off-by: Laurent Broudoux <laurent.broudoux@gmail.com>
  • Loading branch information
lbroudoux committed Nov 4, 2024
1 parent 150f71f commit b80edce
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<sonar.organization>microcks</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<java.version>8</java.version>
<test.java.version>17</test.java.version>
<testcontainers.version>1.20.1</testcontainers.version>
<jupiter.version>5.8.1</jupiter.version>
<rest-assured.version>5.3.1</rest-assured.version>
Expand Down Expand Up @@ -189,13 +190,15 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<version>3.5.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<encoding>${project.build.sourceEncoding}</encoding>
<compilerArgument>-Xlint:deprecation</compilerArgument>
<compilerArgument>-Xlint:unchecked</compilerArgument>
<testSource>${test.java.version}</testSource>
<testTarget>${test.java.version}</testTarget>
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit b80edce

Please sign in to comment.