Skip to content

Commit 7bbaf4d

Browse files
committed
Release 27 OSSRH migration
1 parent aa99f19 commit 7bbaf4d

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

pom.xml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<distribution>repo</distribution>
3333
</license>
3434
</licenses>
35-
<distributionManagement>
35+
<!-- <distributionManagement>
3636
<snapshotRepository>
3737
<id>ossrh</id>
3838
<url>https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots</url>
@@ -41,7 +41,7 @@
4141
<id>ossrh</id>
4242
<url>https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/</url>
4343
</repository>
44-
</distributionManagement>
44+
</distributionManagement>-->
4545
<build>
4646
<plugins>
4747
<plugin>
@@ -91,7 +91,7 @@
9191
</execution>
9292
</executions>
9393
</plugin>
94-
<plugin>
94+
<!-- <plugin>
9595
<groupId>org.sonatype.plugins</groupId>
9696
<artifactId>nexus-staging-maven-plugin</artifactId>
9797
<version>1.7.0</version>
@@ -101,6 +101,16 @@
101101
<nexusUrl>https://ossrh-staging-api.central.sonatype.com/</nexusUrl>
102102
<autoReleaseAfterClose>true</autoReleaseAfterClose>
103103
</configuration>
104+
</plugin>-->
105+
<plugin>
106+
<groupId>org.sonatype.central</groupId>
107+
<artifactId>central-publishing-maven-plugin</artifactId>
108+
<version>0.8.0</version>
109+
<extensions>true</extensions>
110+
<configuration>
111+
<publishingServerId>central</publishingServerId>
112+
<autoPublish>true</autoPublish>
113+
</configuration>
104114
</plugin>
105115
<plugin>
106116
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)