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

XWIKI-19270: Add support for performing the PDF export using a browser running...

XWIKI-19270: Add support for performing the PDF export using a browser running in a Docker container
* Force the 1.0 version of the WebSocket API because we're still supporting Jetty 9.4.x and cdt-java-client seems to be compatible with 1.0 version even if it depends on 1.1

(cherry picked from commit 19367770)
parent 1354c0d7
No related branches found
No related tags found
No related merge requests found
......@@ -74,6 +74,20 @@
<groupId>com.github.kklisura.cdt</groupId>
<artifactId>cdt-java-client</artifactId>
<version>4.0.0</version>
<exclusions>
<!-- Chrome Developer Tools Java client depends on WebSocket API 1.1 which we can't use yet because we support
an older version of Jetty (9.4.x). Fortunately, it seems that the code is compatible with the WebSocket API
1.0 version that comes from our parent POM so we can force it for now. -->
<exclusion>
<groupId>javax.websocket</groupId>
<artifactId>javax.websocket-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Replaces the 1.1 version coming as transitive dependency of cdt-java-client, see above. -->
<dependency>
<groupId>javax.websocket</groupId>
<artifactId>javax.websocket-api</artifactId>
</dependency>
<!-- Test dependencies -->
<dependency>
......
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