Skip to content

Commit ae3b00d

Browse files
Update mvn central release plugin
1 parent 11b0199 commit ae3b00d

File tree

2 files changed

+8
-15
lines changed

2 files changed

+8
-15
lines changed

.github/settings.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55

66
<servers>
77
<server>
8-
<id>ossrh</id>
8+
<id>central</id>
99
<username>${env.SONATYPE_USERNAME}</username>
1010
<password>${env.SONATYPE_PASSWORD}</password>
1111
</server>
1212
</servers>
1313

1414
<profiles>
1515
<profile>
16-
<id>ossrh</id>
16+
<id>central</id>
1717
<activation>
1818
<activeByDefault>true</activeByDefault>
1919
</activation>

pom.xml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,6 @@
3535
<url>https://github.com/abstracta/jmeter-dsl/tree/master</url>
3636
</scm>
3737

38-
<distributionManagement>
39-
<snapshotRepository>
40-
<id>ossrh</id>
41-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
42-
</snapshotRepository>
43-
</distributionManagement>
44-
4538
<properties>
4639
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4740
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
@@ -322,14 +315,14 @@
322315
</executions>
323316
</plugin>
324317
<plugin>
325-
<groupId>org.sonatype.plugins</groupId>
326-
<artifactId>nexus-staging-maven-plugin</artifactId>
327-
<version>1.6.13</version>
318+
<groupId>org.sonatype.central</groupId>
319+
<artifactId>central-publishing-maven-plugin</artifactId>
320+
<version>0.8.0</version>
328321
<extensions>true</extensions>
329322
<configuration>
330-
<serverId>ossrh</serverId>
331-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
332-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
323+
<publishingServerId>central</publishingServerId>
324+
<autoPublish>true</autoPublish>
325+
<waitUntil>published</waitUntil>
333326
</configuration>
334327
</plugin>
335328
</plugins>

0 commit comments

Comments
 (0)