Closed ibarrancos closed 3 years ago
Did you enable the two rules in the quality profile for the project (https://github.com/porscheinformatik/sonarqube-licensecheck#installation)?
@derkoe thanks for your reply :)
That was the problem, Great!... Thank you so much.
1) I create a new Quality Profile that extends from SonarWay, and configure as default
2) The differences between two Quality Profiles are the license-check rules
3) Then, I run maven and now it does publish the report :)
I'm trying to use the plugin with sonarqube community 8.4.2 (build 36762). I installed the plugin on the server, and the options shows as written in README.md.
Then run maven,
It runs without errors, but does not write any reports with the licenses:
find -iname "*licen*"
...it's empty. In the server console, the section also appears emptyI am using Java 11 and maven 3.6.1 on Linux. Also, i have tried sonar-maven-plugin version 3.7.0.1746, and run
install
instead ofverify
, but with the same result.How can I force the plugin to run locally and post the report to the server?