Skip to content

Commit

Permalink
ci: remove unnecessary distributionManagement section (#3565)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
suztomo authored Jan 9, 2025
1 parent 8b9a4c5 commit 2429ac3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
10 changes: 0 additions & 10 deletions java-common-protos/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,6 @@
<organization>
<name>Google LLC</name>
</organization>
<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<url>https://google.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>sonatype-nexus-staging</id>
<url>https://google.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<licenses>
<license>
<name>Apache-2.0</name>
Expand Down
10 changes: 0 additions & 10 deletions java-iam/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,6 @@
<organization>
<name>Google LLC</name>
</organization>
<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<url>https://google.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>sonatype-nexus-staging</id>
<url>https://google.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<licenses>
<license>
<name>Apache-2.0</name>
Expand Down

0 comments on commit 2429ac3

Please sign in to comment.