Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to resolve for sbt 0.13 v0.16.0 #63

Open
jjmalina opened this issue Nov 19, 2019 · 7 comments
Open

Unable to resolve for sbt 0.13 v0.16.0 #63

jjmalina opened this issue Nov 19, 2019 · 7 comments

Comments

@jjmalina
Copy link

Hi, all of a sudden sbt-s3-resolver can't be found. It was previously working. Here's my output

[info] Resolving ohnosequences#sbt-s3-resolver;0.16.0 ...
[warn] 	module not found: ohnosequences#sbt-s3-resolver;0.16.0
[warn] ==== typesafe-ivy-releases: tried
[warn]   https://repo.typesafe.com/typesafe/ivy-releases/ohnosequences/sbt-s3-resolver/scala_2.10/sbt_0.13/0.16.0/ivys/ivy.xml
[warn] ==== sbt-plugin-releases: tried
[warn]   https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/ohnosequences/sbt-s3-resolver/scala_2.10/sbt_0.13/0.16.0/ivys/ivy.xml
[warn] ==== local: tried
[warn]   /home/jeremiahmalina/.ivy2/local/ohnosequences/sbt-s3-resolver/scala_2.10/sbt_0.13/0.16.0/ivys/ivy.xml
[warn] ==== public: tried
[warn]   https://repo1.maven.org/maven2/ohnosequences/sbt-s3-resolver_2.10_0.13/0.16.0/sbt-s3-resolver-0.16.0.pom
[warn] ==== local-preloaded-ivy: tried
[warn]   /home/jeremiahmalina/.sbt/preloaded/ohnosequences/sbt-s3-resolver/0.16.0/ivys/ivy.xml
[warn] ==== local-preloaded: tried
[warn]   file:////home/jeremiahmalina/.sbt/preloaded/ohnosequences/sbt-s3-resolver_2.10_0.13/0.16.0/sbt-s3-resolver-0.16.0.pom
[warn] ==== sbt-plugin-releases: tried
[warn]   https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/ohnosequences/sbt-s3-resolver/scala_2.10/sbt_0.13/0.16.0/ivys/ivy.xml
[warn] ==== jcenter: tried
[warn]   https://jcenter.bintray.com/ohnosequences/sbt-s3-resolver_2.10_0.13/0.16.0/sbt-s3-resolver-0.16.0.pom
[warn] ==== Era7 maven releases: tried
[warn]   https://s3-eu-west-1.amazonaws.com/releases.era7.com/ohnosequences/sbt-s3-resolver_2.10_0.13/0.16.0/sbt-s3-resolver-0.16.0.pom
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	::          UNRESOLVED DEPENDENCIES         ::
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	:: ohnosequences#sbt-s3-resolver;0.16.0: not found
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 
[warn] 	Note: Some unresolved dependencies have extra attributes.  Check that these dependencies exist with the requested attributes.
[warn] 		ohnosequences:sbt-s3-resolver:0.16.0 (scalaVersion=2.10, sbtVersion=0.13)
[warn] 
[warn] 	Note: Unresolved dependencies path:
[warn] 		ohnosequences:sbt-s3-resolver:0.16.0 (scalaVersion=2.10, sbtVersion=0.13) (/home/jeremiahmalina/code/newscred/analytics-writer/project/plugins.sbt#L8-9)
[warn] 		  +- default:analytics-writer-build:0.1-SNAPSHOT (scalaVersion=2.10, sbtVersion=0.13)
sbt.ResolveException: unresolved dependency: ohnosequences#sbt-s3-resolver;0.16.0: not found
@tpiron
Copy link

tpiron commented Nov 20, 2019

Same thing here, sbt 0.13 and sbt-s3-resolver 0.14.0

@maziyarpanahi
Copy link

It seems they don't have it for Scala 2.11 or 2.10, I can only see 2.12:

https://bintray.com/ohnosequences/sbt-plugins/sbt-s3-resolver/0.19.0#files/ohnosequences%2Fsbt-s3-resolver%2Fscala_2.12

@wiktorolko
Copy link

ohnosequences team - it would be much appreciated if you could deploy 0.16.0 to bintray as well. I can see that numerous people are reporting the issue as the 0.16.0 artifact is no longer available here: https://s3-eu-west-1.amazonaws.com/releases.era7.com

@montpetitg
Copy link

montpetitg commented Jan 17, 2020

I have the same problem, but with 0.15.0
[error] (*:update) sbt.ResolveException: unresolved dependency: ohnosequences#sbt-s3-resolver;0.15.0: not found

@geraldstanje
Copy link

geraldstanje commented Jan 23, 2020

ok here is a solution:
attached lib.zip, which includes: sbt-s3-resolver-0.14.0.jar, ivy-s3-resolver-0.8.0.jar
lib.zip

put these 2 jar files into ./project/lib/

than change the plugins.sbt file:

addSbtPlugin("ohnosequences" % "sbt-s3-resolver" % "0.14.0" from "file:///./lib/sbt-s3-resolver-0.14.0.jar")
libraryDependencies ++= Seq("com.amazonaws" % "aws-java-sdk-s3" % "1.11.202",  "org.apache.ivy" % "ivy" % "2.4.0")

tested with sbt.version = 0.13.15

@montpetitg
Copy link

montpetitg commented Jan 23, 2020

I just strip out the library from the project.

@geraldstanje thanks for the tip, but this is a bit too hackish and possibly introduce malicious code. This should be published onto an official source, from the project owners.

@geraldstanje
Copy link

geraldstanje commented Jan 23, 2020

@montpetitg thats the only solution we have at the moment. i would never post malicious code/jar here.

you could try to look on your own machine if you find those jars in some docker image...

jar file is here btw: https://github.com/ohnosequences/sbt-s3-resolver/releases/tag/v0.14.0

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

No branches or pull requests

6 participants