1

I am receiving this compilation error:

[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: com.typesafe.sbt#sbt-scalariform;1.3.0: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn] 
[warn]  Note: Some unresolved dependencies have extra attributes.  Check that these dependencies exist with the requested attributes.
[warn]      com.typesafe.sbt:sbt-scalariform:1.3.0 (scalaVersion=2.11, sbtVersion=0.13)
[warn] 

In the root of my project I have a build.sbt file:

   scalaVersion in ThisBuild := "2.11.6"

I also have a core/build.sbt file with several resolvers, libraryDependencies, and exclusions.

project/plugins.sbt:

   addSbtPlugin(...)
   resolvers += "Typesafe Public Repo" at "http://repo.typesafe.com/typesafe/releases"
   resolvers += "JBoss Repository" at "http://repository.jboss.org/nexus/content/groups/public//"

~/.sbt/0.13/global.sbt

   scalaVersion := "2.11.6"
user2827214
  • 1,191
  • 1
  • 13
  • 32

2 Answers2

5

You need to remove scalaVersion := "2.11.6" from ~/.sbt/0.13/global.sbt.

In sbt 0.13, sbt and its ecosystem of plugins is current using Scala 2.10.

Dale Wijnand
  • 6,054
  • 5
  • 28
  • 55
1

The sbt-scalariform changed the groupId/organization

raisercostin
  • 8,777
  • 5
  • 67
  • 76