在liquibase maven插件中集成liquibase扩展

idv4meu8  于 2021-07-05  发布在  Java
关注(0)|答案(1)|浏览(533)

我想在liquibase maven plugin中集成这些扩展中的一个,我该怎么做,甚至如何使用liquibase创建我自己的插件
pom.xml中的插件

<plugin>
    <groupId>org.liquibase</groupId>
    <artifactId>liquibase-maven-plugin</artifactId>
    <version>4.0.0</version>
    <dependencies>
      <dependency>
        <groupId>org.liquibase.ext</groupId>
        <artifactId>liquibase-hibernate5</artifactId>
        <version>4.0.0</version>
      </dependency>
      <dependency>
        <groupId>javax.xml.bind</groupId>
        <artifactId>jaxb-api</artifactId>
        <version>2.1</version>
      </dependency>
      <dependency>
        <groupId>com.sun.xml.bind</groupId>
        <artifactId>jaxb-core</artifactId>
        <version>2.3.0</version>
      </dependency>
      <dependency>
        <groupId>org.hibernate.validator</groupId>
        <artifactId>hibernate-validator</artifactId>
        <version>6.1.5.Final</version>
      </dependency>
      <dependency>
        <groupId>javax.validation</groupId>
        <artifactId>validation-api</artifactId>
        <version>2.0.1.Final</version>
      </dependency>
    </dependencies>
    <configuration>
      <propertyFile>src/main/resources/liquibase/liquibase.properties</propertyFile>
    </configuration>
  </plugin>
sirbozc5

sirbozc51#

我相信你可以在这里找到maven的适当延伸坐标:https://mvnrepository.com/artifact/org.liquibase.ext
我通过liqiubase/maven集成的文档发现:https://docs.liquibase.com/tools-integrations/maven/home.html
罗纳克

相关问题