boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; MavenArchetype that = (MavenArchetype)o; return Objects.equals(groupId, that.groupId) && Objects.equals(artifactId, that.artifactId) && Objects.equals(version, that.version); }