Skip to content

Commit 1b2d95d

Browse files
committed
build: remove <repositories> from oss-exit-gate profile and pin maven-deploy-plugin
1 parent 0d17410 commit 1b2d95d

1 file changed

Lines changed: 3 additions & 12 deletions

File tree

‎pom.xml‎

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -392,9 +392,12 @@
392392
<skipPublishing>true</skipPublishing>
393393
</configuration>
394394
</plugin>
395+
<!-- central-publishing-maven-plugin (extensions=true) disables default-deploy;
396+
this execution restores deploy behaviour when skipPublishing=true. -->
395397
<plugin>
396398
<groupId>org.apache.maven.plugins</groupId>
397399
<artifactId>maven-deploy-plugin</artifactId>
400+
<version>3.1.3</version>
398401
<executions>
399402
<execution>
400403
<id>oss-exit-gate-deploy</id>
@@ -413,18 +416,6 @@
413416
<url>artifactregistry://us-maven.pkg.dev/oss-exit-gate-prod/google-java-fmt--mavencentral</url>
414417
</repository>
415418
</distributionManagement>
416-
<repositories>
417-
<repository>
418-
<id>oss-exit-gate</id>
419-
<url>artifactregistry://us-maven.pkg.dev/oss-exit-gate-prod/google-java-fmt--mavencentral</url>
420-
<releases>
421-
<enabled>true</enabled>
422-
</releases>
423-
<snapshots>
424-
<enabled>true</enabled>
425-
</snapshots>
426-
</repository>
427-
</repositories>
428419
</profile>
429420
</profiles>
430421
</project>

0 commit comments

Comments
 (0)