diff --git a/java-shared-config/pom.xml b/java-shared-config/pom.xml
index 9b5c361d..b8b5dc5e 100644
--- a/java-shared-config/pom.xml
+++ b/java-shared-config/pom.xml
@@ -381,18 +381,6 @@
-
-
-
- com.google.cloud.artifactregistry
- artifactregistry-maven-wagon
- 2.2.3
-
-
diff --git a/native-image-shared-config/pom.xml b/native-image-shared-config/pom.xml
index d21602e1..5058a5f1 100644
--- a/native-image-shared-config/pom.xml
+++ b/native-image-shared-config/pom.xml
@@ -99,14 +99,62 @@
-
-
- org.sonatype.plugins
- nexus-staging-maven-plugin
-
-
+
+
+
+ com.google.cloud.artifactregistry
+ artifactregistry-maven-wagon
+ 2.2.3
+
+
+
+
+ release-sonatype
+
+
+
+ !artifact-registry-url
+
+
+
+
+
+ org.sonatype.plugins
+ nexus-staging-maven-plugin
+
+
+
+
+
+
+ release-gcp-artifact-registry
+
+ artifactregistry://undefined-artifact-registry-url-value
+
+
+
+ gcp-artifact-registry-repository
+ ${artifact-registry-url}
+
+
+ gcp-artifact-registry-repository
+ ${artifact-registry-url}
+
+
+
release