citrus
citrus copied to clipboard
Dependency clash between citrus-http and citrus-remote-server
Citrus Version 2.8.0
Expected behavior
When I use citrus-http in combination with the citrus-remote-server, the tests should be executed.
Actual behavior
When I use citrus-http in combination with the citrus-remote-server, the tests are not executed due to a dependency clash between both dependencies.
Workaround
As a workaround, it is possible to exclude the jetty-server from the citrus-remote-server dependency.
<dependency>
<groupId>com.consol.citrus</groupId>
<artifactId>citrus-remote-server</artifactId>
<exclusions>
<exclusion>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
</exclusion>
</exclusions>
</dependency>
Suggested solution
Ensure that the jetty-server of the citrus-http module is the same as the transitive jetty-server dependency of com.sparkjava.spark-core