aboutsummaryrefslogtreecommitdiffstats
path: root/client/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'client/pom.xml')
-rw-r--r--client/pom.xml13
1 files changed, 7 insertions, 6 deletions
diff --git a/client/pom.xml b/client/pom.xml
index ba153aed8f8..4abcdf9ac6c 100644
--- a/client/pom.xml
+++ b/client/pom.xml
@@ -16,12 +16,6 @@
<packaging>jar</packaging>
<version>7-SNAPSHOT</version>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <!-- TODO: Remove when we no longer support JDK 8 clients -->
- <maven.compiler.release>8</maven.compiler.release>
- </properties>
-
<dependencies>
<dependency>
<groupId>com.google.code.gson</groupId>
@@ -64,6 +58,13 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <release>${vespaClients.jdk.releaseVersion}</release>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<configuration>
<finalName>${project.artifactId}-jar-with-dependencies</finalName>