summaryrefslogtreecommitdiffstats
path: root/http-utils
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2021-11-15 13:02:06 +0100
committergjoranv <gv@verizonmedia.com>2021-11-15 13:10:14 +0100
commit3b4972e15911ca5d106b5cd952aeeedd8411ce6a (patch)
treebe0058663a18e31ca35108ca9819460e855e5989 /http-utils
parent3db0193e1998ef5ed3f176c4f46cc4c4c08f9000 (diff)
Use a custom property for setting relase version for clients.
- Always set release version via maven-compiler-plugin, instead of maven property which is overridden by compiler-plugin config. - Using a custom property with self-explanatory name makes comments redundant. - Remove explicit jdkToolchain config, as these modules no longer compile with jdk pre 9, due to the --release flag.
Diffstat (limited to 'http-utils')
-rw-r--r--http-utils/pom.xml12
1 files changed, 1 insertions, 11 deletions
diff --git a/http-utils/pom.xml b/http-utils/pom.xml
index e387e2c59e1..be62b7adb35 100644
--- a/http-utils/pom.xml
+++ b/http-utils/pom.xml
@@ -12,12 +12,6 @@
<packaging>jar</packaging>
<version>7-SNAPSHOT</version>
- <properties>
- <!-- vespa-http-client targets jdk8 and uses this library -->
- <!-- TODO remove once vespa-http-client no longer builds against jdk8 -->
- <maven.compiler.release>8</maven.compiler.release>
- </properties>
-
<dependencies>
<!-- provided -->
<dependency>
@@ -73,11 +67,7 @@
<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>
+ <release>${vespaClients.jdk.releaseVersion}</release>
<showDeprecation>true</showDeprecation>
<compilerArgs>
<arg>-Xlint:all</arg>