Skip to content

update snapshot-repository in pom.xml#29

Merged
bhokaremoin merged 1 commit intomainfrom
update-server-id-pom-file
Mar 13, 2026
Merged

update snapshot-repository in pom.xml#29
bhokaremoin merged 1 commit intomainfrom
update-server-id-pom-file

Conversation

@bhokaremoin
Copy link
Copy Markdown
Contributor

@bhokaremoin bhokaremoin commented Mar 13, 2026

This pull request updates the Maven publishing configuration in the pom.xml file to migrate from the old Sonatype OSSRH repository and plugin to the new Sonatype Central repository and publishing plugin. These changes ensure that artifacts are published using the latest infrastructure and tools.

Repository migration:

  • Updated the distributionManagement section to use the new Sonatype Central repository URLs and changed repository IDs from ossrh to central.

Publishing plugin update:

  • Replaced the nexus-staging-maven-plugin with the new central-publishing-maven-plugin, updated the group and artifact IDs, and changed the configuration to use publishingServerId with the value central.

@bhokaremoin bhokaremoin requested a review from a team as a code owner March 13, 2026 10:47
@bhokaremoin bhokaremoin merged commit ee47bca into main Mar 13, 2026
11 checks passed
@bhokaremoin bhokaremoin deleted the update-server-id-pom-file branch March 13, 2026 10:59
Comment thread pom.xml
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<!-- set to 'false' if you want to manually inspect the repository before releasing -->
<autoReleaseAfterClose>true</autoReleaseAfterClose>
<publishingServerId>central</publishingServerId>
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add this - <autoPublish>true</autoPublish> here
I have added it my stable release ref - https://github.com/percy/percy-playwright-java/pull/30/changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants