sgoertzen / sonar-break-maven-plugin

Fail your maven build if sonar detects issues with the code
MIT License
10 stars 15 forks source link

Option for embedded sonarcube server #52

Open krichter722 opened 6 years ago

krichter722 commented 6 years ago

It'd be awesome if sonar-break-maven-plugin would have a feature which makes it an out-of-the-box working tool which downloads a SonarCube instance (preferably caches it), starts it and shuts it down after use. This would dramatically facilitate the use on CI services and in cases where the gathering of statistics is revelevant, and Sonarcube is used to fail the build on issues with a certain severity only (like sonar-break-maven-plugin does already).

README mentions that integration tests do the above, so maybe the code can be easily reused for this feature.