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

fabric8-project-bom-cxf-spring-boot does not declare spring-boot dependencies

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • FIS 2.0
    • FIS 2.0
    • FIS-Spring Boot
    • None
    • % %
    • FIS 2.0 Sprint 9

      The fabric8-project-bom-cxf-spring-boot BOM doesn't declare spring-boot dependencies.

      To use it in applications, one has to add the spring boot BOM:

      (example from the spring-boot-cxf-jaxrs archetype: )

       
      <dependencyManagement>
          <dependencies>
            <!-- import fabric8 platform bom first -->
            <dependency>
              <groupId>io.fabric8</groupId>
              <artifactId>fabric8-project-bom-cxf-spring-boot</artifactId>
              <version>${fabric8.version}</version>
              <type>pom</type>
              <scope>import</scope>
            </dependency>
            <dependency>
              <groupId>org.springframework.boot</groupId>
              <artifactId>spring-boot-dependencies</artifactId>
              <version>${spring-boot.version}</version>
              <type>pom</type>
              <scope>import</scope>
            </dependency>
          </dependencies>
        </dependencyManagement>
      

      Which is dangerous, as the outcome is a different effective pom than with fabric8-project-bom-camel-spring-boot (e.g. different jetty version )

              Unassigned Unassigned
              maschmid@redhat.com Marek Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: