aboutsummaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2023-04-18 13:12:55 +0200
committerGitHub <noreply@github.com>2023-04-18 13:12:55 +0200
commit4dd12fde1043fb42eeac2917d40e77e2682403e4 (patch)
treeb3f44656ab364bc533cb5783608d11a1e6e8e1d2 /client
parent73ef2088a353406467ba0f18e8d483944d228d0c (diff)
parent2e2d9c57a39425273d12b49183b55b46b5c680b2 (diff)
Merge pull request #26754 from vespa-engine/bratseth/jdk20
Build with jdk20
Diffstat (limited to 'client')
-rw-r--r--client/pom.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/client/pom.xml b/client/pom.xml
index a310e7d6feb..6da6dc74a82 100644
--- a/client/pom.xml
+++ b/client/pom.xml
@@ -35,6 +35,12 @@
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<release>${vespaClients.jdk.releaseVersion}</release>
+ <compilerArgs> <!-- Remove (to use default) when not compiling for 8 -->
+ <arg>-Xlint:all</arg>
+ <arg>-Xlint:-rawtypes</arg>
+ <arg>-Xlint:-unchecked</arg>
+ <arg>-Xlint:-serial</arg>
+ </compilerArgs>
</configuration>
</plugin>
<plugin>