Skip to content

Commit 8f148e4

Browse files
pom: Change server id for publication to Maven Central
As OSSRH does not exist anymore, change the server id accordingly. This id is just used to relate the credentials set in publish.yml with the server defined in pom.xml.
1 parent 1c0c057 commit 8f148e4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
with:
3030
java-version: '11'
3131
distribution: 'adopt'
32-
server-id: ossrh
32+
server-id: central
3333
server-username: MAVEN_USERNAME
3434
server-password: MAVEN_PASSWORD
3535
- name: Publish to the Maven Central Repository

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@
554554
<artifactId>central-publishing-maven-plugin</artifactId>
555555
<extensions>true</extensions>
556556
<configuration>
557-
<publishingServerId>ossrh</publishingServerId>
557+
<publishingServerId>central</publishingServerId>
558558
<autoPublish>true</autoPublish>
559559
</configuration>
560560
</plugin>

0 commit comments

Comments
 (0)