我有一个使用FlyWay sbt项目。它在大多数项目中被禁用,因为我们只运行特定项目的演变。SBT AutoPlugins冲突,不应该在那里
所以我有这样的事情:
lazy val master = project
.disablePlugins(FlywayPlugin)
.aggregate(common)
.dependsOn(common)
项目工作正常。它编译,工程,测试通过,等
现在我想添加旋转扭曲,所以我这样做(除了当然plugins.sbt
):
lazy val master = project
.enablePlugins(SbtTwirl)
.disablePlugins(FlywayPlugin)
.aggregate(common)
.dependsOn(common)
我结束了这个错误:
[error] sbt.AutoPluginException: Error determining plugins for project 'master' in /opt/app/master:
[error] Contradiction in selected plugins. These plugins were both included and excluded: org.flywaydb.sbt.FlywayPlugin
[error] Use 'last' for the full log.
对此我真的不明白,因为我没有关于FlyWay
改变任何东西。
这可能是什么原因造成的?