scalastyle / scalastyle-sbt-plugin

scalastyle-sbt-plugin
Apache License 2.0
139 stars 52 forks source link

install err #1

Closed astefano closed 11 years ago

astefano commented 11 years ago

Hi,

After adding to my project/plugins.sbt file the lines:

addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "0.2.0-SNAPSHOT")

resolvers += "sonatype-snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/"

and after adding to my build.sbt the line:

org.scalastyle.sbt.ScalastylePlugin.Settings

i get:

error sbt.ResolveException: unresolved dependency: org.scalastyle#scalastyle_2.9.2;0.2.0-SNAPSHOT: not found

Any clue what might wrong?

Thanks, Lacramioara

matthewfarwell commented 11 years ago

The documentation was wrong. There is now an official release for 0.2.0, so use that instead:

addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "0.2.0")

resolvers += "sonatype-releases" at "https://oss.sonatype.org/content/repositories/releases/"
astefano commented 11 years ago

wonderful, now i got it running.

1 more obs, maybe the link at http://www.scalastyle.org/sbt.html is broken?

thanks again, lacramioara