stopped trimming org and com off of the groupid so it is consistent with other analyzers

Former-commit-id: c22d3b7af9af00c28ee0df80ba706f70399b80ef
This commit is contained in:
Jeremy Long
2014-11-01 06:51:05 -04:00
parent d281c36733
commit a7fd410b01

View File

@@ -636,9 +636,6 @@ public class JarAnalyzer extends AbstractFileTypeAnalyzer {
final String originalGroupID = groupid;
if (groupid != null && !groupid.isEmpty()) {
if (groupid.startsWith("org.") || groupid.startsWith("com.")) {
groupid = groupid.substring(4);
}
foundSomething = true;
dependency.getVendorEvidence().addEvidence("pom", "groupid", groupid, Confidence.HIGHEST);
dependency.getProductEvidence().addEvidence("pom", "groupid", groupid, Confidence.LOW);