Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-9268

Unify jetty version with karaf feature and fuse-karaf-bom

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • fuse-7.1
    • fuse-7.2
    • Camel
    • None
    • % %
    • Fuse 7.1 Sprint 33

    Description

      Karaf feature:

      karaf@root()> feature:install -v camel-jetty9
      Adding features: camel-jetty9/[2.21.0.fuse-710016,2.21.0.fuse-710016]
      Changes to perform:
        Region: root
          Bundles to install:
            mvn:org.apache.aries.spifly/org.apache.aries.spifly.dynamic.bundle/1.0.10
            mvn:org.apache.camel/camel-jetty-common/2.21.0.fuse-710016
            mvn:org.apache.camel/camel-jetty9/2.21.0.fuse-710016
            mvn:org.apache.geronimo.specs/geronimo-jaspic_1.0_spec/1.1
            mvn:org.eclipse.jetty/jetty-client/9.4.10.v20180503
            mvn:org.eclipse.jetty/jetty-continuation/9.4.10.v20180503
            mvn:org.eclipse.jetty/jetty-deploy/9.4.10.v20180503
            mvn:org.eclipse.jetty/jetty-http/9.4.10.v20180503
            mvn:org.eclipse.jetty/jetty-io/9.4.10.v20180503
            mvn:org.eclipse.jetty/jetty-jaas/9.4.10.v20180503
            mvn:org.eclipse.jetty/jetty-jmx/9.4.10.v20180503
            mvn:org.eclipse.jetty/jetty-jndi/9.4.10.v20180503
            mvn:org.eclipse.jetty/jetty-plus/9.4.10.v20180503
            mvn:org.eclipse.jetty/jetty-rewrite/9.4.10.v20180503
            mvn:org.eclipse.jetty/jetty-security/9.4.10.v20180503
            mvn:org.eclipse.jetty/jetty-jaspi/9.4.10.v20180503
            mvn:org.eclipse.jetty/jetty-server/9.4.10.v20180503
            mvn:org.eclipse.jetty/jetty-servlet/9.4.10.v20180503
            mvn:org.eclipse.jetty/jetty-servlets/9.4.10.v20180503
            mvn:org.eclipse.jetty/jetty-util/9.4.10.v20180503
            mvn:org.eclipse.jetty/jetty-util-ajax/9.4.10.v20180503
            mvn:org.eclipse.jetty/jetty-webapp/9.4.10.v20180503
            mvn:org.eclipse.jetty.websocket/websocket-api/9.4.10.v20180503
            mvn:org.eclipse.jetty.websocket/websocket-client/9.4.10.v20180503
            mvn:org.eclipse.jetty.websocket/websocket-common/9.4.10.v20180503
            mvn:org.eclipse.jetty.websocket/javax-websocket-client-impl/9.4.10.v20180503
            mvn:org.eclipse.jetty.websocket/javax-websocket-server-impl/9.4.10.v20180503
            mvn:org.eclipse.jetty.websocket/websocket-server/9.4.10.v20180503
            mvn:org.eclipse.jetty.websocket/websocket-servlet/9.4.10.v20180503
            mvn:org.eclipse.jetty/jetty-xml/9.4.10.v20180503
      

      But we are compiling application with two different versions of jetty with fuse-karaf-bom

      [INFO] +- org.apache.camel:camel-jetty9:jar:2.21.0.fuse-710016:compile
      [INFO] |  +- org.apache.camel:camel-http-common:jar:2.21.0.fuse-710016:compile
      [INFO] |  +- org.eclipse.jetty:jetty-server:jar:9.2.21.v20170120:compile
      [INFO] |  |  +- org.eclipse.jetty:jetty-http:jar:9.2.21.v20170120:compile
      [INFO] |  |  \- org.eclipse.jetty:jetty-io:jar:9.2.21.v20170120:compile
      [INFO] |  +- org.eclipse.jetty:jetty-servlet:jar:9.2.21.v20170120:compile
      [INFO] |  +- org.eclipse.jetty:jetty-security:jar:9.2.21.v20170120:compile
      [INFO] |  +- org.eclipse.jetty:jetty-servlets:jar:9.4.10.v20180503:compile
      [INFO] |  |  \- org.eclipse.jetty:jetty-continuation:jar:9.2.21.v20170120:compile
      [INFO] |  +- org.eclipse.jetty:jetty-client:jar:9.4.10.v20180503:compile
      [INFO] |  +- org.eclipse.jetty:jetty-jmx:jar:9.2.21.v20170120:compile
      [INFO] |  +- org.eclipse.jetty:jetty-util:jar:9.2.21.v20170120:compile
      

      It seems that version 9.2.21.v20170120 is imported from cxf-parent https://github.com/jboss-fuse/cxf/blob/cxf-3.1.11.fuse-710022/parent/pom.xml#L124

      Tested with

      <dependency>
      	<groupId>org.jboss.redhat-fuse</groupId>
      	<artifactId>fuse-karaf-bom</artifactId>
      	<version>7.1.0.fuse-710012</version>
      	<type>pom</type>
      	<scope>import</scope>
      </dependency>
      

      Attachments

        Activity

          People

            yfang@redhat.com Freeman(Yue) Fang
            jbouska@redhat.com Jan Bouska
            Jan Bouska Jan Bouska
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: