@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        ArtifactId that = (ArtifactId) o;
        return Objects.equals(groupId, that.groupId) && Objects.equals(artifactId, that.artifactId);
    }
Helper class to work with artifacts, where version does not matter.

@author gjoranv
bundle-plugin/src/main/java/com/yahoo/container/plugin/util/ArtifactId.java