Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 1.23 KB

contributing-plugin.md

File metadata and controls

28 lines (18 loc) · 1.23 KB

Building, Testing and Debugging the SonarQube plugin

Setup your Java environment

  • Install the Java Development Kit (JDK) version 11 or later (make sure it's an LTS version) - you can install it from here
  • Install IntelliJ IDEA Community Edition
  • Install Apache Maven
  • Setup the Maven Settings (internal link)
  • Setup the Orchestrator (internal link)

Working with the code

  1. Clone this repository
  2. Build the plugin
    1. dotnet build .\analyzers\SonarAnalyzer.sln
    2. mvn clean install

Developing with Eclipse or IntelliJ

When working with Eclipse or IntelliJ please follow the sonar guidelines

Running Tests

As for any maven project, the command mvn clean install automatically runs the unit tests.

Contributing

Please see the How to contribute section for details on contributing changes back to the code.