Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
NameJava Ecosystem
Latest version2.1.5 ( 28 october 2013 25 march 2014 )
Requires SonarQube version34.62 or higher ( check version compatibility )
DownloadJavaEcosystem-2.1.5.zip
LicenseGNU LGPL 3
DevelopersSonarSource
Issue trackerhttp://jira.codehaus.org/browse/SONARJAVA
Sourceshttps://github.com/SonarSource/sonar-java

...

On top of the coding rules provided by the SonarQube engine, you can activate rules from CheckstyleFindBugsPMDClirr,  and fb-contrib. ButHowever, we highly recommend you to use rules that you limit your Quality Profiles to from the SonarQube engine as much as possible because we believe that they are faster, more accurate (fewer false positives and false negatives), faster and more usable (they have better descriptions, etc). Read this blog post for more details.

The Java Ecosystem is compatible with the SonarQube Eclipse plugin for tracking issues while coding. It is also compatible with the Issues Report plugin to run pre-commit local analysis.

Installation

By default the Java Ecosystem is provided with SonarQube. You can update it from the Update Center or download the latest release from this page header. Don't forget to check the upgrade notes.

Usage

Run a SonarQube Analysis

...

By default the code coverage engine is JaCoCo, but CoberturaEmma or Clover can also be used.

...

Upgrade Notes

Version 2.0

This version no longer includes the Checkstyle and PMD plugins. Therefore, you should install those two plugins if you're still using some of their rules.

All the valuable rules from PMD and Checkstyle were rewritten based on our own SSLR technology. These rules are now available in the SonarQube repository. Deprecated rules from PMD and Checkstyle are flagged as so and their replacement is stated in the rule description:

Image Added

See http://www.sonarqube.org/already-158-checkstyle-and-pmd-rules-deprecated-by-sonarqube-java-rules/ for more details.

Version 1.5

  • Property sonar.surefire.reportsPath is deprecated. Use  has been removed and replaced by sonar.junit.reportsPath instead.