summaryrefslogtreecommitdiffstats
path: root/http-utils
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@verizonmedia.com>2021-06-16 16:59:40 +0200
committerBjørn Christian Seime <bjorncs@verizonmedia.com>2021-06-17 13:16:31 +0200
commita181d8d9de3f4e73daab9ee0d62fd25f094fce2f (patch)
tree782a018797efcf657e723901edcc89b2f9602250 /http-utils
parent83357d0efbdf5426b65bf4aad7483e2b6a3bb1a6 (diff)
Use provided apache http client bundle from container
Diffstat (limited to 'http-utils')
-rw-r--r--http-utils/pom.xml9
1 files changed, 4 insertions, 5 deletions
diff --git a/http-utils/pom.xml b/http-utils/pom.xml
index 1f85658430f..2a8ec1b9bb9 100644
--- a/http-utils/pom.xml
+++ b/http-utils/pom.xml
@@ -31,22 +31,21 @@
<artifactId>slf4j-api</artifactId>
<scope>provided</scope>
</dependency>
-
- <!-- compile scope -->
+ <!-- Apache client artifacts are provided by the jdisc container and are therefore scoped as such -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <scope>compile</scope>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
- <scope>compile</scope>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents.client5</groupId>
<artifactId>httpclient5</artifactId>
- <scope>compile</scope>
+ <scope>provided</scope>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>