Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

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

Open
prayagupa opened this issue Dec 19, 2018 · 2 comments
Open

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

prayagupa opened this issue Dec 19, 2018 · 2 comments

Comments

@prayagupa
Copy link

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;

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
Copy link
Author

prayagupa commented Dec 22, 2018

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]

@aaronramirez
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants