scalala / Scalala

Scalala has been superseded by dlwh/breeze. Scalala is a high performance numeric linear algebra library for Scala, with rich Matlab-like operators on vectors and matrices; a library of numerical routines; support for plotting.
http://groups.google.com/group/scalala
GNU Lesser General Public License v2.1
298 stars 30 forks source link

Unresolved dependencies proguard #33

Open drozzy opened 12 years ago

drozzy commented 12 years ago

Doing sbt update on scalala git project I get:

[warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: UNRESOLVED DEPENDENCIES :: [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: com.github.siasia#xsbt-proguard-plugin;0.1-SNAPSHOT: not found [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] [warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requeste d attributes. [warn] com.github.siasia:xsbt-proguard-plugin:0.1-SNAPSHOT (sbtVersion=0.11.1, scalaVersion=2.9.1) [warn] [error] {file:/Projects/scala/Scalala/project/plugins/}default-71d8d6/*:update: sbt.ResolveException: unresolved dependency: com.github.siasia#xsbt-proguard-plugin;0.1-SNAPSHOT: not found Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? q

scala -version Scala code runner version 2.9.1.final -- Copyright 2002-2011, LAMP/EPFL

willu commented 12 years ago

This is not hard to fix. Edit the file ./project/plugins/plugins.sbt and uncomment the first line and comment out the next two. It ends up like this:

libraryDependencies <+= sbtVersion(v => "com.github.siasia" %% "xsbt-proguard-plugin" % (v+"-0.1.1"))

// resolvers += "Proguard plugin repo" at "http://siasia.github.com/maven2"

// addSbtPlugin("com.github.siasia" % "xsbt-proguard-plugin" % "0.1-SNAPSHOT")

scalala commented 12 years ago

I'll admit that sometimes these things are hard to debug given the way that sbt / ivy caches things, but I can't reproduce this problem. Using a fresh user account on my machine with a new git clone and a new ./sbt update takes a while to download the dependencies but eventually succeeds without issue.

afwlehmann commented 12 years ago

As a matter of fact, sbt also fails in my case when using the current downloadable version of sbt-launch.jar, see this log. Interestingly enough, the freshly downloaded version shows the same about info as the jar provided with Scalala.