MojoJolo / textteaser

TextTeaser is an automatic summarization algorithm.
MIT License
1.97k stars 250 forks source link

Error with unresolved dependency github.com/mpeltonen/sbt-idea;1.6.0-SNAPSHOT #29

Closed bo-peng closed 10 years ago

bo-peng commented 10 years ago

When trying to run sbt run or sbt eclipse, I get the following error:

[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: com.github.mpeltonen#sbt-idea;1.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]      com.github.mpeltonen:sbt-idea:1.6.0-SNAPSHOT (sbtVersion=0.12, scalaVersion=2.9.2)
[warn]

...

[error] (*:update) sbt.ResolveException: unresolved dependency: com.github.mpeltonen#sbt-idea;1.6.0-SNAPSHOT: not found
Project loading failed

I'm on a Mac OS X 10.9.3 if that makes a difference. I've never coded in Java so eclipse is rather new to me.

Is there a workaround, or am I not doing something right? Any help would be appreciated. Thanks!

MojoJolo commented 10 years ago

Can you replaced this line (https://github.com/MojoJolo/textteaser/blob/master/project/plugins.sbt#L7) with this:

addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.6.0")

I think the previous dependency doesn't exist anymore thus needs to be replaced. If it works, can you pull request your changes and I'll merge it.