diff --git a/metadata-integration/java/datahub-client/build.gradle b/metadata-integration/java/datahub-client/build.gradle index 7dad21a6417fc4..3e940b0f32248f 100644 --- a/metadata-integration/java/datahub-client/build.gradle +++ b/metadata-integration/java/datahub-client/build.gradle @@ -196,7 +196,7 @@ publishing { pom { name = 'Datahub Client' group = 'io.acryl' - artifactId = 'datahub-client' + artifactId = 'datahub-client' + (project.hasProperty('archiveAppendix') ? "-${archiveAppendix}" : '') description = 'DataHub Java client for metadata integration' url = 'https://datahubproject.io' artifacts = [shadowJar, javadocJar, sourcesJar]