Skip to content

Commit 11a1011

Browse files
committed
chore: new Sonatype
1 parent aa4573d commit 11a1011

File tree

1 file changed

+19
-23
lines changed

1 file changed

+19
-23
lines changed

pom.xml

Lines changed: 19 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -86,28 +86,23 @@
8686
</issueManagement>
8787
<repositories>
8888
<repository>
89-
<id>sonatype-nexus-snapshots</id>
90-
<name>Sonatype Nexus Snapshots</name>
91-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
89+
<name>Central Portal Snapshots</name>
90+
<id>central-portal-snapshots</id>
91+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
9292
<releases>
93-
<enabled>false</enabled>
93+
<enabled>false</enabled>
9494
</releases>
9595
<snapshots>
96-
<enabled>true</enabled>
96+
<enabled>true</enabled>
9797
</snapshots>
9898
</repository>
9999
</repositories>
100100
<distributionManagement>
101101
<snapshotRepository>
102-
<id>sonatype-nexus-snapshots</id>
102+
<id>central</id>
103103
<name>Sonatype Nexus Snapshots</name>
104-
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
104+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
105105
</snapshotRepository>
106-
<repository>
107-
<id>sonatype-nexus-staging</id>
108-
<name>Nexus Release Repository</name>
109-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
110-
</repository>
111106
</distributionManagement>
112107
<prerequisites>
113108
<maven>3.5.0</maven>
@@ -518,20 +513,10 @@
518513
<mavenExecutorId>forked-path</mavenExecutorId>
519514
<useReleaseProfile>false</useReleaseProfile>
520515
<tagNameFormat>v@{project.version}</tagNameFormat>
521-
<goals>deploy nexus-staging:release</goals>
516+
<goals>deploy</goals>
522517
<arguments>-Ptaimos-oss-release</arguments>
523518
</configuration>
524519
</plugin>
525-
<plugin>
526-
<groupId>org.sonatype.plugins</groupId>
527-
<artifactId>nexus-staging-maven-plugin</artifactId>
528-
<version>1.6.14</version>
529-
<extensions>true</extensions>
530-
<configuration>
531-
<serverId>sonatype-nexus-staging</serverId>
532-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
533-
</configuration>
534-
</plugin>
535520
<plugin>
536521
<groupId>org.apache.maven.plugins</groupId>
537522
<artifactId>maven-javadoc-plugin</artifactId>
@@ -639,6 +624,17 @@
639624
</execution>
640625
</executions>
641626
</plugin>
627+
<plugin>
628+
<groupId>org.sonatype.central</groupId>
629+
<artifactId>central-publishing-maven-plugin</artifactId>
630+
<version>0.9.0</version>
631+
<extensions>true</extensions>
632+
<configuration>
633+
<publishingServerId>central</publishingServerId>
634+
<!--<autoPublish>true</autoPublish>-->
635+
<!--<waitUntil>published</waitUntil>-->
636+
</configuration>
637+
</plugin>
642638
</plugins>
643639
</build>
644640
</profile>

0 commit comments

Comments
 (0)