Skip to content

Commit 4df37cf

Browse files
authored
added plugin for publishing to central repo (#868)
1 parent 5954949 commit 4df37cf

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

pom.xml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,13 @@
104104
<build>
105105
<plugins>
106106
<plugin>
107-
<groupId>org.sonatype.plugins</groupId>
108-
<artifactId>nexus-staging-maven-plugin</artifactId>
109-
<version>1.6.13</version>
107+
<groupId>org.sonatype.central</groupId>
108+
<artifactId>central-publishing-maven-plugin</artifactId>
109+
<version>0.8.0</version>
110110
<extensions>true</extensions>
111111
<configuration>
112-
<serverId>ossrh</serverId>
113-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
114-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
112+
<publishingServerId>central</publishingServerId>
113+
<autoPublish>true</autoPublish>
115114
</configuration>
116115
</plugin>
117116
<plugin>
@@ -491,9 +490,4 @@
491490
</plugin>
492491
</plugins>
493492
</build>
494-
<parent>
495-
<groupId>org.sonatype.oss</groupId>
496-
<artifactId>oss-parent</artifactId>
497-
<version>7</version>
498-
</parent>
499493
</project>

0 commit comments

Comments
 (0)