Skip to content

Commit 17bc5f0

Browse files
committed
Update for Sonatype Central Portal publishing
1 parent d8fb8e4 commit 17bc5f0

1 file changed

Lines changed: 8 additions & 16 deletions

File tree

pom.xml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<groupId>com.fasterxml.jackson</groupId>
1111
<!-- this is one of few Jackson modules that depends on parent and NOT jackson-bom -->
1212
<artifactId>jackson-parent</artifactId>
13-
<version>2.18.1</version>
13+
<version>2.18.3</version>
1414
</parent>
1515

1616
<groupId>com.fasterxml.jackson.core</groupId>
@@ -65,10 +65,11 @@
6565
<!-- Alas, need to include snapshot reference since otherwise can not find
6666
snapshot of parent... -->
6767
<repositories>
68+
<!-- 26-May-2025, tatu: Using Sonatype Central Portal, will need this -->
6869
<repository>
69-
<id>sonatype-nexus-snapshots</id>
70-
<name>Sonatype Nexus Snapshots</name>
71-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
70+
<id>central-snapshots</id>
71+
<name>Sonatype Central Portal (snapshots)</name>
72+
<url>https://central.sonatype.com/repository/maven-snapshots</url>
7273
<releases><enabled>false</enabled></releases>
7374
<snapshots><enabled>true</enabled></snapshots>
7475
</repository>
@@ -101,19 +102,10 @@
101102
</executions>
102103
</plugin>
103104

104-
<!-- 08-Nov-2019, tatu: Copied from
105-
https://github.com/stephenc/git-timestamp-maven-plugin/blob/master/pom.xml#L327-L337
106-
-->
105+
<!-- 26-May-2025: Enable Sonatype Central Portal publishing -->
107106
<plugin>
108-
<groupId>org.sonatype.plugins</groupId>
109-
<artifactId>nexus-staging-maven-plugin</artifactId>
110-
<version>1.6.13</version>
111-
<extensions>true</extensions>
112-
<configuration>
113-
<serverId>sonatype-nexus-staging</serverId>
114-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
115-
<stagingProfileId>b34f19b9cc6224</stagingProfileId>
116-
</configuration>
107+
<groupId>org.sonatype.central</groupId>
108+
<artifactId>central-publishing-maven-plugin</artifactId>
117109
</plugin>
118110

119111
<!-- 11-Jun-2020, tatu: [annotations#173] add gradle module metadata

0 commit comments

Comments
 (0)