porscheinformatik / sonarqube-licensecheck

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

No plugin found for prefix 'dependency' in the current project #424

Open Aldiuser opened 2 months ago

Aldiuser commented 2 months ago

Hello, I have a Maven project, but unfortunately I get the following error message:

11:18:36,601 [INFO] 11:18:36.601 Sensor License Check [licensecheck]
11:18:36,601 [INFO] 11:18:36.601 Scanning for NPM dependencies (dir=/workspace/working-directory)
11:18:36,606 [INFO] 11:18:36.606 Scanning for Maven dependencies (POM: file:///workspace/working-directory/pom.xml)
11:18:36,607 [INFO] 11:18:36.607 Using user settings /workspace/working-directory/.m2/settings.xml
11:18:38,613 [WARNING] 11:18:38.613 Could not get dependency list via maven
11:18:38,613 [WARNING] 11:18:38.613 No plugin found for prefix 'dependency' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/workspace/working-directory/.m2), maven-repo (https://my-repo.net/path/repo), xx-yy-p2 (https://my-repo.net/path/repo)] -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException

11:18:38,617 [INFO] 11:18:38.616 No license-details.json file found in /workspace/working-directory/target/sonar/build/reports/dependency-license/license-details.json - skipping Gradle dependency scan
11:18:38,619 [INFO] 11:18:38.619 Sensor License Check [licensecheck] (done) | time=2018ms

What do I have to do? Does anyone have a solution?