porscheinformatik / sonarqube-licensecheck

SonarQube Licensecheck Plugin
Apache License 2.0
156 stars 58 forks source link

No issues created for npm license checks #358

Closed Takatschio closed 1 year ago

Takatschio commented 1 year ago

Everything works correctly with Sonarqube 8.9 and the license check plugin 4.0.2. After updating to plugin version 5.1.1, no issues are created in sonarqube. But the licenses are still listed correctly in the license view. When I do the same with a Maven project, then all works fine. The licenses are displayed correctly, and the license issues are created.

Takatschio commented 1 year ago

The license information is determined by analyzing json files. These licenses are mapped to the “licensecheck-js, js” repository. After I enabled licensecheck rules for JavaScript and assigned JavaScript to our TypeScript project, the issues are now created as expected.