Skip to content

Commit

Permalink
Update version number and made it work in combination with the scala …
Browse files Browse the repository at this point in the history
…sonar plugin
  • Loading branch information
TimSoethout committed Feb 24, 2016
1 parent d7d92fd commit 882d14c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<groupId>com.ncredinburgh</groupId>
<artifactId>sonar-scalastyle</artifactId>
<packaging>sonar-plugin</packaging>
<version>0.0.3-SNAPSHOT</version>
<version>0.0.4</version>

<name>Sonar Scalastyle Plugin</name>
<description>Enables analysis of Scala projects with Scalastyle.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import com.ncredinburgh.sonar.scalastyle.core.Scala
*/
class ScalastylePlugin extends SonarPlugin {
override def getExtensions: java.util.List[Class[_ <: Extension]] = ListBuffer(
classOf[Scala],
// classOf[Scala],
classOf[ScalastyleRepository],
classOf[ScalastyleQualityProfile],
classOf[ScalastyleSensor]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ class ScalastylePluginSpec extends FlatSpec with Matchers {
assert(testee.getExtensions.contains(classOf[ScalastyleRepository]))
}

it should "provide a scala language" in {
assert(testee.getExtensions.contains(classOf[Scala]))
}
// it should "provide a scala language" in {
// assert(testee.getExtensions.contains(classOf[Scala]))
// }

it should "provide a scalastyle quality profile" in {
assert(testee.getExtensions.contains(classOf[ScalastyleQualityProfile]))
Expand Down

0 comments on commit 882d14c

Please sign in to comment.