Scanning a Spring Boot Project
About
How SonarQube Fits into the Spring Boot Build ?
Source Code
↓
mvn compile
↓
mvn test (JaCoCo generates coverage)
↓
sonar:sonar
↓
SonarQube Dashboard + Quality GateOption 1: Local SonarQube Using Docker + Maven Sonar Plugin
Step-wise Process
Step 1: Run SonarQube Using Docker
Step 2: Access SonarQube UI
Step 3: Configure Spring Boot Project for Analysis
Step 4: Use Maven Sonar Plugin to Trigger Scan
Step 5: Authentication and Project Binding
Script
Example



Option 2: Local SonarQube Using Docker + Maven Sonar Plugin
Install SonarQube for IDE in IntelliJ
Connect IntelliJ to the SonarQube Server
Steps:








Last updated