Skip to content

Commit 57b242c

Browse files
committed
1 parent 16789f4 commit 57b242c

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

pom.xml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,16 @@
6363
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
6464
<gpg.skip>true</gpg.skip> <!-- by default skip gpg -->
6565
<antlr4.version>4.13.2</antlr4.version>
66+
<server>central</server>
6667
</properties>
6768
<distributionManagement>
6869
<snapshotRepository>
69-
<id>ossrh</id>
70-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
70+
<id>central</id>
71+
<url>https://central.sonatype.com</url>
7172
</snapshotRepository>
7273
<repository>
73-
<id>ossrh</id>
74-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
74+
<id>central</id>
75+
<url>https://central.sonatype.com</url>
7576
</repository>
7677
</distributionManagement>
7778
<dependencies>
@@ -146,6 +147,16 @@
146147
</resource>
147148
</resources>
148149
<plugins>
150+
<plugin>
151+
<groupId>org.sonatype.central</groupId>
152+
<artifactId>central-publishing-maven-plugin</artifactId>
153+
<version>0.8.0</version>
154+
<extensions>true</extensions>
155+
<configuration>
156+
<publishingServerId>central</publishingServerId>
157+
</configuration>
158+
</plugin>
159+
<!-- replaced by direct maven central repo above
149160
<plugin>
150161
<groupId>org.sonatype.plugins</groupId>
151162
<artifactId>nexus-staging-maven-plugin</artifactId>
@@ -157,6 +168,7 @@
157168
<autoReleaseAfterClose>false</autoReleaseAfterClose>
158169
</configuration>
159170
</plugin>
171+
-->
160172
<plugin>
161173
<groupId>org.apache.maven.plugins</groupId>
162174
<artifactId>maven-gpg-plugin</artifactId>

0 commit comments

Comments
 (0)