void (StringBuilder result, @Nullable String extraArtifactClassifier, @Nullable String customExtension, boolean useBaseVersion) { result.append(myArtifactId); result.append('-'); result.append(useBaseVersion ? myBaseVersion : myVersion); String fullClassifier = getFullClassifier(extraArtifactClassifier); if (fullClassifier != null) { result.append("-").append(fullClassifier); } result.append("."); result.append(customExtension == null ? myExtension : customExtension); }