Skip to content

Commit 1cdf547

Browse files
authored
Update pom.xml
1 parent d9daa5d commit 1cdf547

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

pom.xml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -88,17 +88,15 @@
8888
</dependencyManagement>
8989
<build>
9090
<plugins>
91-
<plugin>
92-
<groupId>org.sonatype.plugins</groupId>
93-
<artifactId>nexus-staging-maven-plugin</artifactId>
94-
<version>1.7.0</version>
91+
<plugin>
92+
<groupId>org.sonatype.central</groupId>
93+
<artifactId>central-publishing-maven-plugin</artifactId>
94+
<version>0.8.0</version>
9595
<extensions>true</extensions>
9696
<configuration>
97-
<serverId>ossrh</serverId>
98-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
99-
<stagingProgressTimeoutMinutes>60</stagingProgressTimeoutMinutes>
97+
<publishingServerId>central</publishingServerId>
10098
</configuration>
101-
</plugin>
99+
</plugin>
102100
<plugin>
103101
<artifactId>maven-compiler-plugin</artifactId>
104102
<version>3.10.1</version>
@@ -295,7 +293,7 @@
295293
</profiles>
296294
<distributionManagement>
297295
<snapshotRepository>
298-
<id>ossrh</id>
296+
<id>central</id>
299297
<url>https://central.sonatype.com/repository/maven-snapshots</url>
300298
</snapshotRepository>
301299
</distributionManagement>

0 commit comments

Comments
 (0)