boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; MavenArtifact that = (MavenArtifact)o; return Objects.equals(myGroupId, that.myGroupId) && Objects.equals(myArtifactId, that.myArtifactId) && Objects.equals(myVersion, that.myVersion) && Objects.equals(myBaseVersion, that.myBaseVersion) && Objects.equals(myType, that.myType) && Objects.equals(myClassifier, that.myClassifier) && Objects.equals(myScope, that.myScope) && Objects.equals(myExtension, that.myExtension) && Objects.equals(myFile, that.myFile); }