citrusframework / citrusframework/citrus
org.eclipse.jetty dependency clash between citrus-http and citrus-remote-server
- Dominant language
- Java
- Stars
- 485
- Forks
- 155
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 6
Description
**Citrus Version**
2.7.6
Hi,
unfortunatly there is a dependency clash in citrus dependencies for org.eclipse jetty.
My Test-Setup is:
- HttpServer-Mock (needs 'citrus-http' dependency)
- run citrus-tests in an openshift environment, so i used the citrus-remote-plugin and the dependency 'citrus-remote-server' to build a war, which is deployed in an tomcat docker image on openshift.
- the remote plugin creates a war with all transistive depenedencies inside the web-inf/lib folder.
- so i got jetty 9.4.6 libs and some jetty 9.4.8 libs in the lib-folder.
- while citrus tries to start the jetty for my HttpServerMock in my tomcat docker image i got magic org.eclipse.jetty exceptions
**Hotfix**
I could solve this problem by excluding the org.eclipse.jetty dependencies from the citrus-http-dependency. But this is just a hotfix and should be solved by citrus in future.
```xml
com.consol.citrus
citrus-remote-server
com.consol.citrus
citrus-http
org.eclipse.jetty
jetty-server
org.eclipse.jetty
jetty-servlet
```
Kind regards
abt
Contributor guide
Assessment
This issue has not been assessed yet.