porscheinformatik / sonarqube-licensecheck

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

MavenDependencyScanner works only for Java language #355

Open Janpopan opened 1 year ago

Janpopan commented 1 year ago

@derkoe as far as I understand the MavenDependencyScanner.java code. This scanner only will be triggert if a java file is found:

        Dependency dependency =
            new Dependency(groupId + ":" + artifactId, version, null, LicenseCheckRulesDefinition.LANG_JAVA);
        if (new File(path).exists())
        {
            dependency.setPomPath(path);
        }
        return dependency;

so far #350 is not solved