Skip to content

Commit 515fa52

Browse files
committed
Move from OSSRH to Central
1 parent d903037 commit 515fa52

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

pom.xml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -52,19 +52,17 @@
5252
<jackson.version>2.19.1</jackson.version>
5353
</properties>
5454

55-
<distributionManagement>
56-
<snapshotRepository>
57-
<id>ossrh</id>
58-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
59-
</snapshotRepository>
60-
<repository>
61-
<id>ossrh</id>
62-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
63-
</repository>
64-
</distributionManagement>
65-
6655
<build>
6756
<plugins>
57+
<plugin>
58+
<groupId>org.sonatype.central</groupId>
59+
<artifactId>central-publishing-maven-plugin</artifactId>
60+
<version>0.8.0</version>
61+
<extensions>true</extensions>
62+
<configuration>
63+
<publishingServerId>central</publishingServerId>
64+
</configuration>
65+
</plugin>
6866
<plugin>
6967
<groupId>org.apache.maven.plugins</groupId>
7068
<artifactId>maven-source-plugin</artifactId>

0 commit comments

Comments
 (0)