Skip to content

Commit 2429ac3

Browse files
authored
ci: remove unnecessary distributionManagement section (#3565)
The distributionManagement declared in the pom.xml files interferes the upload to GCP ArtifactRegistry because it tries to upload artifacts to google.oss.sonatype.org even when you try to upload artifacts to GCP Artifact Registry (b/377328233#comment9). The distributionManagement is already configured in the parent POM at https://github.com/googleapis/java-shared-config/blob/6d526a3129f585338b14dab8f041e56dbaae4cd5/native-image-shared-config/pom.xml#L42. No need redeclare in these pom.xml files.
1 parent 8b9a4c5 commit 2429ac3

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

java-common-protos/pom.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,6 @@
3131
<organization>
3232
<name>Google LLC</name>
3333
</organization>
34-
<distributionManagement>
35-
<snapshotRepository>
36-
<id>sonatype-nexus-snapshots</id>
37-
<url>https://google.oss.sonatype.org/content/repositories/snapshots</url>
38-
</snapshotRepository>
39-
<repository>
40-
<id>sonatype-nexus-staging</id>
41-
<url>https://google.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
42-
</repository>
43-
</distributionManagement>
4434
<licenses>
4535
<license>
4636
<name>Apache-2.0</name>

java-iam/pom.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,6 @@
3131
<organization>
3232
<name>Google LLC</name>
3333
</organization>
34-
<distributionManagement>
35-
<snapshotRepository>
36-
<id>sonatype-nexus-snapshots</id>
37-
<url>https://google.oss.sonatype.org/content/repositories/snapshots</url>
38-
</snapshotRepository>
39-
<repository>
40-
<id>sonatype-nexus-staging</id>
41-
<url>https://google.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
42-
</repository>
43-
</distributionManagement>
4434
<licenses>
4535
<license>
4636
<name>Apache-2.0</name>

0 commit comments

Comments
 (0)