Skip to content

Commit e1e10e7

Browse files
committed
Update pom.xml
1 parent 68ffd09 commit e1e10e7

File tree

1 file changed

+28
-16
lines changed

1 file changed

+28
-16
lines changed

pom.xml

Lines changed: 28 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -161,16 +161,16 @@
161161
<name>gpg.keyname</name>
162162
</property>
163163
</activation>
164-
<distributionManagement>
165-
<snapshotRepository>
166-
<id>ossrh</id>
167-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
168-
</snapshotRepository>
169-
<repository>
170-
<id>ossrh</id>
171-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
172-
</repository>
173-
</distributionManagement>
164+
<!-- <distributionManagement>-->
165+
<!-- <snapshotRepository>-->
166+
<!-- <id>ossrh</id>-->
167+
<!-- <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>-->
168+
<!-- </snapshotRepository>-->
169+
<!-- <repository>-->
170+
<!-- <id>ossrh</id>-->
171+
<!-- <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>-->
172+
<!-- </repository>-->
173+
<!-- </distributionManagement>-->
174174
<build>
175175
<plugins>
176176
<plugin>
@@ -219,15 +219,27 @@
219219
</execution>
220220
</executions>
221221
</plugin>
222+
<!-- <plugin>-->
223+
<!-- <groupId>org.sonatype.plugins</groupId>-->
224+
<!-- <artifactId>nexus-staging-maven-plugin</artifactId>-->
225+
<!-- <version>1.7.0</version>-->
226+
<!-- <extensions>true</extensions>-->
227+
<!-- <configuration>-->
228+
<!-- <serverId>ossrh</serverId>-->
229+
<!-- <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>-->
230+
<!-- <autoReleaseAfterClose>true</autoReleaseAfterClose>-->
231+
<!-- </configuration>-->
232+
<!-- </plugin>-->
222233
<plugin>
223-
<groupId>org.sonatype.plugins</groupId>
224-
<artifactId>nexus-staging-maven-plugin</artifactId>
225-
<version>1.7.0</version>
234+
<groupId>org.sonatype.central</groupId>
235+
<artifactId>central-publishing-maven-plugin</artifactId>
236+
<version>0.4.0</version>
226237
<extensions>true</extensions>
227238
<configuration>
228-
<serverId>ossrh</serverId>
229-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
230-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
239+
<publishingServerId>central</publishingServerId>
240+
<tokenAuth>true</tokenAuth>
241+
<autoPublish>true</autoPublish>
242+
<waitUntil>published</waitUntil>
231243
</configuration>
232244
</plugin>
233245
</plugins>

0 commit comments

Comments
 (0)