Skip to content

Commit edf0e1a

Browse files
committed
migrate to maven central from OSSRH
1 parent 204d008 commit edf0e1a

File tree

1 file changed

+7
-25
lines changed

1 file changed

+7
-25
lines changed

pom.xml

Lines changed: 7 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>io.github.metarank</groupId>
88
<artifactId>lightgbm4j</artifactId>
9-
<version>4.4.0-1</version>
9+
<version>4.6.0-1</version>
1010

1111
<name>LightGBM4j: Java LightGBM wrapper</name>
1212
<description>A high-level wrapper for LightGBM toolkit</description>
@@ -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)