My sbt publish-local build appears to have succeeded, yet I am getting an unresolved dependency error (see below) when trying to do an sbt clean android:package-debug in my existing project. Full logs follow the dependency error below.
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.scala-tools.sbt#sbt-android-plugin;0.6.0-SNAPSHOT: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.
[warn] org.scala-tools.sbt:sbt-android-plugin:0.6.0-SNAPSHOT (sbtVersion=0.11.1, scalaVersion=2.9.1)
[warn]
[error] {file:/D:/Workspaces/MyProject/my-project/project/plugins/}default-c389a1/*:update: sbt.ResolveException: unresolved dependency: org.scala-tools.sbt#sbt-android-plugin;0.6.0-SNAPSHOT: not found
My sbt publish-local build appears to have succeeded, yet I am getting an unresolved dependency error (see below) when trying to do an sbt clean android:package-debug in my existing project. Full logs follow the dependency error below.
[warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: UNRESOLVED DEPENDENCIES :: [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: org.scala-tools.sbt#sbt-android-plugin;0.6.0-SNAPSHOT: not found [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] [warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes. [warn] org.scala-tools.sbt:sbt-android-plugin:0.6.0-SNAPSHOT (sbtVersion=0.11.1, scalaVersion=2.9.1) [warn] [error] {file:/D:/Workspaces/MyProject/my-project/project/plugins/}default-c389a1/*:update: sbt.ResolveException: unresolved dependency: org.scala-tools.sbt#sbt-android-plugin;0.6.0-SNAPSHOT: not found
Failed build log:
$ sbt clean android:package-debug [info] Loading project definition from D:\Workspaces\MyProject\my-project\project\plugins [info] Updating {file:/D:/Workspaces/MyProject/my-project/project/plugins/}default-c389a1... [info] Resolving org.scala-tools.sbt#sbt-android-plugin;0.6.0-SNAPSHOT ... [warn] module not found: org.scala-tools.sbt#sbt-android-plugin;0.6.0-SNAPSHOT [warn] ==== typesafe-ivy-releases: tried [warn] http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/sbt-android-plugin/scala_2.9.1/sbt_0.11.1/0.6.0-SNAPSHOT/ivys/ivy.xml [warn] ==== local: tried [warn] C:\Users\Jeff.ivy2/local/org.scala-tools.sbt/sbt-android-plugin/scala_2.9.1/sbt_0.11.1/0.6.0-SNAPSHOT/ivys/ivy.xml [warn] ==== public: tried [warn] http://repo1.maven.org/maven2/org/scala-tools/sbt/sbt-android-plugin_2.9.1_0.11.1/0.6.0-SNAPSHOT/sbt-android-plugin-0.6.0-SNAPSHOT.pom [warn] ==== Scala-Tools Maven2 Repository: tried [warn] http://scala-tools.org/repo-releases/org/scala-tools/sbt/sbt-android-plugin_2.9.1_0.11.1/0.6.0-SNAPSHOT/sbt-android-plugin-0.6.0-SNAPSHOT.pom [info] Resolving org.scala-tools.sbt#sbt_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#main_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#actions_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#classfile_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#io_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#control_2.9.1;0.11.1 ... [info] Resolving org.scala-lang#scala-library;2.9.1 ... [info] Resolving org.scala-tools.sbt#interface;0.11.1 ... [info] Resolving org.scala-tools.sbt#logging_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#process_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#classpath_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#launcher-interface_2.9.1;0.11.1 ... [info] Resolving org.scala-lang#scala-compiler;2.9.1 ... [info] Resolving org.scala-tools.sbt#incremental-compiler_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#collections_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#api_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#persist_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbinary#sbinary_2.9.0;0.4.0 ... [info] Resolving org.scala-tools.sbt#compile_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#ivy_2.9.1;0.11.1 ... [info] Resolving org.apache.ivy#ivy;2.2.0 ... [info] Resolving com.jcraft#jsch;0.1.31 ... [info] Resolving commons-httpclient#commons-httpclient;3.1 ... [info] Resolving commons-logging#commons-logging;1.0.4 ... [info] Resolving commons-codec#commons-codec;1.2 ... [info] Resolving org.scala-tools.sbt#completion_2.9.1;0.11.1 ... [info] Resolving jline#jline;0.9.94 ... [info] Resolving org.scala-tools.sbt#run_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#task-system_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#tasks_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#tracking_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#cache_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#testing_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.testing#test-interface;0.5 ... [info] Resolving org.scala-tools.sbt#compiler-interface;0.11.1 ... [info] Resolving org.scala-tools.sbt#precompiled-2_8_1;0.11.1 ... [info] Resolving org.scala-tools.sbt#precompiled-2_8_0;0.11.1 ... [info] Resolving org.scala-tools.sbt#precompiled-2_9_0;0.11.1 ... [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: UNRESOLVED DEPENDENCIES :: [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: org.scala-tools.sbt#sbt-android-plugin;0.6.0-SNAPSHOT: not found [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] [warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes. [warn] org.scala-tools.sbt:sbt-android-plugin:0.6.0-SNAPSHOT (sbtVersion=0.11.1, scalaVersion=2.9.1) [warn] [error] {file:/D:/Workspaces/MyProject/my-project/project/plugins/}default-c389a1/*:update: sbt.ResolveException: unresolved dependency: org.scala-tools.sbt#sbt-android-plugin;0.6.0-SNAPSHOT: not found Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? q
Installation log:
$ sbt clean publish-local Getting org.scala-tools.sbt sbt_2.9.1 0.11.1 ... downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/sbt_2.9.1/0.11.1/jars/sbt_2.9.1.jar ... [SUCCESSFUL ] org.scala-tools.sbt#sbt_2.9.1;0.11.1!sbt_2.9.1.jar (673ms) downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/main_2.9.1/0.11.1/jars/main_2.9.1.jar ... [SUCCESSFUL ] org.scala-tools.sbt#main_2.9.1;0.11.1!main_2.9.1.jar (4807ms) downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/compiler-interface/0.11.1/jars/compiler-interface-src.jar ... [SUCCESSFUL ] org.scala-tools.sbt#compiler-interface;0.11.1!compiler-interface-src.jar (556ms) downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/compiler-interface/0.11.1/jars/compiler-interface-bin.jar ... [SUCCESSFUL ] org.scala-tools.sbt#compiler-interface;0.11.1!compiler-interface-bin.jar (772ms) downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/precompiled-2_8_1/0.11.1/jars/compiler-interface-bin.jar ... [SUCCESSFUL ] org.scala-tools.sbt#precompiled-2_8_1;0.11.1!compiler-interface-bin.jar (769ms) downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/precompiled-2_8_0/0.11.1/jars/compiler-interface-bin.jar ... [SUCCESSFUL ] org.scala-tools.sbt#precompiled-2_8_0;0.11.1!compiler-interface-bin.jar (801ms) downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/precompiled-2_9_0/0.11.1/jars/compiler-interface-bin.jar ... [SUCCESSFUL ] org.scala-tools.sbt#precompiled-2_9_0;0.11.1!compiler-interface-bin.jar (749ms) downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/actions_2.9.1/0.11.1/jars/actions_2.9.1.jar ... [SUCCESSFUL ] org.scala-tools.sbt#actions_2.9.1;0.11.1!actions_2.9.1.jar (2854ms) downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/interface/0.11.1/jars/interface.jar ... [SUCCESSFUL ] org.scala-tools.sbt#interface;0.11.1!interface.jar (772ms) downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/io_2.9.1/0.11.1/jars/io_2.9.1.jar ... [SUCCESSFUL ] org.scala-tools.sbt#io_2.9.1;0.11.1!io_2.9.1.jar (1137ms) downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/ivy_2.9.1/0.11.1/jars/ivy_2.9.1.jar ... [SUCCESSFUL ] org.scala-tools.sbt#ivy_2.9.1;0.11.1!ivy_2.9.1.jar (1682ms) downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/launcher-interface_2.9.1/0.11.1/jars/launcher-interface_2.9.1.jar ... [SUCCESSFUL ] org.scala-tools.sbt#launcher-interface_2.9.1;0.11.1!launcher-interface_2.9.1.jar (491ms) downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/logging_2.9.1/0.11.1/jars/logging_2.9.1.jar ... [SUCCESSFUL ] org.scala-tools.sbt#logging_2.9.1;0.11.1!logging_2.9.1.jar (1023ms) downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/process_2.9.1/0.11.1/jars/process_2.9.1.jar ... [SUCCESSFUL ] org.scala-tools.sbt#process_2.9.1;0.11.1!process_2.9.1.jar (757ms) downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/run_2.9.1/0.11.1/jars/run_2.9.1.jar ... [SUCCESSFUL ] org.scala-tools.sbt#run_2.9.1;0.11.1!run_2.9.1.jar (694ms) downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/classfile_2.9.1/0.11.1/jars/classfile_2.9.1.jar ... [SUCCESSFUL ] org.scala-tools.sbt#classfile_2.9.1;0.11.1!classfile_2.9.1.jar (725ms) downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/classpath_2.9.1/0.11.1/jars/classpath_2.9.1.jar ... [SUCCESSFUL ] org.scala-tools.sbt#classpath_2.9.1;0.11.1!classpath_2.9.1.jar (672ms) downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/incremental-compiler_2.9.1/0.11.1/jars/incremental-compiler_2.9.1.jar ... [SUCCESSFUL ] org.scala-tools.sbt#incremental-compiler_2.9.1;0.11.1!incremental-compiler_2.9.1.jar (804ms) downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/persist_2.9.1/0.11.1/jars/persist_2.9.1.jar ... [SUCCESSFUL ] org.scala-tools.sbt#persist_2.9.1;0.11.1!persist_2.9.1.jar (771ms) downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/compile_2.9.1/0.11.1/jars/compile_2.9.1.jar ... [SUCCESSFUL ] org.scala-tools.sbt#compile_2.9.1;0.11.1!compile_2.9.1.jar (759ms) downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/completion_2.9.1/0.11.1/jars/completion_2.9.1.jar ... [SUCCESSFUL ] org.scala-tools.sbt#completion_2.9.1;0.11.1!completion_2.9.1.jar (1097ms) downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/api_2.9.1/0.11.1/jars/api_2.9.1.jar ... [SUCCESSFUL ] org.scala-tools.sbt#api_2.9.1;0.11.1!api_2.9.1.jar (1248ms) downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/task-system_2.9.1/0.11.1/jars/task-system_2.9.1.jar ... [SUCCESSFUL ] org.scala-tools.sbt#task-system_2.9.1;0.11.1!task-system_2.9.1.jar (737ms) downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/tasks_2.9.1/0.11.1/jars/tasks_2.9.1.jar ... [SUCCESSFUL ] org.scala-tools.sbt#tasks_2.9.1;0.11.1!tasks_2.9.1.jar (691ms) downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/tracking_2.9.1/0.11.1/jars/tracking_2.9.1.jar ... [SUCCESSFUL ] org.scala-tools.sbt#tracking_2.9.1;0.11.1!tracking_2.9.1.jar (583ms) downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/testing_2.9.1/0.11.1/jars/testing_2.9.1.jar ... [SUCCESSFUL ] org.scala-tools.sbt#testing_2.9.1;0.11.1!testing_2.9.1.jar (641ms) downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/control_2.9.1/0.11.1/jars/control_2.9.1.jar ... [SUCCESSFUL ] org.scala-tools.sbt#control_2.9.1;0.11.1!control_2.9.1.jar (510ms) downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/collections_2.9.1/0.11.1/jars/collections_2.9.1.jar ... [SUCCESSFUL ] org.scala-tools.sbt#collections_2.9.1;0.11.1!collections_2.9.1.jar (1684ms) downloading http://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbt/cache_2.9.1/0.11.1/jars/cache_2.9.1.jar ... [SUCCESSFUL ] org.scala-tools.sbt#cache_2.9.1;0.11.1!cache_2.9.1.jar (1025ms) :: retrieving :: org.scala-tools.sbt#boot-app confs: [default] 37 artifacts copied, 0 already retrieved (7178kB/385ms) [info] Set current project to sbt-android-plugin (in build file:/C:/cygwin/usr/local/android-plugin/) [success] Total time: 0 s, completed Nov 16, 2011 11:30:29 AM [warn] Credentials file C:\Users\Jeff.ivy2.credentials does not exist [info] Packaging C:\cygwin\usr\local\android-plugin\target\scala-2.9.1\sbt-0.11.1\sbt-android-plugin-0.6.0-sources.jar ... [info] Done packaging. [info] Updating {file:/C:/cygwin/usr/local/android-plugin/}default-a93f88... [info] Wrote C:\cygwin\usr\local\android-plugin\target\scala-2.9.1\sbt-0.11.1\sbt-android-plugin-0.6.0.pom [info] Resolving com.google.android.tools#ddmlib;r10 ... [info] Resolving net.sf.proguard#proguard-base;4.6 ... [info] Resolving org.scala-tools.sbt#sbt_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#main_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#actions_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#classfile_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#io_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#control_2.9.1;0.11.1 ... [info] Resolving org.scala-lang#scala-library;2.9.1 ... [info] Resolving org.scala-tools.sbt#interface;0.11.1 ... [info] Resolving org.scala-tools.sbt#logging_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#process_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#classpath_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#launcher-interface_2.9.1;0.11.1 ... [info] Resolving org.scala-lang#scala-compiler;2.9.1 ... [info] Resolving org.scala-tools.sbt#incremental-compiler_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#collections_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#api_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#persist_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbinary#sbinary_2.9.0;0.4.0 ... [info] Resolving org.scala-tools.sbt#compile_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#ivy_2.9.1;0.11.1 ... [info] Resolving org.apache.ivy#ivy;2.2.0 ... [info] Resolving com.jcraft#jsch;0.1.31 ... [info] Resolving commons-httpclient#commons-httpclient;3.1 ... [info] Resolving commons-logging#commons-logging;1.0.4 ... [info] Resolving commons-codec#commons-codec;1.2 ... [info] Resolving org.scala-tools.sbt#completion_2.9.1;0.11.1 ... [info] Resolving jline#jline;0.9.94 ... [info] Resolving org.scala-tools.sbt#run_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#task-system_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#tasks_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#tracking_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#cache_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.sbt#testing_2.9.1;0.11.1 ... [info] Resolving org.scala-tools.testing#test-interface;0.5 ... [info] Resolving org.scala-tools.sbt#compiler-interface;0.11.1 ... [info] Resolving org.scala-tools.sbt#precompiled-2_8_1;0.11.1 ... [info] Resolving org.scala-tools.sbt#precompiled-2_8_0;0.11.1 ... [info] Resolving org.scala-tools.sbt#precompiled-2_9_0;0.11.1 ... [info] Done updating. [info] :: delivering :: org.scala-tools.sbt#sbt-android-plugin;0.6.0 :: 0.6.0 :: release :: Wed Nov 16 11:30:32 CST 2011 [info] delivering ivy file to C:\cygwin\usr\local\android-plugin\target\scala-2.9.1\sbt-0.11.1\ivy-0.6.0.xml [info] Generating API documentation for main sources... [info] Compiling 18 Scala sources to C:\cygwin\usr\local\android-plugin\target\scala-2.9.1\sbt-0.11.1\classes... model contains 25 documentable templates [info] API documentation generation successful. [info] Packaging C:\cygwin\usr\local\android-plugin\target\scala-2.9.1\sbt-0.11.1\sbt-android-plugin-0.6.0-javadoc.jar ... [info] Done packaging. [info] Packaging C:\cygwin\usr\local\android-plugin\target\scala-2.9.1\sbt-0.11.1\sbt-android-plugin-0.6.0.jar ... [info] Done packaging. [info] published sbt-android-plugin to C:\Users\Jeff.ivy2/local/org.scala-tools.sbt/sbt-android-plugin/scala_2.9.1/sbt_0.11.1/0.6.0/poms/sbt-android-plugin.pom [info] published sbt-android-plugin to C:\Users\Jeff.ivy2/local/org.scala-tools.sbt/sbt-android-plugin/scala_2.9.1/sbt_0.11.1/0.6.0/jars/sbt-android-plugin.jar [info] published sbt-android-plugin to C:\Users\Jeff.ivy2/local/org.scala-tools.sbt/sbt-android-plugin/scala_2.9.1/sbt_0.11.1/0.6.0/srcs/sbt-android-plugin-sources.jar [info] published sbt-android-plugin to C:\Users\Jeff.ivy2/local/org.scala-tools.sbt/sbt-android-plugin/scala_2.9.1/sbt_0.11.1/0.6.0/docs/sbt-android-plugin-javadoc.jar [info] published ivy to C:\Users\Jeff.ivy2/local/org.scala-tools.sbt/sbt-android-plugin/scala_2.9.1/sbt_0.11.1/0.6.0/ivys/ivy.xml [success] Total time: 29 s, completed Nov 16, 2011 11:30:58 AM