Spring boot - disable Liquibase at startup

前端 未结 6 1910
一生所求
一生所求 2021-02-05 00:45

I want to have Liquibase configured with my spring boot aplication, so I added dependencies to pom.xml and set the path to master.xml in application.properties. This works fine

6条回答
  •  不知归路
    2021-02-05 00:47

    There is one more programmatic approach.

    @EnableAutoConfiguration(exclude = LiquibaseAutoConfiguration.class)

    on Application main class

提交回复
热议问题