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

MIssing hibernate-core and other hibernate dependencies in Fuse spring-boot BOM

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • None
    • fuse-7.3
    • None
    • None
    • % %

      In Fuse Spring Boot BOM, there are missing hibernate dependencies correct version. There is only old hibernate-entitymanager redefined to correct version. (It has been moved to hibernate-core). We should override also it's transitive dependencies, because when we use recommended way of creating application, we should use this order of BOM and then use hibernate-entitymanager as a dependency. Unfortunately, transitive dependencies like hibernate-core will be overriden by dependecnyManagement section in spring-boot-dependencies:

      <dependencyManagement>
      				<dependencies>
      					<!-- Spring Boot BOMs -->
      					<dependency>
      						<groupId>org.jboss.redhat-fuse</groupId>
      						<artifactId>fuse-springboot-bom</artifactId>
      						<version>${version.redhat.fuse}</version>
      						<type>pom</type>
      						<scope>import</scope>
      					</dependency>
      					<dependency>
      						<groupId>org.springframework.boot</groupId>
      						<artifactId>spring-boot-dependencies</artifactId>
      						<version>${version.springboot}</version>
      						<type>pom</type>
      						<scope>import</scope>
      					</dependency>
                  </dependencies>
      </dependencyManagement>
      

              atarocch@redhat.com Andrea Tarocchi
              vkasala@redhat.com Viliam Kasala
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: