Skip to content

Commit 00985bf

Browse files
authored
Fix hibernate dependency management (#446)
1 parent 4b1e7a4 commit 00985bf

File tree

2 files changed

+17
-6
lines changed

2 files changed

+17
-6
lines changed

build/pom.xml

+12-6
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,22 @@
1616
<dependencyManagement>
1717
<dependencies>
1818
<dependency>
19-
<groupId>org.springframework.boot</groupId>
20-
<artifactId>spring-boot-dependencies</artifactId>
21-
<version>${spring-boot.version}</version>
19+
<groupId>org.hibernate.orm</groupId>
20+
<artifactId>hibernate-platform</artifactId>
21+
<version>${hibernate.version}</version>
2222
<type>pom</type>
2323
<scope>import</scope>
24+
<exclusions>
25+
<exclusion>
26+
<groupId>io.micrometer</groupId>
27+
<artifactId>micrometer-core</artifactId>
28+
</exclusion>
29+
</exclusions>
2430
</dependency>
2531
<dependency>
26-
<groupId>org.hibernate.orm</groupId>
27-
<artifactId>hibernate-platform</artifactId>
28-
<version>${hibernate.version}</version>
32+
<groupId>org.springframework.boot</groupId>
33+
<artifactId>spring-boot-dependencies</artifactId>
34+
<version>${spring-boot.version}</version>
2935
<type>pom</type>
3036
<scope>import</scope>
3137
</dependency>

dependencies/pom.xml

+5
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@
9090
<artifactId>joda-time</artifactId>
9191
<version>${joda-time.version}</version>
9292
</dependency>
93+
<dependency>
94+
<groupId>org.hibernate.orm</groupId>
95+
<artifactId>hibernate-core</artifactId>
96+
<version>${hibernate.version}</version>
97+
</dependency>
9398
</dependencies>
9499
</dependencyManagement>
95100

0 commit comments

Comments
 (0)