给定:
1. Java 中有两个项目。首先是应用程序的业务逻辑。第二个是第一个应用程序中使用的数据模型类。它还包含 changeLog.xml 迁移脚本。
第一个应用程序包含对第二个应用程序的依赖并使用它的类。
2. 我们将 liquibase-maven-plugin 连接到第一个应用程序:
<plugin>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-maven-plugin</artifactId>
<configuration>
**<changeLogFile>
???
</changeLogFile>**
<driver>com.mysql.jdbc.Driver</driver>
<url>jdbc:mysql://${mysql.host}:${mysql.port}/${mysql.db}</url>
<username>${mysql.login}</username>
<password>${mysql.password}</password>
</configuration>
</plugin>
如何从changeLogFile中的依赖库中指定changeLog.xml的路径?
Liquibase 在第二个项目的 src/main/resource/db