diff options
author | gjoranv <gv@verizonmedia.com> | 2020-01-25 23:22:17 +0100 |
---|---|---|
committer | gjoranv <gv@verizonmedia.com> | 2020-01-27 11:05:08 +0100 |
commit | 5653ebb3011e4697d77339b96848d0d6c60b3c21 (patch) | |
tree | 6b04857799e8daddd9a0a41030cf0a6a443ae500 | |
parent | 7c188852e4c7ca66a88446ba7045550157a67e90 (diff) |
Exclude httpclient from container-disc (really container-core)
- httpclient has been added in compile scope to container-core
for the metrics/v2 api, and is not provided runtime by jdisc.
- Add htpclient in compile scope in 'application', as it is now
needed on the class path for application based tests.
(Because the MetricsV2Handler is always set up)
-rw-r--r-- | application/pom.xml | 2 | ||||
-rw-r--r-- | container-dev/pom.xml | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/application/pom.xml b/application/pom.xml index 7bcda0ce386..d173fec19cf 100644 --- a/application/pom.xml +++ b/application/pom.xml @@ -119,8 +119,8 @@ <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> - <scope>test</scope> </dependency> + <dependency> <groupId>com.yahoo.vespa</groupId> <artifactId>testutil</artifactId> diff --git a/container-dev/pom.xml b/container-dev/pom.xml index a7217d05315..738a4cc8700 100644 --- a/container-dev/pom.xml +++ b/container-dev/pom.xml @@ -106,6 +106,10 @@ <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> </exclusion> + <exclusion> + <groupId>org.apache.httpcomponents</groupId> + <artifactId>httpclient</artifactId> + </exclusion> </exclusions> </dependency> <dependency> |