Setting up Akka project in Eclipse - eclipse

I am trying to create a new Akka project in Eclipse. I followed the steps here
But I am receiving errors about Akka dependencies not being found.
Would appreciate your help. This is the output.
C:\Users\*\workspace\akka-project-in-scala>sbt
[info] Loading global plugins from C:\Users\*\.sbt\plugins
[info] Loading project definition from C:\Users\*\workspace\akka-project-in-scala\project
[info] Set current project to Akka Project In Scala (in build file:/C:/Users/*/workspace/akka-project-in-scala/)
> scala-version
[info] 2.10.1
> eclipse
[info] About to create Eclipse project files for your project(s).
Getting Scala 2.10.1 ...
downloading http://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.10.1/scala-compiler-2.10.1.jar ...
[SUCCESSFUL ] org.scala-lang#scala-compiler;2.10.1!scala-compiler.jar (45634ms)
downloading http://repo1.maven.org/maven2/org/scala-lang/scala-library/2.10.1/scala-library-2.10.1.jar ...
[SUCCESSFUL ] org.scala-lang#scala-library;2.10.1!scala-library.jar (21811ms)
downloading http://repo1.maven.org/maven2/org/scala-lang/scala-reflect/2.10.1/scala-reflect-2.10.1.jar ...
[SUCCESSFUL ] org.scala-lang#scala-reflect;2.10.1!scala-reflect.jar (10590ms)
downloading http://repo1.maven.org/maven2/org/scala-lang/jline/2.10.1/jline-2.10.1.jar ...
[SUCCESSFUL ] org.scala-lang#jline;2.10.1!jline.jar (1691ms)
:: retrieving :: org.scala-sbt#boot-scala
confs: [default]
5 artifacts copied, 0 already retrieved (24386kB/71ms)
[info] Updating {file:/C:/Users/*/workspace/akka-project-in-scala/}akka-project-in-scala...
[info] Resolving org.scala-lang#scala-library;2.10.1 ...
[info] Resolving com.typesafe.akka#akka-actor;2.1.2 ...
[warn] module not found: com.typesafe.akka#akka-actor;2.1.2
[warn] ==== local: tried
[warn] C:\Users\*\.ivy2\local\com.typesafe.akka\akka-actor\2.1.2\ivys\ivy.xml
[warn] ==== Typesafe Releases: tried
[warn] http://repo.typesafe.com/typesafe/releases/com/typesafe/akka/akka-actor/2.1.2/akka-actor-2.1.2.pom
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/com/typesafe/akka/akka-actor/2.1.2/akka-actor-2.1.2.pom
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.akka#akka-actor;2.1.2: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[trace] Stack trace suppressed: run last *:update for the full output.
[error] (*:update) sbt.ResolveException: unresolved dependency: com.typesafe.akka#akka-actor;2.1.2: not found
[info] Updating {file:/C:/Users/*/workspace/akka-project-in-scala/}akka-project-in-scala...
[info] Resolving org.scala-lang#scala-library;2.10.1 ...
[info] Resolving com.typesafe.akka#akka-actor;2.1.2 ...
[warn] module not found: com.typesafe.akka#akka-actor;2.1.2
[warn] ==== local: tried
[warn] C:\Users\*\.ivy2\local\com.typesafe.akka\akka-actor\2.1.2\ivys\ivy.xml
[warn] ==== Typesafe Releases: tried
[warn] http://repo.typesafe.com/typesafe/releases/com/typesafe/akka/akka-actor/2.1.2/akka-actor-2.1.2.pom
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/com/typesafe/akka/akka-actor/2.1.2/akka-actor-2.1.2.pom
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.akka#akka-actor;2.1.2: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[trace] Stack trace suppressed: run last *:update for the full output.
[error] (*:update) sbt.ResolveException: unresolved dependency: com.typesafe.akka#akka-actor;2.1.2: not found
[info] Updating {file:/C:/Users/*/workspace/akka-project-in-scala/}akka-project-in-scala...
[info] Resolving org.scala-lang#scala-library;2.10.1 ...
[info] Resolving com.typesafe.akka#akka-actor;2.1.2 ...
[warn] module not found: com.typesafe.akka#akka-actor;2.1.2
[warn] ==== local: tried
[warn] C:\Users\*\.ivy2\local\com.typesafe.akka\akka-actor\2.1.2\ivys\ivy.xml
[warn] ==== Typesafe Releases: tried
[warn] http://repo.typesafe.com/typesafe/releases/com/typesafe/akka/akka-actor/2.1.2/akka-actor-2.1.2.pom
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/com/typesafe/akka/akka-actor/2.1.2/akka-actor-2.1.2.pom
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.akka#akka-actor;2.1.2: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[trace] Stack trace suppressed: run last *:update for the full output.
[error] (*:update) sbt.ResolveException: unresolved dependency: com.typesafe.akka#akka-actor;2.1.2: not found
[info] Updating {file:/C:/Users/*/workspace/akka-project-in-scala/}akka-project-in-scala...
[info] Resolving org.scala-lang#scala-library;2.10.1 ...
[info] Resolving com.typesafe.akka#akka-actor;2.1.2 ...
[warn] module not found: com.typesafe.akka#akka-actor;2.1.2
[warn] ==== local: tried
[warn] C:\Users\*\.ivy2\local\com.typesafe.akka\akka-actor\2.1.2\ivys\ivy.xml
[warn] ==== Typesafe Releases: tried
[warn] http://repo.typesafe.com/typesafe/releases/com/typesafe/akka/akka-actor/2.1.2/akka-actor-2.1.2.pom
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/com/typesafe/akka/akka-actor/2.1.2/akka-actor-2.1.2.pom
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.akka#akka-actor;2.1.2: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[trace] Stack trace suppressed: run last *:update for the full output.
[error] (*:update) sbt.ResolveException: unresolved dependency: com.typesafe.akka#akka-actor;2.1.2: not found
[error] Could not create Eclipse project files:
[error] Error evaluating task 'external-dependency-classpath': error
[error] Error evaluating task 'update': error
[error] Error evaluating task 'external-dependency-classpath': error
[error] Error evaluating task 'update': error
>

So this does not work (404): http://repo1.maven.org/maven2/com/typesafe/akka/akka-actor/2.1.2/akka-actor-2.1.2.pom
But this does work: http://repo1.maven.org/maven2/com/typesafe/akka/akka-actor_2.10/2.1.2/akka-actor_2.10-2.1.2.pom
Looking at the g8 template (line 16):
"com.typesafe.akka" % "akka-actor" % "$akka_version$",
I am guessing you need to edit your project/Build.scala so that it says:
"com.typesafe.akka" % "akka-actor_2.10" % "2.1.2",
Let me know if that works.

Related

Unresolved dependencies path org.vegas-viz:vegas_2.12:0.3.11

I have tried to simply include Vegas dependency version 0.3.11 to my sbt.build and the dependency seems unresolved
I am using sbt version 0.1 and scala version 2.12. Intellij 2019
I cannot figure out why, are there any other dependencies needed here?
This is the error I get:
module not found: org.vegas-viz#vegas_2.12;0.3.11
[warn] ==== local: tried
C:\Users\squeo\.ivy2\local\org.vegasviz\vegas_2.12\0.3.11\ivys\ivy.xml
[warn] ==== public: tried
[warn] https://repo1.maven.org/maven2/org/vegas-
viz/vegas_2.12/0.3.11/vegas_2.12-0.3.11.pom
[warn] ==== local-preloaded-ivy: tried
[warn] C:\Users\squeo\.sbt\preloaded\org.vegas-
viz\vegas_2.12\0.3.11\ivys\ivy.xml
[warn] ==== local-preloaded: tried
[warn] file:/C:/Users/squeo/.sbt/preloaded/org/vegas-
viz/vegas_2.12/0.3.11/vegas_2.12-0.3.11.pom
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.vegas-viz#vegas_2.12;0.3.11: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Unresolved dependencies path:
[warn] org.vegas-viz:vegas_2.12:0.3.11
[warn] +- networkoptimizer:networkoptimizer_2.12:0.1
[error] sbt.librarymanagement.ResolveException: unresolved dependency:
org.vegas-viz#vegas_2.12;0.3.11: not found
Thank you in advance!
the problem here is that you're using a dependency available only for scala 2.11.
There's no Vegas dependency for scala 2.12. As you can see below

Can't Import Flink into Project

So I used this to install a sample Flink project.
https://github.com/tillrohrmann/flink-project.g8
I am trying to use this template that lets me just start writing a Flink ingestion application and not have to worry about dependencies but it's backfiring. It turns out I can't find Flink when I try to sync with sbt (not going to lie but this part is even fuzzy for me). Was wondering if anyone knew how to make my project find Flink. Very excited to use the technology.
Error while importing sbt project:
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=384M; support was removed in 8.0
[info] Loading project definition from /Users/Sam/IdeaProjects/cryptoingestion/project
[info] Set current project to cryptoingestion (in build file:/Users/Sam/IdeaProjects/cryptoingestion/)
>
[info] Defining */*:sbtStructureOptions, */*:sbtStructureOutputFile, root/*:shellPrompt
[info] The new values will be used by no settings or tasks.
[info] Reapplying settings...
[info] Set current project to cryptoingestion (in build file:/Users/Sam/IdeaProjects/cryptoingestion/)
[info] Applying State transformations org.jetbrains.sbt.CreateTasks from /Users/Sam/Library/Application Support/IdeaIC2017.3/Scala/launcher/sbt-structure-0.13.jar
[info] Reapplying settings...
[info] Set current project to cryptoingestion (in build file:/Users/Sam/IdeaProjects/cryptoingestion/)
[info] Updating {file:/Users/Sam/IdeaProjects/cryptoingestion/}root...
[info] Resolving org.scala-lang#scala-library;2.12.2 ...
[info] Resolving org.apache.flink#flink-scala_2.12;1.3.2 ...
[info] Resolving org.apache.flink#flink-scala_2.12;1.3.2 ...
[warn] module not found: org.apache.flink#flink-scala_2.12;1.3.2
[warn] ==== local: tried
[warn] /Users/Sam/.ivy2/local/org.apache.flink/flink-scala_2.12/1.3.2/ivys/ivy.xml
[warn] ==== public: tried
[warn] https://repo1.maven.org/maven2/org/apache/flink/flink-scala_2.12/1.3.2/flink-scala_2.12-1.3.2.pom
[warn] ==== local-preloaded-ivy: tried
[warn] /Users/Sam/.sbt/preloaded/org.apache.flink/flink-scala_2.12/1.3.2/ivys/ivy.xml
[warn] ==== local-preloaded: tried
[warn] file:////Users/Sam/.sbt/preloaded/org/apache/flink/flink-scala_2.12/1.3.2/flink-scala_2.12-1.3.2.pom
[warn] ==== Apache Development Snapshot Repository: tried
[warn] https://repository.apache.org/content/repositories/snapshots/org/apache/flink/flink-scala_2.12/1.3.2/flink-scala_2.12-1.3.2.pom
[warn] ==== Maven2 Local: tried
[warn] file:/Users/Sam/.m2/repository/org/apache/flink/flink-scala_2.12/1.3.2/flink-scala_2.12-1.3.2.pom
[info] Resolving org.apache.flink#flink-streaming-scala_2.12;1.3.2 ...
[info] Resolving org.apache.flink#flink-streaming-scala_2.12;1.3.2 ...
[warn] module not found: org.apache.flink#flink-streaming-scala_2.12;1.3.2
[warn] ==== local: tried
[warn] /Users/Sam/.ivy2/local/org.apache.flink/flink-streaming-scala_2.12/1.3.2/ivys/ivy.xml
[warn] ==== public: tried
[warn] https://repo1.maven.org/maven2/org/apache/flink/flink-streaming-scala_2.12/1.3.2/flink-streaming-scala_2.12-1.3.2.pom
[warn] ==== local-preloaded-ivy: tried
[warn] /Users/Sam/.sbt/preloaded/org.apache.flink/flink-streaming-scala_2.12/1.3.2/ivys/ivy.xml
[warn] ==== local-preloaded: tried
[warn] file:////Users/Sam/.sbt/preloaded/org/apache/flink/flink-streaming-scala_2.12/1.3.2/flink-streaming-scala_2.12-1.3.2.pom
[warn] ==== Apache Development Snapshot Repository: tried
[warn] https://repository.apache.org/content/repositories/snapshots/org/apache/flink/flink-streaming-scala_2.12/1.3.2/flink-streaming-scala_2.12-1.3.2.pom
[warn] ==== Maven2 Local: tried
[warn] file:/Users/Sam/.m2/repository/org/apache/flink/flink-streaming-scala_2.12/1.3.2/flink-streaming-scala_2.12-1.3.2.pom
[info] Resolving org.scala-lang#scala-compiler;2.12.2 ...
[info] Resolving org.scala-lang#scala-reflect;2.12.2 ...
[info] Resolving org.scala-lang.modules#scala-xml_2.12;1.0.6 ...
[info] Resolving jline#jline;2.14.3 ...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.apache.flink#flink-scala_2.12;1.3.2: not found
[warn] :: org.apache.flink#flink-streaming-scala_2.12;1.3.2: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Unresolved dependencies path:
[warn] org.apache.flink:flink-scala_2.12:1.3.2 (/Users/Sam/IdeaProjects/cryptoingestion/build.sbt#L22)
[warn] +- com.cryptocorp:cryptoingestion_2.12:0.1
[warn] org.apache.flink:flink-streaming-scala_2.12:1.3.2 (/Users/Sam/IdeaProjects/cryptoingestion/build.sbt#L22)
[warn] +- com.cryptocorp:cryptoingestion_2.12:0.1
[trace] Stack trace suppressed: run 'last mainRunner/*:ssExtractDependencies' for the full output.
[trace] Stack trace suppressed: run 'last root/*:ssExtractDependencies' for the full output.
[trace] Stack trace suppressed: run 'last root/*:update' for the full output.
[error] (mainRunner/*:ssExtractDependencies) sbt.ResolveException: unresolved dependency: org.apache.flink#flink-scala_2.12;1.3.2: not found
[error] unresolved dependency: org.apache.flink#flink-streaming-scala_2.12;1.3.2: not found
[error] (root/*:ssExtractDependencies) sbt.ResolveException: unresolved dependency: org.apache.flink#flink-scala_2.12;1.3.2: not found
[error] unresolved dependency: org.apache.flink#flink-streaming-scala_2.12;1.3.2: not found
[error] (root/*:update) sbt.ResolveException: unresolved dependency: org.apache.flink#flink-scala_2.12;1.3.2: not found
[error] unresolved dependency: org.apache.flink#flink-streaming-scala_2.12;1.3.2: not found
[error] Total time: 2 s, completed Dec 5, 2017 12:51:24 AM
edit: I got the project to build but I can not click around in my IDE. By that I mean when I try to move into a Flink class it can not find declarations.
Flink Scala currently only supports Scala 2.10 and 2.11, so you have to downgrade your Scala to one of those releases or use its Java interface.

jboss interceptor api 1.1 not found when added as sbt dependency

I'm trying to set jboss-interceptor-api-1.1 as a dependency via sbt, but it can't be found. I've searched on Maven Repository and this version is there, can anyone help me?
Actually, I'm trying to use sbt-assembly. Removing the plugin dependency and adding the dependency to libraryDependencies still shows that error.
Stack trace:
[info] Resolving org.jboss.interceptor#jboss-interceptor-api;1.1 ...
[info] Resolving org.jboss.interceptor#jboss-interceptor-api;1.1 ...
[warn] problem while downloading module descriptor: https://repo1.maven.org/maven2/org/jboss/interceptor/jboss-interceptor-api/1.1/jboss-interceptor-api-1.1.pom: invalid sha1: expected=453b712ff6cda3a3f10f46a9ab9b9a42fc9bc021 computed=56da14e5a3e7e5656fe2ed1942d9fc0c1f3b054b (122ms)
[warn] module not found: org.jboss.interceptor#jboss-interceptor-api;1.1
[warn] ==== typesafe-ivy-releases: tried
[warn] https://repo.typesafe.com/typesafe/ivy-releases/org.jboss.interceptor/jboss-interceptor-api/1.1/ivys/ivy.xml
[warn] ==== sbt-plugin-releases: tried
[warn] https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.jboss.interceptor/jboss-interceptor-api/1.1/ivys/ivy.xml
[warn] ==== local: tried
[warn] /Users/vicaba/.ivy2/local/org.jboss.interceptor/jboss-interceptor-api/1.1/ivys/ivy.xml
[warn] ==== public: tried
[warn] https://repo1.maven.org/maven2/org/jboss/interceptor/jboss-interceptor-api/1.1/jboss-interceptor-api-1.1.pom
[warn] ==== activator-launcher-local: tried
[warn] /Users/vicaba/.activator/repository/org.jboss.interceptor/jboss-interceptor-api/1.1/ivys/ivy.xml
[warn] ==== activator-local: tried
[warn] /Applications/activator-dist-1.3.12/repository/org.jboss.interceptor/jboss-interceptor-api/1.1/ivys/ivy.xml
[warn] ==== typesafe-releases: tried
[warn] http://repo.typesafe.com/typesafe/releases/org/jboss/interceptor/jboss-interceptor-api/1.1/jboss-interceptor-api-1.1.pom
[warn] ==== typesafe-ivy-releasez: tried
[warn] http://repo.typesafe.com/typesafe/ivy-releases/org.jboss.interceptor/jboss-interceptor-api/1.1/ivys/ivy.xml
[info] Resolving javax.annotation#jsr250-api;1.0 ...
[info] Resolving javax.inject#javax.inject;1 ...
[info] Resolving org.eclipse.sisu#org.eclipse.sisu.inject;0.3.0 ...
[info] Resolving org.codehaus.plexus#plexus-component-annotations;1.5.5 ...
[info] Resolving org.codehaus.plexus#plexus-classworlds;2.5.2 ...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.jboss.interceptor#jboss-interceptor-api;1.1: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[info] Resolving com.typesafe.scala-logging#scala-logging_2.11;3.4.0 ...
[info] Resolving org.scala-lang#scala-library;2.11.8 ...
[info] Resolving org.slf4j#slf4j-api;1.7.21 ...
[info] Resolving ch.qos.logback#logback-core;1.1.7 ...
[info] Resolving ch.qos.logback#logback-classic;1.1.7 ...
[info] Resolving org.scala-lang#scala-reflect;2.11.8 ...
[info] Resolving org.scala-lang.modules#scala-parser-combinators_2.11;1.0.4 ...
[info] Resolving org.scala-lang#scala-compiler;2.11.8 ...
[info] Resolving org.scala-lang.modules#scala-xml_2.11;1.0.4 ...
[info] Resolving jline#jline;2.12.1 ...
[trace] Stack trace suppressed: run 'last *:updateSbtClassifiers' for the full output.
[error] (*:updateSbtClassifiers) sbt.ResolveException: unresolved dependency: org.jboss.interceptor#jboss-interceptor-api;1.1: not found
[error] Total time: 5 s, completed Feb 1, 2017 9:51:26 AM
LCartwright is correct that this is due to the SHA-1 hash file differring from the hash of the POM on maven central.
To get around this you can add the JBoss maven repository, where the hash matches, to your resolvers in the global sbt config ~/.sbt/0.13/global.sbt
resolvers += "JBoss" at "https://repository.jboss.org/"
I have the same issue in IntelliJ. When opening a project, it fails on jboss-interceptor-api. This is part of the log:
[info] Resolving org.apache.maven#maven-artifact;3.2.2 ...
[info] Resolving org.apache.maven#maven-plugin-api;3.2.2 ...
[info] Resolving org.eclipse.sisu#org.eclipse.sisu.plexus;0.0.0.M5 ...
[info] Resolving javax.enterprise#cdi-api;1.0 ...
[info] Resolving org.jboss.interceptor#jboss-interceptor-api;1.1 ...
[info] Resolving org.jboss.interceptor#jboss-interceptor-api;1.1 ...
[warn] problem while downloading module descriptor: https://repo1.maven.org/maven2/org/jboss/interceptor/jboss-interceptor-api/1.1/jboss-interceptor-api-1.1.pom: invalid sha1: expected=453b712ff6cda3a3f10f46a9ab9b9a42fc9bc021 computed=56da14e5a3e7e5656fe2ed1942d9fc0c1f3b054b (108ms)
[warn] module not found: org.jboss.interceptor#jboss-interceptor-api;1.1
[warn] ==== typesafe-ivy-releases: tried
[warn] https://repo.typesafe.com/typesafe/ivy-releases/org.jboss.interceptor/jboss-interceptor-api/1.1/ivys/ivy.xml
[warn] ==== sbt-plugin-releases: tried
[warn] https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.jboss.interceptor/jboss-interceptor-api/1.1/ivys/ivy.xml
[warn] ==== local: tried
[warn] /Users/jessedobbelaere/.ivy2/local/org.jboss.interceptor/jboss-interceptor-api/1.1/ivys/ivy.xml
[warn] ==== public: tried
[warn] https://repo1.maven.org/maven2/org/jboss/interceptor/jboss-interceptor-api/1.1/jboss-interceptor-api-1.1.pom
[warn] ==== Typesafe repository: tried
[warn] http://repo.typesafe.com/typesafe/releases/org/jboss/interceptor/jboss-interceptor-api/1.1/jboss-interceptor-api-1.1.pom
[warn] ==== bintray-kamon-io-sbt-plugins: tried
[warn] https://dl.bintray.com/kamon-io/sbt-plugins/org.jboss.interceptor/jboss-interceptor-api/1.1/ivys/ivy.xml
I noticed that when unchecking "Download Sources for SBT and plugins" in IntelliJ, everything works perfectly fine
Seems like the culprit is this line
[warn] problem while downloading module descriptor: https://repo1.maven.org/maven2/org/jboss/interceptor/jboss-interceptor-api/1.1/jboss-interceptor-api-1.1.pom: invalid sha1: expected=453b712ff6cda3a3f10f46a9ab9b9a42fc9bc021 computed=56da14e5a3e7e5656fe2ed1942d9fc0c1f3b054b (108ms)
reporting an incorrect SHA-1 for the pom file.
pom: jboss-interceptor-api-1.1.pom
pom SHA-1: jboss-interceptor-api-1.1.pom.sha1
The SHA-1 for the pom is 56da14e5a3e7e5656fe2ed1942d9fc0c1f3b054b however the accompanying pom.sha1 file is 453b712ff6cda3a3f10f46a9ab9b9a42fc9bc021
As suggested above, unchecking "Download Sources for SBT and plugins" will solve your issue for now. Not sure who to contact to update the pom.sha1
I met the same problems today and the plugin I used is sbt-native-packager. It also worked when I disable the option.
And later I go to the sbt github site and update my sbt plugin version from 1.0.0-RC1 to 1.2.0-M8 without disabling that option, I also worked. The plugin I used is
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.2.0-M8")
Maybe you can go to https://github.com/sbt to search the lastest version.

How to specify sbt dependency along with the intended JDK version

How do I specify the JDK version of a dependency in my Build.sbt?
I encounter such a case with the Aspose library, where the filename is postfixed with JDK version, i.e. aspose-email-4.8.0-jdk17.jar instead of the plain aspose-email-4.8.0.jar. So, specifying the dependency normally, e.g.
"com.aspose" % "aspose-email" % "4.8.0"
will cause sbt to complain with the following error, as the poor SBT tries to download a non-existing file:
[warn] [FAILED ] com.aspose#aspose-email;4.8.0!aspose-email.jar: (0ms)
[warn] ==== local: tried
[warn] /Users/developer/.ivy2/local/com.aspose/aspose-email/4.8.0/jars/aspose-email.jar
[warn] ==== public: tried
[warn] https://repo1.maven.org/maven2/com/aspose/aspose-email/4.8.0/aspose-email-4.8.0.jar
[warn] ==== Aspose: tried
[warn] http://maven.aspose.com/artifactory/simple/ext-release-local/com/aspose/aspose-email/4.8.0/aspose-email-4.8.0.jar
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: FAILED DOWNLOADS ::
[warn] :: ^ see resolution messages for details ^ ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.aspose#aspose-email;4.8.0!aspose-email.jar
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
sbt.ResolveException: download failed: com.aspose#aspose-email;4.8.0!aspose-email.jar
Update
Then I figured that appending the JDK version to the version number might fix it:
"com.aspose" % "aspose-email" % "4.8.0-jdk17"
Unfortunately it will to another error caused by SBT thinking the POM file is located at aspose-email-4.8.0-jdk17.pom, while it should instead be aspose-email-4.8.0.pom.
[info] Resolving com.aspose#aspose-email;4.8.0-jdk17 ...
[warn] module not found: com.aspose#aspose-email;4.8.0-jdk17
[warn] ==== local: tried
[warn] /Users/ganeshwara/.ivy2/local/com.aspose/aspose-email/4.8.0-jdk17/ivys/ivy.xml
[warn] ==== public: tried
[warn] https://repo1.maven.org/maven2/com/aspose/aspose-email/4.8.0-jdk17/aspose-email-4.8.0-jdk17.pom
[warn] ==== Aspose: tried
[warn] http://maven.aspose.com/artifactory/simple/ext-release-local/com/aspose/aspose-email/4.8.0-jdk17/aspose-email-4.8.0-jdk17.pom
[info] Resolving net.sf.proguard#proguard-base;5.1 ...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.aspose#aspose-email;4.8.0-jdk17: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Unresolved dependencies path:
[warn] com.aspose:aspose-email:4.8.0-jdk17 (/Users/ganeshwara/DropMyEmail/backup-server/project/Build.scala#L290)
[warn] +- Dropmysite:common_2.11:1.0-296020c84e74fa1fd65cd5361b563519ff9c4a5d
sbt.ResolveException: unresolved dependency: com.aspose#aspose-email;4.8.0-jdk17: not found
I think if you look into the repo, you'll see that the problem is due to differing naming convention - where the jarfile is postfixed with the intended JDK version but the POM file is not.
After some googling, I've found that Maven actually has an optional extra coordinate, the classifier, which is appended just after the version number (source).
To use it in sbt, you should define your dependency as
"com.aspose" % "aspose-email" % "4.8.0" classifier "jdk17"
(source)

How to use scala 2.10 trunk with sbt 0.11.0? (Unresolved dependencies)

What's the right way to use sbt with 2.10 trunk? I tried the obvious:
james#James-Moores-iMac:~/workspace/Deleteme3$ cat build.sbt
scalaVersion := "2.10.0-SNAPSHOT"
But that gives:
james#James-Moores-iMac:~/workspace/Deleteme3$ sbt compile
[info] Loading global plugins from /Users/james/.sbt/plugins
[info] Set current project to default-ee38f7 (in build file:/Users/james/workspace/Deleteme3/)
[info] Updating {file:/Users/james/workspace/Deleteme3/}default-ee38f7...
[info] Resolving org.scala-lang#scala-library;2.10.0-SNAPSHOT ...
[warn] module not found: org.scala-lang#scala-library;2.10.0-SNAPSHOT
[warn] ==== local: tried
[warn] /Users/james/.ivy2/local/org.scala-lang/scala-library/2.10.0-SNAPSHOT/ivys/ivy.xml
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/org/scala-lang/scala-library/2.10.0-SNAPSHOT/scala-library-2.10.0-SNAPSHOT.pom
[warn] ==== Scala-Tools Maven2 Repository: tried
[warn] http://scala-tools.org/repo-releases/org/scala-lang/scala-library/2.10.0-SNAPSHOT/scala-library-2.10.0-SNAPSHOT.pom
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.scala-lang#scala-library;2.10.0-SNAPSHOT: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[error] {file:/Users/james/workspace/Deleteme3/}default-ee38f7/*:update: sbt.ResolveException: unresolved dependency: org.scala-lang#scala-library;2.10.0-SNAPSHOT: not found
[error] Total time: 1 s, completed Mar 18, 2012 10:39:29 AM
james#James-Moores-iMac:~/workspace/Deleteme3$
Trying the suggestion of the new sbt launcher with -sbt-snapshot fails too:
james#James-Moores-iMac:/tmp/sfasdf$ sbt -sbt-snapshot compile
Detected sbt version 0.12.0-SNAPSHOT
Using /Users/james/.sbt/0.12.0-SNAPSHOT as sbt dir, -sbt-dir to override.
Getting net.java.dev.jna jna 3.2.3 ...
:: retrieving :: org.scala-sbt#boot-jna
confs: [default]
1 artifacts copied, 0 already retrieved (838kB/13ms)
Getting org.scala-sbt sbt 0.12.0-20120319-052150 ...
:: retrieving :: org.scala-sbt#boot-app
confs: [default]
38 artifacts copied, 0 already retrieved (7712kB/159ms)
Getting Scala 2.9.1 (for sbt)...
:: retrieving :: org.scala-sbt#boot-scala
confs: [default]
4 artifacts copied, 0 already retrieved (19939kB/426ms)
[info] Set current project to wand (in build file:/private/tmp/sfasdf/)
Getting Scala 2.10.0-SNAPSHOT ...
downloading http://scala-tools.org/repo-snapshots/org/scala-lang/scala-compiler/2.10.0-SNAPSHOT/scala-compiler-2.10.0-20120319.161232-290.jar ...
[SUCCESSFUL ] org.scala-lang#scala-compiler;2.10.0-SNAPSHOT!scala-compiler.jar (28525ms)
downloading http://scala-tools.org/repo-snapshots/org/scala-lang/scala-library/2.10.0-SNAPSHOT/scala-library-2.10.0-20120319.161232-293.jar ...
[SUCCESSFUL ] org.scala-lang#scala-library;2.10.0-SNAPSHOT!scala-library.jar (16869ms)
downloading http://scala-tools.org/repo-snapshots/org/scala-lang/jline/2.10.0-SNAPSHOT/jline-2.10.0-20120319.161232-290.jar ...
[SUCCESSFUL ] org.scala-lang#jline;2.10.0-SNAPSHOT!jline.jar (1674ms)
:: retrieving :: org.scala-sbt#boot-scala
confs: [default]
4 artifacts copied, 0 already retrieved (21204kB/91ms)
[info] Updating {file:/private/tmp/sfasdf/}default-59a990...
[info] Resolving org.scala-lang#scala-library;2.10.0-SNAPSHOT ...
[warn] module not found: org.scala-lang#scala-library;2.10.0-SNAPSHOT
[warn] ==== local: tried
[warn] /Users/james/.ivy2/local/org.scala-lang/scala-library/2.10.0-SNAPSHOT/ivys/ivy.xml
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/org/scala-lang/scala-library/2.10.0-SNAPSHOT/scala-library-2.10.0-SNAPSHOT.pom
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.scala-lang#scala-library;2.10.0-SNAPSHOT: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[error] {file:/private/tmp/sfasdf/}default-59a990/*:update: sbt.ResolveException: unresolved dependency: org.scala-lang#scala-library;2.10.0-SNAPSHOT: not found
[error] Total time: 54 s, completed Mar 20, 2012 7:37:55 AM
You cannot use trunk with SBT 0.11.0, and you'll never be able to do so. Newer SBT versions (snapshots of 0.12) can handle it.
Use this version of the actual sbt script: https://raw.github.com/paulp/sbt-extras/master/sbt
Run with
sbt -sbt-snapshot
Add this to your build.sbt file:
scalaVersion := "2.10.0-SNAPSHOT"
resolvers += Resolver.sonatypeRepo("snapshots")
(added as a new answer to combine a couple answers in one place - but marked Daniel's answer as correct.)