summaryrefslogtreecommitdiffstats
path: root/security-utils
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@verizonmedia.com>2019-04-04 19:16:47 +0200
committerBjørn Christian Seime <bjorncs@verizonmedia.com>2019-04-04 19:16:47 +0200
commitfedea53d29b4fca3c5cbaec03a321e4c25129a55 (patch)
treea2cc703e862330cbb08f6f76faac1f2221f6b308 /security-utils
parent23853baff3cce9718d2499457c95bc46bd73d67f (diff)
Apache httpclient must be included in compile scope
The apache http libraries are not osgi bundles. Including them as provided scope does not work as the required import-package statements are not added to the jar manifest.
Diffstat (limited to 'security-utils')
-rw-r--r--security-utils/pom.xml16
1 files changed, 10 insertions, 6 deletions
diff --git a/security-utils/pom.xml b/security-utils/pom.xml
index e326687ff61..f7704762250 100644
--- a/security-utils/pom.xml
+++ b/security-utils/pom.xml
@@ -19,12 +19,6 @@
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient</artifactId>
- <scope>provided</scope>
- <optional>true</optional> <!-- Only needed for classes in com.yahoo.security.tls.https -->
- </dependency>
<!-- compile scope -->
<dependency>
@@ -37,6 +31,16 @@
<artifactId>jackson-databind</artifactId>
<scope>compile</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpclient</artifactId>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpcore</artifactId>
+ <scope>compile</scope>
+ </dependency>
<!-- test scope -->
<dependency>