aboutsummaryrefslogtreecommitdiffstats
path: root/vespaclient-java
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@yahooinc.com>2023-01-12 17:11:01 +0100
committerBjørn Christian Seime <bjorncs@yahooinc.com>2023-01-20 14:46:37 +0100
commitec5c06887cdfe5c31ae561a0e671fb943b324d04 (patch)
treecae6ff947a669f846914c0db83d6748a597b2024 /vespaclient-java
parentb7e28f7960ba06d10b4bb8b10681acbf34230b32 (diff)
Inline apache http client artifacts in container-apache-http-client-bundle
Allows container-apache-http-client-bundle to be used on classpath for classic fatjars. Since the bundle is now built with Felix's bundle plugin, there is no need to depend on jdisc_core or manually export through `@PublicApi` annotations.
Diffstat (limited to 'vespaclient-java')
-rw-r--r--vespaclient-java/pom.xml10
1 files changed, 4 insertions, 6 deletions
diff --git a/vespaclient-java/pom.xml b/vespaclient-java/pom.xml
index a31d3c834dd..39965bd6d3b 100644
--- a/vespaclient-java/pom.xml
+++ b/vespaclient-java/pom.xml
@@ -68,13 +68,11 @@
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
</dependency>
- <dependency>
- <groupId>org.apache.httpcomponents.client5</groupId>
- <artifactId>httpclient5</artifactId>
- </dependency>
<dependency>
- <groupId>org.apache.httpcomponents.core5</groupId>
- <artifactId>httpcore5</artifactId>
+ <groupId>com.yahoo.vespa</groupId>
+ <artifactId>container-apache-http-client-bundle</artifactId>
+ <version>${project.version}</version>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>