Skip to content

Commit b2777e7

Browse files
authored
feat: fix pom.xml to fix CI (#421)
1 parent c8385a6 commit b2777e7

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

pom.xml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<licenses>
2525
<license>
2626
<name>The Apache Software License, Version 2.0</name>
27-
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
27+
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
2828
<distribution>repo</distribution>
2929
</license>
3030
</licenses>
@@ -49,12 +49,8 @@
4949
<distributionManagement>
5050
<snapshotRepository>
5151
<id>ossrh</id>
52-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
52+
<url>https://central.sonatype.com</url>
5353
</snapshotRepository>
54-
<repository>
55-
<id>ossrh</id>
56-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
57-
</repository>
5854
</distributionManagement>
5955

6056
<build>
@@ -128,13 +124,13 @@
128124
</plugin>
129125
<plugin>
130126
<!-- Automatically close and deploy from OSSRH -->
131-
<groupId>org.sonatype.plugins</groupId>
132-
<artifactId>nexus-staging-maven-plugin</artifactId>
133-
<version>1.6.7</version>
127+
<groupId>org.sonatype.central</groupId>
128+
<artifactId>central-publishing-maven-plugin</artifactId>
129+
<version>0.5.0</version>
134130
<extensions>true</extensions>
135131
<configuration>
136-
<serverId>ossrh</serverId>
137-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
132+
<publishingServerId>ossrh</publishingServerId>
133+
<tokenAuth>true</tokenAuth>
138134
<!-- Release versions will be synced to Maven Central automatically. -->
139135
<autoReleaseAfterClose>true</autoReleaseAfterClose>
140136
</configuration>

0 commit comments

Comments
 (0)