Skip to content

Commit

Permalink
feat(version): Upgrade 0.0.2 -> 0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Augustin Borsu committed May 1, 2016
1 parent 5adef59 commit ab1f41c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Intended for sonarqube 5.4
Download the latest relase into your sonar extentions/downloads folder.
Restart sonarqube either using the update center or manually.

The rules in scalastyle are almost all deactivated. They must be activated and either make scala rules inherit scalastyle rules or change the project's rules.

# Build from source
```mvn package```

Expand All @@ -16,16 +18,21 @@ mvn test
sonar-runner -D sonar.projectKey=Sagacify:sonar-scala
```

# Contributing
Any contribution in the form of a pull request or a signed patch will be accepted.
Please follow the semantic changelog to format your commits [cfr]((https://github.com/Sagacify/komitet-gita-bezopasnosti).
All changes are submitted to automated tests that must pass for the pull-request to be merged.

# Info
This plugin is not an evolution from the legacy sonar-scala-plugin of which versions can be found laying around such as [1and1/sonar-scala](https://github.com/1and1/sonar-scala).
The previous plugin used the scala compiler to create its metrics which had the disadvantage of requiring a specific plugin per scala version.
Instead, we are using the [scala-ide/scalariform](https://github.com/scala-ide/scalariform) library to parse the source code in a version independent way.

# TODO
* Add property to sepcify scala version (currently defaults to 2.11.8)
* Integrate scalastyle
* Integrate coverage metrics
* Integrate scalawarts
* Optimize scalastyle integration (currently two seperate analysers)
...

# Credits
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<artifactId>sonar-scala-plugin</artifactId>
<packaging>sonar-plugin</packaging>
<version>0.0.2-SNAPSHOT</version>
<version>0.0.3-SNAPSHOT</version>

<name>Sonar Scala Plugin</name>
<description>Enables analysis of Scala projects into Sonar.</description>
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Required metadata
sonar.projectName=Sonar Scala Plugin
sonar.projectVersion=0.0.2
sonar.projectVersion=0.0.3

# Comma-separated paths to directories with sources (required)
sonar.sources=src
Expand Down

0 comments on commit ab1f41c

Please sign in to comment.