Federico Mariani created CAMEL-20195:
----------------------------------------

             Summary: Components with mixed jetty versions
                 Key: CAMEL-20195
                 URL: https://issues.apache.org/jira/browse/CAMEL-20195
             Project: Camel
          Issue Type: Dependency upgrade
            Reporter: Federico Mariani


The following camel spring boot components are using different jetty versions:

camel-debezium-mysql-starter
camel-debezium-postgres-starter
camel-hdfs-starter

in particular, these 3 components requires jetty 9, but the camel and spring 
boot boms overrides the jetty version to 12 therefore the dependency tree is 
like this:

{code:java}
[INFO] |  |  |  |  +- org.eclipse.jetty:jetty-server:jar:12.0.3:runtime
[INFO] |  |  |  |  |  +- org.eclipse.jetty:jetty-http:jar:12.0.3:runtime
[INFO] |  |  |  |  |  \- org.eclipse.jetty:jetty-io:jar:12.0.3:runtime
[INFO] |  |  |  |  +- 
org.eclipse.jetty:jetty-servlet:jar:9.4.52.v20230823:runtime
[INFO] |  |  |  |  |  +- org.eclipse.jetty:jetty-security:jar:12.0.3:runtime
[INFO] |  |  |  |  |  \- org.eclipse.jetty:jetty-util-ajax:jar:12.0.3:runtime
[INFO] |  |  |  |  +- 
org.eclipse.jetty:jetty-servlets:jar:9.4.52.v20230823:runtime
[INFO] |  |  |  |  |  +- 
org.eclipse.jetty:jetty-continuation:jar:9.4.52.v20230823:runtime
[INFO] |  |  |  |  |  \- org.eclipse.jetty:jetty-util:jar:12.0.3:runtime
[INFO] |  |  |  |  +- org.eclipse.jetty:jetty-client:jar:12.0.3:runtime
[INFO] |  |  |  |  |  \- org.eclipse.jetty:jetty-alpn-client:jar:12.0.3:runtime
{code}

as you can see, jetty9 and jetty12 versions are mixed, we do not have any 
example or test for this component, but I am pretty sure it won't work, and 
most probably was not working in the past (I do not think that jetty9 was 
compatible with 11).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to