私は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
について何も変更していないため、私は実際にはわかりません。
何が原因でしょうか?