Skip to content

Commit b093463

Browse files
committed
Use central-publishing-maven-plugin
1 parent 615b959 commit b093463

1 file changed

Lines changed: 9 additions & 13 deletions

File tree

pom.xml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,15 @@
316316
</execution>
317317
</executions>
318318
</plugin>
319+
<plugin>
320+
<groupId>org.sonatype.central</groupId>
321+
<artifactId>central-publishing-maven-plugin</artifactId>
322+
<version>0.8.0</version>
323+
<extensions>true</extensions>
324+
<configuration>
325+
<publishingServerId>central</publishingServerId>
326+
</configuration>
327+
</plugin>
319328
</plugins>
320329
<resources>
321330
<resource>
@@ -329,19 +338,6 @@
329338
</resources>
330339
</build>
331340

332-
<distributionManagement>
333-
<snapshotRepository>
334-
<id>sonatype-nexus-snapshots</id>
335-
<name>Sonatype Nexus Snapshots</name>
336-
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
337-
</snapshotRepository>
338-
<repository>
339-
<id>sonatype-nexus-staging</id>
340-
<name>Nexus Release Repository</name>
341-
<url>https://ossrh-staging-api.central.sonatype.com/service/local/</url>
342-
</repository>
343-
</distributionManagement>
344-
345341
<profiles>
346342
<!-- Profile for Java 8 -->
347343
<profile>

0 commit comments

Comments
 (0)