sonarqube-licensecheck
sonarqube-licensecheck copied to clipboard
License Check page in SonarQube dashboard not showing any licenses
I just tried your plugin and followed all the instructions for the setup in SonarQube. When I start analyzing my project with Maven, it seems to activate the sensor and there are no errors reported:
15:38:20.662 Sensor License Check [licensecheck]
[INFO] 15:38:20.663 Scanning for NPM dependencies (dir=xxx\sandbox_CD_feature_sonarqube\mavenapp)
[INFO] 15:38:20.665 No license-details.json file found in xxx\mavenapp\target\sonar\build\reports\dependency-license\license-details.json - skipping Gradle dependency scan
[INFO] 15:38:20.681 Sensor License Check [licensecheck] (done) | time=19ms
It is a very simple sandbox-project based on Java/Maven with two dependencies in the pom.xml. Anyway, whatever I'm trying to do, the dashboard page in SonarQube is always showing an empty list of licenses and dependencies:
Licenses This is a list of all licenses used in any dependencies listed below. (empty)
Dependencies Here you see all project dependencies from Maven (including transitive) and NPM. Name Version License Status (empty)
Can you please help me out? I tried almost everything but the dependencies are not showing up. Thank you!