Code Monkey home page Code Monkey logo

svs-sonar3-rules's Introduction

Some of my java rules for Sonar, 2015

How to deploy this plugin

  1. Build the project running mvn clean install.
  2. Go to target directory. Copy svs-sonar-java-rules-<version>.jar into $SONARQUBE_HONE/extensions/plugins.
  3. Restart SonarQube server.
  4. Goto http://localhost:9000/profiles and make sure profile 'SVS Code Convention Rules' is exists and active.

How to develop this plugin

Useful links to start from: *SonarQube platform documentation *Developer documentation *Plugin example sources *Sonar Java plugin sources *SonarQube sources *SonarQube google group

alt SonarPlatform

How to use this plugin

Suppose that:

  • Your SonarQube server is running on SERVER_ADDRESS=http://localhost:9000.
  • SonarQube uses MySQL database accessible via jdbc SERVER_JDBC_URL=jdbc:mysql://localhost:3306/sonar?useUnicode=true&amp;characterEncoding=utf8.
  1. Download SonarQube Runner
  2. Edit SonarQube Runner config at $SONARQUBE_RUNNER_HOME/conf/sonar-runner.properties
    2.1. Setup sonar.host.url=$SERVER_ADDRESS
    2.2. Setup sonar.jdbc.url=$SERVER_JDBC_URL
    2.3. Setup sonar.jdbc.username and sonar.jdbc.password
    2.4. Setup sonar.login and sonar.password. Default is admin/admin
  3. Add sonar-project.properties into the root of a project to be analyzed. As described here in section 'Simple Project'. Additional SonarQube Runner parameters can be found here
  4. Run $SONARQUBE_RUNNER_HOME/bin/sonar-runner from the project root.

svs-sonar3-rules's People

Contributors

sivikt avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.