Skip to content
Snippets Groups Projects
Commit fb07975f authored by Marius Dumitru Florea's avatar Marius Dumitru Florea
Browse files

[misc] Leftover after docker-java upgrade (the issue has been fixed since...

[misc] Leftover after docker-java upgrade (the issue has been fixed since v3.3.6, see https://github.com/docker-java/docker-java/commit/3514b3ba9c6d938e2a0435ad8d84905cb1cdfed1 )
parent 69c16b58
No related branches found
No related tags found
No related merge requests found
......@@ -82,17 +82,6 @@
<groupId>com.github.docker-java</groupId>
<artifactId>docker-java-transport-httpclient5</artifactId>
</dependency>
<!-- Starting with version 5.2 org.apache.httpcomponents.client5:httpclient5 uses the HttpVersionPolicy class from
org.apache.httpcomponents.core5:httpcore5-h2 . The problem is that docker-java-transport-httpclient5 excludes
httpcore5-h2, see https://github.com/docker-java/docker-java/blob/3.2.13/docker-java-transport-httpclient5/pom.xml#L29-L34
which leads to a NoClassDefFoundError. In order to fix this we add an explicit dependency to httpclient5 (note that
depending on httpcore5-h2 doesn't fix the problem because Extension Manager still favors the exclude; we need to
overwrite the dependency used by docker-java-transport-httpclient5 which is httpclient5).
TODO: Remove this dependency when docker-java-transport-httpclient5 POM is fixed and we upgrade DockerJava version -->
<dependency>
<groupId>org.apache.httpcomponents.client5</groupId>
<artifactId>httpclient5</artifactId>
</dependency>
<!-- Used for interacting with the headless Chrome web browser. -->
<dependency>
<groupId>com.github.kklisura.cdt</groupId>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment