summaryrefslogtreecommitdiffstats
path: root/vespa-feed-client-api
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@vespa.ai>2023-04-17 13:42:05 +0200
committerJon Bratseth <bratseth@vespa.ai>2023-04-17 13:42:05 +0200
commit2e2d9c57a39425273d12b49183b55b46b5c680b2 (patch)
treea43c07e48fa822c1c9330cdf3edd64cbfa2cbf4e /vespa-feed-client-api
parentb66f35888ad413800ac16f841582da5bf067cb7f (diff)
Build with jdk20
Diffstat (limited to 'vespa-feed-client-api')
-rw-r--r--vespa-feed-client-api/pom.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/vespa-feed-client-api/pom.xml b/vespa-feed-client-api/pom.xml
index 5509c339eee..0782bb6b28e 100644
--- a/vespa-feed-client-api/pom.xml
+++ b/vespa-feed-client-api/pom.xml
@@ -42,6 +42,12 @@
<configuration>
<release>${vespaClients.jdk.releaseVersion}</release>
<showDeprecation>true</showDeprecation>
+ <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>