Skip to content

Commit b93e596

Browse files
authored
Merge pull request #595 from ochedru/chore/fix-deploy
chore: fix deploy
2 parents c094272 + f90d962 commit b93e596

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

.github/settings.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
22
<servers>
33
<server>
4-
<id>ossrh</id>
4+
<id>central</id>
55
<username>${env.SONATYPE_USERNAME}</username>
66
<password>${env.SONATYPE_PASSWORD}</password>
77
</server>
88
</servers>
99
<profiles>
1010
<profile>
11-
<id>ossrh</id>
11+
<id>central</id>
1212
<activation>
1313
<activeByDefault>true</activeByDefault>
1414
</activation>

pom.xml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -322,15 +322,13 @@
322322
<build>
323323
<plugins>
324324
<plugin>
325-
<groupId>org.sonatype.plugins</groupId>
326-
<artifactId>nexus-staging-maven-plugin</artifactId>
327-
<version>1.7.0</version>
325+
<groupId>org.sonatype.central</groupId>
326+
<artifactId>central-publishing-maven-plugin</artifactId>
327+
<version>0.9.0</version>
328328
<extensions>true</extensions>
329329
<configuration>
330-
<serverId>ossrh</serverId>
331-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
332-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
333-
<stagingProgressTimeoutMinutes>30</stagingProgressTimeoutMinutes>
330+
<publishingServerId>central</publishingServerId>
331+
<autoPublish>true</autoPublish>
334332
</configuration>
335333
</plugin>
336334
<plugin>

0 commit comments

Comments
 (0)