The generated code is present in a separate target folder path like: target/generated-sources/fod1/fod2/*.java
I have been trying several option but in vain please help.
<properties>
<sonar.exclusions>**/generatedsources/fod1/fod2/**/*.java</sonar.exclusions>
</properties>
I have tried the option from one of the posts also **/*generated*
See the documentation in the General Settings > Exclusions page. The pattern file:**/generated-sources/**
will do the job if you're not using a too old version of SonarQube.
On SonarQube 5.4, the exclusions for duplications are on General Settings > Analysis Scope, on the Duplications tab
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With