diff options
author | Jon Bratseth <bratseth@vespa.ai> | 2023-04-17 13:42:05 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@vespa.ai> | 2023-04-17 13:42:05 +0200 |
commit | 2e2d9c57a39425273d12b49183b55b46b5c680b2 (patch) | |
tree | a43c07e48fa822c1c9330cdf3edd64cbfa2cbf4e /client/pom.xml | |
parent | b66f35888ad413800ac16f841582da5bf067cb7f (diff) |
Build with jdk20
Diffstat (limited to 'client/pom.xml')
-rw-r--r-- | client/pom.xml | 6 |
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> |