Why does build fail with sbt.ResolveException: unresolved dependency: com.typesafe.sbt#sbt-pgp;0.8.2: not found? -
Why does build fail with sbt.ResolveException: unresolved dependency: com.typesafe.sbt#sbt-pgp;0.8.2: not found? -
we getting failures on build server (typesafe , maven repos proxied through our internal nexus repo) project built sbt 0.13.5 (tried upgrading 0.13.6, still not working) ideas? edit: note, works fine when run locally
[warn] module not found: com.typesafe.sbt#sbt-pgp;0.8.2 [warn] ==== local: tried [warn] /home/bisonadm/.ivy2/local/com.typesafe.sbt/sbt-pgp/scala_2.10/sbt_0.13/0.8.2/ivys/ivy.xml [warn] ==== typesafe-ivy-releases: tried [warn] https://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbt/sbt-pgp/0.8.2/ivys/ivy.xml [warn] ==== public: tried [warn] https://repo1.maven.org/maven2/com/typesafe/sbt/sbt-pgp_2.10_0.13/0.8.2/sbt-pgp-0.8.2.pom [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: unresolved dependencies :: [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: com.typesafe.sbt#sbt-pgp;0.8.2: not found [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] [warn] note: unresolved dependencies have attributes. check these dependencies exist requested attributes. [warn] com.typesafe.sbt:sbt-pgp:0.8.2 (sbtversion=0.13, scalaversion=2.10) [warn] [warn] note: unresolved dependencies path: [warn] com.typesafe.sbt:sbt-pgp:0.8.2 (sbtversion=0.13, scalaversion=2.10) [warn] +- org.scalastyle:scalastyle-sbt-plugin:0.5.0 (sbtversion=0.13, scalaversion=2.10) (/ahp_agents/ec/workspace/t_common_master_full_ci_j4350527/common/project/plugins.sbt#l5-6) [warn] +- default:common-build:0.1-snapshot (sbtversion=0.13, scalaversion=2.10) sbt.resolveexception: unresolved dependency: com.typesafe.sbt#sbt-pgp;0.8.2: not found @ sbt.ivyactions$.sbt$ivyactions$$resolve(ivyactions.scala:243) @ sbt.ivyactions$$anonfun$updateeither$1.apply(ivyactions.scala:158) @ sbt.ivyactions$$anonfun$updateeither$1.apply(ivyactions.scala:156) @ sbt.ivysbt$module$$anonfun$withmodule$1.apply(ivy.scala:147) @ sbt.ivysbt$module$$anonfun$withmodule$1.apply(ivy.scala:147) @ sbt.ivysbt$$anonfun$withivy$1.apply(ivy.scala:124) @ sbt.ivysbt.sbt$ivysbt$$action$1(ivy.scala:56) @ sbt.ivysbt$$anon$3.call(ivy.scala:64) @ xsbt.boot.locks$globallock.withchannel$1(locks.scala:93) @ xsbt.boot.locks$globallock.xsbt$boot$locks$globallock$$withchannelretries$1(locks.scala:78) @ xsbt.boot.locks$globallock$$anonfun$withfilelock$1.apply(locks.scala:97) @ xsbt.boot.using$.withresource(using.scala:10) @ xsbt.boot.using$.apply(using.scala:9) @ xsbt.boot.locks$globallock.ignoringdeadlockavoided(locks.scala:58) @ xsbt.boot.locks$globallock.withlock(locks.scala:48) @ xsbt.boot.locks$.apply0(locks.scala:31) @ xsbt.boot.locks$.apply(locks.scala:28) @ sbt.ivysbt.withdefaultlogger(ivy.scala:64) @ sbt.ivysbt.withivy(ivy.scala:119) @ sbt.ivysbt.withivy(ivy.scala:116) @ sbt.ivysbt$module.withmodule(ivy.scala:147) @ sbt.ivyactions$.updateeither(ivyactions.scala:156) @ sbt.classpaths$$anonfun$sbt$classpaths$$work$1$1.apply(defaults.scala:1282) @ sbt.classpaths$$anonfun$sbt$classpaths$$work$1$1.apply(defaults.scala:1279) @ sbt.classpaths$$anonfun$dowork$1$1$$anonfun$84.apply(defaults.scala:1309) @ sbt.classpaths$$anonfun$dowork$1$1$$anonfun$84.apply(defaults.scala:1307) @ sbt.tracked$$anonfun$lastoutput$1.apply(tracked.scala:35) @ sbt.classpaths$$anonfun$dowork$1$1.apply(defaults.scala:1312) @ sbt.classpaths$$anonfun$dowork$1$1.apply(defaults.scala:1306) @ sbt.tracked$$anonfun$inputchanged$1.apply(tracked.scala:45) @ sbt.classpaths$.cachedupdate(defaults.scala:1324) @ sbt.classpaths$$anonfun$updatetask$1.apply(defaults.scala:1264) @ sbt.classpaths$$anonfun$updatetask$1.apply(defaults.scala:1242) @ scala.function1$$anonfun$compose$1.apply(function1.scala:47) @ sbt.$tilde$greater$$anonfun$$u2219$1.apply(typefunctions.scala:40) @ sbt.std.transform$$anon$4.work(system.scala:63) @ sbt.execute$$anonfun$submit$1$$anonfun$apply$1.apply(execute.scala:226) @ sbt.execute$$anonfun$submit$1$$anonfun$apply$1.apply(execute.scala:226) @ sbt.errorhandling$.wideconvert(errorhandling.scala:17) @ sbt.execute.work(execute.scala:235) @ sbt.execute$$anonfun$submit$1.apply(execute.scala:226) @ sbt.execute$$anonfun$submit$1.apply(execute.scala:226) @ sbt.concurrentrestrictions$$anon$4$$anonfun$1.apply(concurrentrestrictions.scala:159) @ sbt.completionservice$$anon$2.call(completionservice.scala:28) @ java.util.concurrent.futuretask.run(futuretask.java:262) @ java.util.concurrent.executors$runnableadapter.call(executors.java:471) @ java.util.concurrent.futuretask.run(futuretask.java:262) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1145) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:615) @ java.lang.thread.run(thread.java:745) [error] (*:update) sbt.resolveexception: unresolved dependency: com.typesafe.sbt#sbt-pgp;0.8.2: not found
it appears they've moved bintray recently (and perhaps cleaning other locations?).
with the recent release of sbt-pgp 1.0-m1 can find plugin's binaries @ https://bintray.com/sbt/sbt-plugin-releases/sbt-pgp/1.0-m1/view.
as can read in improvements in 0.13.6 release notes:
adds resolver.jcenterrepo , resolver.bintrayrepo(owner, repo) add together bintray easier.
with said, next worked me (mind haven't worked plugin before):
project/sbt-pgp.sbt
resolvers += resolver.jcenterrepo addsbtplugin("com.typesafe.sbt" % "sbt-pgp" % "1.0-m1")
project/build.properties
sbt.version=0.13.6
no other files needed boot sbt shell (with sbt
) , query available plugins:
> plugins in file:/users/jacek/sandbox/sbt-pgp/ sbt.plugins.ivyplugin: enabled in sbt-pgp sbt.plugins.jvmplugin: enabled in sbt-pgp sbt.plugins.coreplugin: enabled in sbt-pgp sbt.plugins.junitxmlreportplugin: enabled in sbt-pgp com.typesafe.sbt.sbtpgp: enabled in sbt-pgp
sbt
Comments
Post a Comment