Skip to content

Commit 80b8065

Browse files
committed
Migrate maven upload from via Legacy OSSRH to Central Publisher Portal
1 parent e9bbdd1 commit 80b8065

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

pom.xml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -123,17 +123,6 @@
123123
<encoding>UTF-8</encoding>
124124
</configuration>
125125
</plugin>
126-
<plugin>
127-
<groupId>org.sonatype.plugins</groupId>
128-
<artifactId>nexus-staging-maven-plugin</artifactId>
129-
<version>1.6.7</version>
130-
<extensions>true</extensions>
131-
<configuration>
132-
<serverId>ossrh</serverId>
133-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
134-
<autoReleaseAfterClose>false</autoReleaseAfterClose>
135-
</configuration>
136-
</plugin>
137126
<plugin>
138127
<groupId>org.apache.maven.plugins</groupId>
139128
<artifactId>maven-javadoc-plugin</artifactId>
@@ -202,12 +191,19 @@
202191
</execution>
203192
</executions>
204193
</plugin>
205-
206194
<plugin>
207195
<artifactId>maven-surefire-plugin</artifactId>
208196
<version>3.3.1</version>
209197
</plugin>
210-
198+
<plugin>
199+
<groupId>org.sonatype.central</groupId>
200+
<artifactId>central-publishing-maven-plugin</artifactId>
201+
<version>0.7.0</version>
202+
<extensions>true</extensions>
203+
<configuration>
204+
<publishingServerId>central</publishingServerId>
205+
</configuration>
206+
</plugin>
211207
</plugins>
212208
</build>
213209
</project>

0 commit comments

Comments
 (0)