Skip to content

Commit 2d70cdf

Browse files
committed
Use maven central portal
1 parent 46cb609 commit 2d70cdf

1 file changed

Lines changed: 15 additions & 14 deletions

File tree

pom.xml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
~ Copyright (c) 2022-2023, FusionAuth, All Rights Reserved
2+
~ Copyright (c) 2022-2025, FusionAuth, All Rights Reserved
33
~
44
~ Licensed under the Apache License, Version 2.0 (the "License");
55
~ you may not use this file except in compliance with the License.
@@ -26,13 +26,16 @@
2626

2727
<distributionManagement>
2828
<snapshotRepository>
29-
<id>ossrh</id>
30-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
29+
<name>Central Portal Snapshots</name>
30+
<id>central-portal-snapshots</id>
31+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
32+
<releases>
33+
<enabled>true</enabled>
34+
</releases>
35+
<snapshots>
36+
<enabled>false</enabled>
37+
</snapshots>
3138
</snapshotRepository>
32-
<repository>
33-
<id>ossrh</id>
34-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
35-
</repository>
3639
</distributionManagement>
3740

3841
<developers>
@@ -180,14 +183,12 @@
180183
<build>
181184
<plugins>
182185
<plugin>
183-
<groupId>org.sonatype.plugins</groupId>
184-
<artifactId>nexus-staging-maven-plugin</artifactId>
185-
<version>1.6.13</version>
186+
<groupId>org.sonatype.central</groupId>
187+
<artifactId>central-publishing-maven-plugin</artifactId>
188+
<version>0.8.0</version>
186189
<extensions>true</extensions>
187190
<configuration>
188-
<serverId>ossrh</serverId>
189-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
190-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
191+
<publishingServerId>central</publishingServerId>
191192
</configuration>
192193
</plugin>
193194
<plugin>
@@ -213,4 +214,4 @@
213214
</profile>
214215
</profiles>
215216

216-
</project>
217+
</project>

0 commit comments

Comments
 (0)