diff options
Diffstat (limited to 'vespa-http-client/pom.xml')
-rw-r--r-- | vespa-http-client/pom.xml | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/vespa-http-client/pom.xml b/vespa-http-client/pom.xml index 6ee3d56673d..a33c7f15bf7 100644 --- a/vespa-http-client/pom.xml +++ b/vespa-http-client/pom.xml @@ -117,6 +117,11 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> + <jdkToolchain> + <version>${java.version}</version> + </jdkToolchain> + <source>${java.version}</source> + <target>${java.version}</target> <showDeprecation>true</showDeprecation> <compilerArgs> <arg>-Xlint:all</arg> @@ -157,18 +162,6 @@ </execution> </executions> </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.8.0</version> - <configuration> - <jdkToolchain> - <version>${java.version}</version> - </jdkToolchain> - <source>${java.version}</source> - <target>${java.version}</target> - </configuration> - </plugin> </plugins> </build> </project> |