Skip to content

Commit 01712f9

Browse files
committed
More maven fixes.
1 parent 70fff51 commit 01712f9

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

pom.xml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,6 @@
6262
<name>Maven Central Snapshots</name>
6363
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
6464
</snapshotRepository>
65-
<repository>
66-
<id>central-releases</id>
67-
<name>Maven Central</name>
68-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
69-
</repository>
7065
</distributionManagement>
7166

7267
<dependencyManagement>
@@ -164,6 +159,15 @@
164159

165160
<build>
166161
<plugins>
162+
<plugin>
163+
<groupId>org.sonatype.central</groupId>
164+
<artifactId>central-publishing-maven-plugin</artifactId>
165+
<version>0.9.0</version>
166+
<extensions>true</extensions>
167+
<configuration>
168+
<publishingServerId>central</publishingServerId>
169+
</configuration>
170+
</plugin>
167171
<plugin>
168172
<artifactId>maven-compiler-plugin</artifactId>
169173
<version>3.14.0</version>

0 commit comments

Comments
 (0)