Tuesday, 4 November 2014

Static Code analysis for java Maven project using sonarqube.


Static Code analysis for java Maven project using sonarqube.
1.       Sonarqube is an open source project and can be download from below location
2.       Extract the rar file to the choice of your location.
3.       By default sonarqube runs on port 9000. It can be changed at below location
Parameter to change-sonar.web.port
Sonar_home\conf\sonar.properties.
4.       Sonarqube can be started at below location based on your system OS
Sonar_home\bin
For instance in case of 64-bit windows use below directory
Sonar_home\bin\ windows-x86-64 and run SonarStart.Bat
5.       Run below Maven command from directory where your parent POM.xml is kept
mvn sonar:sonar
6.       Sonarqube console can be accessed at http://localhost:9000/  default username/password is admin/admin






1 comment:

  1. Lucky Club Casino Site - Lucky Club
    Lucky Club Casino - The home of Lucky Club! We want to have the best in luckyclub online gaming. We aim to bring you the highest quality and fast  Rating: 4 · ‎28 votes

    ReplyDelete