Skip to content

Commit 1a2b50e

Browse files
author
zhaojipu
committed
maven 中央库publish迁移
1 parent 2c0c1af commit 1a2b50e

File tree

5 files changed

+12
-126
lines changed

5 files changed

+12
-126
lines changed

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@
4343
<distributionManagement>
4444
<snapshotRepository>
4545
<id>ossrh</id>
46-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
46+
<url>https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots</url>
4747
</snapshotRepository>
4848
<repository>
4949
<id>ossrh</id>
50-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
50+
<url>https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/</url>
5151
</repository>
5252
</distributionManagement>
5353

@@ -71,7 +71,7 @@
7171
<extensions>true</extensions>
7272
<configuration>
7373
<serverId>ossrh</serverId>
74-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
74+
<nexusUrl>https://ossrh-staging-api.central.sonatype.com/</nexusUrl>
7575
<autoReleaseAfterClose>true</autoReleaseAfterClose>
7676
</configuration>
7777
</plugin>

yidun-java-sdk-core/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,11 @@
8787
<distributionManagement>
8888
<snapshotRepository>
8989
<id>ossrh</id>
90-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
90+
<url>https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots</url>
9191
</snapshotRepository>
9292
<repository>
9393
<id>ossrh</id>
94-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
94+
<url>https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/</url>
9595
</repository>
9696
</distributionManagement>
9797

@@ -139,7 +139,7 @@
139139
<extensions>true</extensions>
140140
<configuration>
141141
<serverId>ossrh</serverId>
142-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
142+
<nexusUrl>https://ossrh-staging-api.central.sonatype.com/</nexusUrl>
143143
<autoReleaseAfterClose>true</autoReleaseAfterClose>
144144
</configuration>
145145
</plugin>

yidun-java-sdk-demo/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@
6565
<distributionManagement>
6666
<snapshotRepository>
6767
<id>ossrh</id>
68-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
68+
<url>https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots</url>
6969
</snapshotRepository>
7070
<repository>
7171
<id>ossrh</id>
72-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
72+
<url>https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/</url>
7373
</repository>
7474
</distributionManagement>
7575

@@ -116,7 +116,7 @@
116116
<extensions>true</extensions>
117117
<configuration>
118118
<serverId>ossrh</serverId>
119-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
119+
<nexusUrl>https://ossrh-staging-api.central.sonatype.com/</nexusUrl>
120120
<autoReleaseAfterClose>true</autoReleaseAfterClose>
121121
</configuration>
122122
</plugin>

yidun-java-sdk/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@
8686
<distributionManagement>
8787
<snapshotRepository>
8888
<id>ossrh</id>
89-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
89+
<url>https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots</url>
9090
</snapshotRepository>
9191
<repository>
9292
<id>ossrh</id>
93-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
93+
<url>https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/</url>
9494
</repository>
9595
</distributionManagement>
9696

@@ -138,7 +138,7 @@
138138
<extensions>true</extensions>
139139
<configuration>
140140
<serverId>ossrh</serverId>
141-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
141+
<nexusUrl>https://ossrh-staging-api.central.sonatype.com/</nexusUrl>
142142
<autoReleaseAfterClose>true</autoReleaseAfterClose>
143143
</configuration>
144144
</plugin>

yidun-java-sdk/src/test/java/com/netease/yidun/sdk/antispam/text/v1/TextFeatureTest.java

Lines changed: 0 additions & 114 deletions
This file was deleted.

0 commit comments

Comments
 (0)