code: private boolean nodeArtifactsMatch (org.eclipse.aether.graph.DependencyNode nodeA,
                                        org.eclipse.aether.graph.DependencyNode nodeB)
    {
      if (nodeA == null || nodeB == null) {
        return false;
      }
        
      return nodeA.getArtifact().getGroupId ().equals(nodeB.getArtifact().getGroupId()) && 
          nodeA.getArtifact().getArtifactId ().equals(nodeB.getArtifact().getArtifactId());
    }
docs: Convenience function for determining if the 2 specified dependency
  nodes' artifacts match (i.e. if their group and artifact ids match)
  
  @param nodeA {@link org.eclipse.aether.graph.DependencyNode dependency node} to match against
  @param nodeB {@link org.eclipse.aether.graph.DependencyNode dependency node} to match against
  @return {@code true} if the groupId and artifactId of the provided DependencyNode objects match, {@code false} otherwise.
  @since 3.5.2