sbt-docker-compose icon indicating copy to clipboard operation
sbt-docker-compose copied to clipboard

Question - where does sbt-docker-compose plugin live?

Open prayagupa opened this issue 6 years ago • 2 comments

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)

prayagupa avatar Dec 19 '18 22:12 prayagupa

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]

prayagupa avatar Dec 22 '18 03:12 prayagupa

Adding resolvers += "Maven repo1" at "http://repo1.maven.org/maven2/" to my plugins.sbt file resolved the issue for me—literally 🙂

aaronramirez avatar Aug 14 '19 04:08 aaronramirez