Skip to content

Commit 664014c

Browse files
use central-publishing-maven-plugin
1 parent 9664c8c commit 664014c

File tree

1 file changed

+5
-19
lines changed

1 file changed

+5
-19
lines changed

pom.xml

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -119,27 +119,13 @@
119119
</executions>
120120
</plugin>
121121
<plugin>
122-
<artifactId>maven-deploy-plugin</artifactId>
123-
<version>3.1.4</version>
124-
<executions>
125-
<execution>
126-
<id>default-deploy</id>
127-
<phase>deploy</phase>
128-
<goals>
129-
<goal>deploy</goal>
130-
</goals>
131-
</execution>
132-
</executions>
133-
</plugin>
134-
<plugin>
135-
<groupId>org.sonatype.plugins</groupId>
136-
<artifactId>nexus-staging-maven-plugin</artifactId>
137-
<version>1.7.0</version>
122+
<groupId>org.sonatype.central</groupId>
123+
<artifactId>central-publishing-maven-plugin</artifactId>
124+
<version>0.8.0</version>
138125
<extensions>true</extensions>
139126
<configuration>
140-
<serverId>ossrh</serverId>
141-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
142-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
127+
<publishingServerId>central</publishingServerId>
128+
<autoPublish>true</autoPublish>
143129
</configuration>
144130
</plugin>
145131
</plugins>

0 commit comments

Comments
 (0)