Skip to content

Commit

Permalink
Fix target version to JDK11 for api and client
Browse files Browse the repository at this point in the history
  • Loading branch information
johnaohara committed Sep 24, 2024
1 parent 4396b55 commit 4173199
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 4 additions & 2 deletions horreum-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@
<artifactId>horreum-api</artifactId>

<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<!-- Due to Jenkins plugin we will keep api and client on Java 11 -->
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.release>11</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
Expand Down
7 changes: 4 additions & 3 deletions horreum-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- Due to Jenkins plugin we will keep model, api and client on Java 8 -->
<maven.compiler.target>8</maven.compiler.target>
<maven.compiler.source>8</maven.compiler.source>
<!-- Due to Jenkins plugin we will keep api and client on Java 11 -->
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.release>11</maven.compiler.release>
<use.java11plus>true</use.java11plus>
</properties>

Expand Down

0 comments on commit 4173199

Please sign in to comment.