Skip to content

Commit f915fc3

Browse files
committed
Move to Central (sonatype)
1 parent 9f45189 commit f915fc3

File tree

2 files changed

+6
-18
lines changed

2 files changed

+6
-18
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?logo=github)](https://raw.githubusercontent.com/thibaultmeyer/cuid-java/master/LICENSE)
44
[![Repository release](https://img.shields.io/github/v/release/thibaultmeyer/cuid-java?logo=github)](https://github.com/thibaultmeyer/cuid-java/releases)
5-
[![Maven](https://img.shields.io/maven-central/v/io.github.thibaultmeyer/cuid.svg?logo=apache-maven)](https://central.sonatype.com/artifact/io.github.thibaultmeyer/cuid/2.0.3/versions)
5+
[![Maven](https://img.shields.io/maven-central/v/io.github.thibaultmeyer/cuid.svg?logo=apache-maven)](https://central.sonatype.com/artifact/io.github.thibaultmeyer/cuid)
66
[![Repository size](https://img.shields.io/github/repo-size/thibaultmeyer/cuid-java.svg?logo=git)](https://github.com/thibaultmeyer/cuid-java)
77

88
[![Javadoc](https://javadoc.io/badge2/io.github.thibaultmeyer/cuid/javadoc.svg)](https://javadoc.io/doc/io.github.thibaultmeyer/cuid)

pom.xml

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -138,30 +138,18 @@
138138
</executions>
139139
</plugin>
140140
<plugin>
141-
<groupId>org.sonatype.plugins</groupId>
142-
<artifactId>nexus-staging-maven-plugin</artifactId>
143-
<version>${plugin.version.sonatypenexus}</version>
141+
<groupId>org.sonatype.central</groupId>
142+
<artifactId>central-publishing-maven-plugin</artifactId>
143+
<version>0.9.0</version>
144144
<extensions>true</extensions>
145145
<configuration>
146-
<serverId>ossrh</serverId>
147-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
148-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
146+
<publishingServerId>central</publishingServerId>
147+
<autoPublish>true</autoPublish>
149148
</configuration>
150149
</plugin>
151150
</plugins>
152151
</build>
153152

154-
<distributionManagement>
155-
<repository>
156-
<id>ossrh</id>
157-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
158-
</repository>
159-
<snapshotRepository>
160-
<id>ossrh</id>
161-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
162-
</snapshotRepository>
163-
</distributionManagement>
164-
165153
<dependencies>
166154
<dependency>
167155
<groupId>org.junit.jupiter</groupId>

0 commit comments

Comments
 (0)