Skip to content

Commit

Permalink
Merge pull request #20693 from jhipster/skip_ci-liquibase-hibernate6
Browse files Browse the repository at this point in the history
Migrate to liquibase-hibernate6
  • Loading branch information
DanielFran authored Dec 29, 2022
2 parents 4647b6c + f9b2fb0 commit c1e7f30
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion generators/server/templates/build.gradle.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ if (SPRING_BOOT_VERSION.indexOf('M') > -1 || SPRING_BOOT_VERSION.indexOf('RC') >
<%_ } _%>
<%_ if (enableLiquibase && databaseTypeSql) { _%>
<%_ if (!reactive) { _%>
liquibaseRuntime "org.liquibase.ext:liquibase-hibernate5:${liquibaseHibernate5Version}"
liquibaseRuntime "org.liquibase.ext:liquibase-hibernate6:${liquibaseHibernate6Version}"
<%_ } _%>
<%_ } _%>
<%_ if (databaseTypeCassandra) { _%>
Expand Down
2 changes: 1 addition & 1 deletion generators/server/templates/gradle.properties.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ caffeineVersion=3.1.2
typesafeConfigVersion=1.4.2
<%_ } _%>
<%_ if (enableLiquibase && databaseTypeSql && !reactive) { _%>
liquibaseHibernate5Version=<%- javaDependencies.liquibase %>
liquibaseHibernate6Version=<%- javaDependencies.liquibase %>
<%_ } _%>
<%_ if (enableLiquibase) { _%>
liquibaseTaskPrefix=liquibase
Expand Down
10 changes: 5 additions & 5 deletions generators/server/templates/pom.xml.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
<%_ } _%>
<%_ if (enableLiquibase && databaseTypeSql) { _%>
<%_ if (!reactive) { _%>
<liquibase-hibernate5.version><%- javaDependencies.liquibase %></liquibase-hibernate5.version>
<liquibase-hibernate6.version><%- javaDependencies.liquibase %></liquibase-hibernate6.version>
<%_ } _%>
<validation-api.version>3.0.2.Final</validation-api.version>
<%_ if (reactive) { _%>
Expand Down Expand Up @@ -1809,8 +1809,8 @@
</dependency>
<dependency>
<groupId>org.liquibase.ext</groupId>
<artifactId>liquibase-hibernate5</artifactId>
<version>${liquibase-hibernate5.version}</version>
<artifactId>liquibase-hibernate6</artifactId>
<version>${liquibase-hibernate6.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down Expand Up @@ -1994,8 +1994,8 @@
</dependency>
<dependency>
<groupId>org.liquibase.ext</groupId>
<artifactId>liquibase-hibernate5</artifactId>
<version>${liquibase-hibernate5.version}</version>
<artifactId>liquibase-hibernate6</artifactId>
<version>${liquibase-hibernate6.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down

0 comments on commit c1e7f30

Please sign in to comment.