Skip to content

Commit 9bd9a2c

Browse files
committed
fix: use central repo plugin
1 parent 8fd05b9 commit 9bd9a2c

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

pom.xml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -210,12 +210,6 @@
210210
<goal>single</goal>
211211
</goals>
212212
<configuration>
213-
<archive>
214-
<manifest>
215-
<addClasspath>true</addClasspath>
216-
<mainClass>com.foxentry.foxentrysdk.Main</mainClass> //this
217-
</manifest>
218-
</archive>
219213
<descriptorRefs>
220214
<descriptorRef>jar-with-dependencies</descriptorRef>
221215
</descriptorRefs>
@@ -249,15 +243,15 @@
249243
</configuration>
250244
</plugin>
251245

252-
<plugin>
253-
<groupId>org.sonatype.plugins</groupId>
254-
<artifactId>nexus-staging-maven-plugin</artifactId>
255-
<version>1.7.0</version>
246+
<plugin>
247+
<groupId>org.sonatype.central</groupId>
248+
<artifactId>central-publishing-maven-plugin</artifactId>
249+
<version>0.6.0</version>
256250
<extensions>true</extensions>
257251
<configuration>
258-
<serverId>ossrh</serverId>
259-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
260-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
252+
<publishingServerId>ossrh</publishingServerId>
253+
<autoPublish>true</autoPublish>
254+
<waitUntil>published</waitUntil>
261255
</configuration>
262256
<executions>
263257
<execution>

0 commit comments

Comments
 (0)