private static boolean artifactsMatch ( org . apache . maven . model . Dependency d , Artifact a ) { return isEqualOrNull ( a . getArtifactId ( ) , d . getArtifactId ( ) ) && isEqualOrNull ( a . getGroupId ( ) , d . getGroupId ( ) ) && isEqualOrNull ( a . getVersion ( ) , d . getVersion ( ) ) ; }
Determines if the groupId artifactId and version of the Maven dependency and artifact match .