sbt-docker-compose
sbt-docker-compose copied to clipboard
Question - where does sbt-docker-compose plugin live?
I added the sbt-docker-compose
dependency
addSbtPlugin("com.tapad" % "sbt-docker-compose" % "1.0.34")
but can not find the artifact in any of following plugin repos;
- https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.tapad
- https://repo.typesafe.com/typesafe/ivy-releases/com.tapad
error trace
[warn] module not found: com.tapad#sbt-docker-compose;1.0.34
[warn] ==== typesafe-ivy-releases: tried
[warn] https://repo.typesafe.com/typesafe/ivy-releases/com.tapad/sbt-docker-compose/scala_2.12/sbt_1.0/1.0.34/ivys/ivy.xml
[warn] ==== sbt-plugin-releases: tried
[warn] https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.tapad/sbt-docker-compose/scala_2.12/sbt_1.0/1.0.34/ivys/ivy.xml
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.tapad#sbt-docker-compose;1.0.34: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.
[warn] com.tapad:sbt-docker-compose:1.0.34 (scalaVersion=2.12, sbtVersion=1.0)
I see, its not published to any of sbt repos. Instead to maven repo.
https://repo1.maven.org/maven2/com/tapad/ https://repo1.maven.org/maven2/se/marcuslonnberg/sbt-docker_2.12_1.0/
I probably have to update my internal ~/.sbt/repositories
,
1 [repositories]
2 local
3 artifactory-local-releases: https://code.duwamish.com/artifactory/libs-release-local
4 artifactory-local-snapshots: https://code.duwamish.com/artifactory/libs-snapshot-local
5 artifactory-remote-repos: https://code.duwamish.com/artifactory/remote-repos
6 sbt-plugins: https://code.duwamish.com/artifactory/sbt-plugin-releases, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]
7 ivy-releases: https://code.duwamish.com/artifactory/ivy-releases, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]
Adding resolvers += "Maven repo1" at "http://repo1.maven.org/maven2/"
to my plugins.sbt file resolved the issue for me—literally 🙂