Skip to content

Commit a201494

Browse files
authored
Maven central migrate from OSSRH (#93)
* release 4.6.0-1 * migrate to maven central from OSSRH
1 parent fe544bb commit a201494

File tree

2 files changed

+7
-25
lines changed

2 files changed

+7
-25
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ To install, use the following maven coordinates:
4141
<dependency>
4242
<groupId>io.github.metarank</groupId>
4343
<artifactId>lightgbm4j</artifactId>
44-
<version>4.4.0-1</version>
44+
<version>4.6.0-1</version>
4545
</dependency>
4646
```
4747

pom.xml

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,14 @@
8484
<version>2.22.2</version>
8585
</plugin>
8686
<plugin>
87-
<groupId>org.sonatype.plugins</groupId>
88-
<artifactId>nexus-staging-maven-plugin</artifactId>
89-
<version>1.6.13</version>
87+
<groupId>org.sonatype.central</groupId>
88+
<artifactId>central-publishing-maven-plugin</artifactId>
89+
<version>0.8.0</version>
9090
<extensions>true</extensions>
9191
<configuration>
92-
<serverId>ossrh</serverId>
93-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
94-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
92+
<publishingServerId>central</publishingServerId>
93+
<autoPublish>true</autoPublish>
94+
<waitUntil>published</waitUntil>
9595
</configuration>
9696
</plugin>
9797
<plugin>
@@ -144,23 +144,5 @@
144144
</plugin>
145145
</plugins>
146146
</build>
147-
<repositories>
148-
<repository>
149-
<id>maven_central</id>
150-
<name>Maven Central</name>
151-
<url>https://repo.maven.apache.org/maven2/</url>
152-
</repository>
153-
</repositories>
154-
155-
<distributionManagement>
156-
<snapshotRepository>
157-
<id>ossrh</id>
158-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
159-
</snapshotRepository>
160-
<repository>
161-
<id>ossrh</id>
162-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
163-
</repository>
164-
</distributionManagement>
165147

166148
</project>

0 commit comments

Comments
 (0)