Skip to content

Commit 4fc6acb

Browse files
committed
Update Sonatype publishing
1 parent 1b9fff2 commit 4fc6acb

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

pom.xml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@
5252
<distributionManagement>
5353
<snapshotRepository>
5454
<id>ossrh</id>
55-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
55+
<url>https://central.sonatype.com/snapshots</url>
5656
</snapshotRepository>
5757
<repository>
5858
<id>ossrh</id>
59-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
59+
<url>https://central.sonatype.com</url>
6060
</repository>
6161
</distributionManagement>
6262

@@ -148,6 +148,16 @@
148148
</executions>
149149
</plugin>
150150
-->
151+
<plugin>
152+
<groupId>org.sonatype.central</groupId>
153+
<artifactId>central-publishing-maven-plugin</artifactId>
154+
<version>0.8.0</version>
155+
<extensions>true</extensions>
156+
<configuration>
157+
<publishingServerId>ossrh</publishingServerId>
158+
</configuration>
159+
</plugin>
160+
<!--
151161
<plugin>
152162
<groupId>org.sonatype.plugins</groupId>
153163
<artifactId>nexus-staging-maven-plugin</artifactId>
@@ -159,6 +169,7 @@
159169
<autoReleaseAfterClose>false</autoReleaseAfterClose>
160170
</configuration>
161171
</plugin>
172+
-->
162173
<plugin>
163174
<groupId>org.apache.maven.plugins</groupId>
164175
<artifactId>maven-compiler-plugin</artifactId>

0 commit comments

Comments
 (0)