Skip to content

Commit

Permalink
🚚 切换到 central sonatype
Browse files Browse the repository at this point in the history
  • Loading branch information
li-xunhuan committed Nov 22, 2024
1 parent 9171e71 commit dacf016
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,17 @@
</execution>
</executions>
</plugin>
<!-- 发布到 maven 中央库 -->
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.6.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
Expand Down Expand Up @@ -359,16 +370,6 @@
</plugin>
</plugins>
</build>
<distributionManagement>
<snapshotRepository>
<id>oss</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>oss</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</profile>
</profiles>

Expand Down

0 comments on commit dacf016

Please sign in to comment.