に2.1-SNAPSHOTベースのアプリケーションを再生する展開:私はローカル罰金実行されますが、私はHerokuのに展開しようとすると、私は次のエラーを取得するプレイ2.1-SNAPSHOTベースのアプリケーション持ってHerokuの
[warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: UNRESOLVED DEPENDENCIES :: [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: play#sbt-plugin;2.1-SNAPSHOT: not found [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] [warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested
attributes.
マイplugins.sbtを2.1-SNAPSHOTの依存関係を含むローカルリポジトリへのファイルのポイント:
resolvers ++= Seq(
"Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/",
Resolver.file("My Repository", file("repository/local"))
)
// Use the Play sbt plugin for Play projects
addSbtPlugin("play" % "sbt-plugin" % "2.1-SNAPSHOT")
ディレクトリ「リポジトリ/ローカルは、」私のGITリポジトリにチェックされています。これは、Herokuの上のSBTは、私は次の警告を参照してください「未解決の依存関係」のエラー以前からローカルリポジトリに見ているように見えるん:
[warn] ==== Typesafe repository: tried [warn] http://repo.typesafe.com/typesafe/releases/play/sbt-plugin_2.9.1_0.11.2/2.1-SNAPSHOT/sbt-plugin-2.1-SNAPSHOT.pom [warn] ==== My Repository: tried [warn] ==== heroku-sbt-typesafe: tried [warn] ==== heroku-central: tried
コマンド「遊戯ステージ」を実行すると、ローカルで正常に終了します。
別のアプローチは、ローカルファイルリポジトリを使用する代わりにCloudBees CIスナップショットリポジトリを追加することです。 –