Postgresql 液化酶替代品;弹簧启动启动器数据jpa“;maven依赖
我们目前正在为Quarkus项目评估Liquibase。正在尝试与maven进行差异和更新。 我们宁愿遵循不使用spring的政策,因为它可能会与Quarkus发生冲突 使用以下配置 液化酶性质Postgresql 液化酶替代品;弹簧启动启动器数据jpa“;maven依赖,postgresql,maven,build,liquibase,quarkus,Postgresql,Maven,Build,Liquibase,Quarkus,我们目前正在为Quarkus项目评估Liquibase。正在尝试与maven进行差异和更新。 我们宁愿遵循不使用spring的政策,因为它可能会与Quarkus发生冲突 使用以下配置 液化酶性质 url: jdbc:postgresql://localhost:5432/databaseName username: user password: password diffTypes=tables,indexes referenceDriver=liquibase.ext.hibernate.d
url: jdbc:postgresql://localhost:5432/databaseName
username: user
password: password
diffTypes=tables,indexes
referenceDriver=liquibase.ext.hibernate.database.connection.HibernateDriver
#referenceDriver=org.postgresql.Driver
referenceUrl=hibernate:spring:my.company.ipo.database.core.modelLiquibase?dialect=org.hibernate.dialect.PostgreSQL9Dialect
pom-xml中的依赖关系
<plugin>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-maven-plugin</artifactId>
<version>4.1.1</version>
<configuration>
<propertyFile>${basedir}/src/main/resources/liquibase/liquibase.properties</propertyFile>
<changeLogFile>${basedir}/src/main/resources/liquibase/diff.postgresql.sql</changeLogFile>
<diffChangeLogFile>${basedir}/src/main/resources/liquibase/diff.postgresql.sql</diffChangeLogFile>
<outputChangeLogFile>${basedir}/src/main/resources/liquibase/newChangeLog.xml</outputChangeLogFile>
</configuration>
<dependencies>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>2.0.1.Final</version>
</dependency>
<dependency>
<groupId>org.liquibase.ext</groupId>
<artifactId>liquibase-hibernate5</artifactId>
<version>4.1.1</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
<version>2.2.2.RELEASE</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>diff generation</id>
<phase>compile</phase>
<goals>
<goal>diff</goal>
<goal>clearCheckSums</goal>
<goal>update</goal>
</goals>
</execution>
</executions>
</plugin>
org.liquibase
liquibase maven插件
4.1.1
${basedir}/src/main/resources/liquibase/liquibase.properties
${basedir}/src/main/resources/liquibase/diff.postgresql.sql
${basedir}/src/main/resources/liquibase/diff.postgresql.sql
${basedir}/src/main/resources/liquibase/newChangeLog.xml
javax.validation
验证api
2.0.1.最终版本
org.liquibase.ext
液化酶-5
4.1.1
org.springframework.boot
spring引导启动器数据jpa
2.2.2.1发布
差异生成
编译
差异
清除校验和
更新
有了这个上层配置,它就可以工作了,不过有很多警告
但是我试图用spring以外的东西来替换spring启动依赖项
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
<version>2.2.2.RELEASE</version>
</dependency>
org.springframework.boot
spring引导启动器数据jpa
2.2.2.1发布
有在这里的生活经历吗