Skip to content

Commit 0c84fc9

Browse files
committed
migrate ossrh to central publisher
1 parent 38fff0a commit 0c84fc9

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
@@ -40,17 +40,6 @@
4040
<tag>HEAD</tag>
4141
</scm>
4242

43-
<distributionManagement>
44-
<snapshotRepository>
45-
<id>ossrh</id>
46-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
47-
</snapshotRepository>
48-
<repository>
49-
<id>ossrh</id>
50-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
51-
</repository>
52-
</distributionManagement>
53-
5443
<properties>
5544
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
5645
<maven.compiler.source>11</maven.compiler.source>
@@ -103,6 +92,15 @@
10392
<source>${javadoc.java-version}</source>
10493
</configuration>
10594
</plugin>
95+
<plugin>
96+
<groupId>org.sonatype.central</groupId>
97+
<artifactId>central-publishing-maven-plugin</artifactId>
98+
<version>0.7.0</version>
99+
<extensions>true</extensions>
100+
<configuration>
101+
<publishingServerId>central</publishingServerId>
102+
</configuration>
103+
</plugin>
106104
<plugin>
107105
<groupId>org.apache.maven.plugins</groupId>
108106
<artifactId>maven-gpg-plugin</artifactId>

0 commit comments

Comments
 (0)