@Override
    public boolean equals(final Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        final Artifact a = (Artifact) o;

        if (group != null ? !group.equals(a.group) : a.group != null) return false;
        if (artifact != null ? !artifact.equals(a.artifact) : a.artifact != null) return false;
        if (version != null ? !version.equals(a.version) : a.version != null) return false;

        return true;
    }
Create a new instance.

@param group the {@code groupId}
@param artifact the {@code artifactId}
@param version the {@code version}
gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/util/Artifact.java