@@ -47,28 +47,7 @@ the License.-->
4747 <tag >HEAD</tag >
4848 </scm >
4949
50- <distributionManagement >
51- <repository >
52- <id >sonatype.release</id >
53- <url >https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2</url >
54- </repository >
55- <snapshotRepository >
56- <id >sonatype.snapshots</id >
57- <url >https://central.sonatype.com/repository/maven-snapshots</url >
58- </snapshotRepository >
59- </distributionManagement >
60-
6150 <repositories >
62- <repository >
63- <id >sonatype</id >
64- <url >https://ossrh-staging-api.central.sonatype.com/content/groups/public</url >
65- <releases >
66- <enabled >true</enabled >
67- </releases >
68- <snapshots >
69- <enabled >false</enabled >
70- </snapshots >
71- </repository >
7251 <repository >
7352 <id >sonatype-snapshots</id >
7453 <url >https://central.sonatype.com/repository/maven-snapshots</url >
@@ -256,27 +235,14 @@ the License.-->
256235 </plugin >
257236
258237 <plugin >
259- <groupId >org.apache.maven.plugins</groupId >
260- <artifactId >maven-release-plugin</artifactId >
261- <version >2.5.3</version >
262- <configuration >
263- <tag >v${releaseVersion} </tag >
264- <tagNameFormat >v@{project.version}</tagNameFormat >
265- <autoVersionSubmodules >true</autoVersionSubmodules >
266- <!-- releaseProfiles configuration will actually force a Maven profile
267- – the `releases` profile – to become active during the Release process. -->
268- <releaseProfiles >releases</releaseProfiles >
269- </configuration >
270- </plugin >
271-
272- <plugin >
273- <groupId >org.sonatype.plugins</groupId >
274- <artifactId >nexus-staging-maven-plugin</artifactId >
275- <version >1.6.14</version >
238+ <groupId >org.sonatype.central</groupId >
239+ <artifactId >central-publishing-maven-plugin</artifactId >
240+ <version >0.8.0</version >
276241 <extensions >true</extensions >
277242 <configuration >
278- <nexusUrl >https://ossrh-staging-api.central.sonatype.com</nexusUrl >
279- <serverId >sonatype.release</serverId >
243+ <publishingServerId >sonatype.release</publishingServerId >
244+ <autoPublish >false</autoPublish >
245+ <ignorePublishedComponents >true</ignorePublishedComponents >
280246 </configuration >
281247 </plugin >
282248 </plugins >
0 commit comments