summaryrefslogtreecommitdiffstats
path: root/vespa-http-client
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@verizonmedia.com>2019-10-22 21:51:00 +0200
committerArnstein Ressem <aressem@verizonmedia.com>2019-10-22 21:51:00 +0200
commitdf0f229fdd18c92bfbb94678d27e681fb1c98ca8 (patch)
tree18ae7d7132e661fc54b7148a5f0d8a2d76960b94 /vespa-http-client
parent2433a37c22b225195873efa0c08897c18133f63f (diff)
Use the new release option in JDK 9+ to ensure JDK 8 compability for client libraries.
Diffstat (limited to 'vespa-http-client')
-rw-r--r--vespa-http-client/pom.xml26
1 files changed, 4 insertions, 22 deletions
diff --git a/vespa-http-client/pom.xml b/vespa-http-client/pom.xml
index b17a4708538..bdac1d660dc 100644
--- a/vespa-http-client/pom.xml
+++ b/vespa-http-client/pom.xml
@@ -14,28 +14,10 @@
<name>${project.artifactId}</name>
<description>Independent external feeding API towards Vespa.</description>
- <!-- This is a client jar and should be compilable with jdk8 -->
- <profiles>
- <profile>
- <id>jdk11</id>
- <activation>
- <jdk>11</jdk>
- </activation>
- <properties>
- <java.version>11</java.version>
- </properties>
- </profile>
- <profile>
- <id>jdk1.8</id>
- <activation>
- <jdk>1.8</jdk>
- </activation>
- <properties>
- <java.version>8</java.version>
- </properties>
- </profile>
- </profiles>
-
+ <properties>
+ <!-- This is a client jar and should be compilable with jdk8 -->
+ <maven.compiler.release>8</maven.compiler.release>
+ </properties>
<dependencies>