mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-23 17:41:28 +01:00
fixed copy/paste error when checking for oss parent group/artifact
Former-commit-id: 432420dd19272d47e3073c0c6513de69c75c4409
This commit is contained in:
@@ -478,7 +478,7 @@ public class JarAnalyzer extends AbstractFileTypeAnalyzer {
|
|||||||
String version = pom.getVersion();
|
String version = pom.getVersion();
|
||||||
String parentVersion = pom.getParentVersion();
|
String parentVersion = pom.getParentVersion();
|
||||||
|
|
||||||
if ("org.sonatype.oss".equals(parentGroupId) && "oss-parent".equals(artifactid)) {
|
if ("org.sonatype.oss".equals(parentGroupId) && "oss-parent".equals(parentArtifactId)) {
|
||||||
parentGroupId = null;
|
parentGroupId = null;
|
||||||
parentArtifactId = null;
|
parentArtifactId = null;
|
||||||
parentVersion = null;
|
parentVersion = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user