sbt-s3-resolver icon indicating copy to clipboard operation
sbt-s3-resolver copied to clipboard

Unable to resolve for sbt 0.13 v0.16.0

Open jjmalina opened this issue 6 years ago • 7 comments

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

jjmalina avatar Nov 19 '19 17:11 jjmalina

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

tpiron avatar Nov 20 '19 22:11 tpiron

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

maziyarpanahi avatar Dec 21 '19 14:12 maziyarpanahi

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

wiktorolko avatar Jan 02 '20 14:01 wiktorolko

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

montpetitg avatar Jan 17 '20 18:01 montpetitg

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

geraldstanje avatar Jan 23 '20 05:01 geraldstanje

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.

montpetitg avatar Jan 23 '20 15:01 montpetitg

@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

geraldstanje avatar Jan 23 '20 15:01 geraldstanje