0

当我运行时mvn clean installdb-migrator-maven-plugin尝试运行迁移并失败,因为目前没有人:

[INFO] Trying migrations at: /Users/XXXX/projects/decXXXX/src/migrations 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.643 s
[INFO] Finished at: 2017-11-07T17:19:24+01:00
[INFO] Final Memory: 10M/309M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.javalite:db-migrator-maven-plugin:1.4.13:migrate (dev_migrations) on project decastore: Execution dev_migrations of goal org.javalite:db-migrator-maven-plugin:1.4.13:migrate failed: No migrations are found at: /Users/XXXX/projects/XXXXX/src/migrations -> [Help 1]

我查看了它的文档,一无所获。关于如何实现这一目标的任何提示?谢谢你。

4

1 回答 1

1

如果您没有迁移,则不需要迁移器。删除迁移器配置以克服错误消息和失败的构建。

于 2017-11-07T16:57:18.500 回答