@@ -71,25 +71,7 @@ https://stackoverflow.com/questions/16302247/maven-property-project-artifact-sel
7171
7272 <!-- Alas, need to include snapshot reference since otherwise can not find
7373 snapshot of parent... -->
74- <!-- 13-Jul-2022, tatu: This gets tricky; we need to publish via OLD repo, as per
75- here, but resolve dependency of "jackson-base" from the NEW repo.
76- -->
7774 <distributionManagement >
78- <snapshotRepository >
79- <id >sonatype-nexus-snapshots</id >
80- <name >Sonatype Nexus Snapshots</name >
81- <url >https://oss.sonatype.org/content/repositories/snapshots</url >
82- </snapshotRepository >
83- <repository >
84- <id >sonatype-nexus-staging</id >
85- <name >Nexus Release Repository</name >
86- <url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
87- </repository >
88- </distributionManagement >
89-
90- <!-- 13-May-2025, tatu: And yet more! Tools.jackson comes from the new
91- Sonatype Central Portal: so yet more needed
92- -->
9375 <repositories >
9476 <!-- New Sonatype Central Portal (2025/5+) snapshots -->
9577 <repository >
@@ -99,37 +81,14 @@ https://stackoverflow.com/questions/16302247/maven-property-project-artifact-sel
9981 <releases ><enabled >false</enabled ></releases >
10082 <snapshots ><enabled >true</enabled ></snapshots >
10183 </repository >
102- <!-- "Old new" Snapshot repo -->
103- <repository >
104- <id >sonatype-nexus-new-snapshots</id >
105- <name >Sonatype Nexus Snapshots</name >
106- <url >https://s01.oss.sonatype.org/content/repositories/snapshots</url >
107- <releases ><enabled >false</enabled ></releases >
108- <snapshots ><enabled >true</enabled ></snapshots >
109- </repository >
11084 </repositories >
11185
11286 <build >
11387 <plugins >
114- <!-- 13-May-2025, tatu: Left in place until "com.fasterxml" namespace moved
115- to Sonatype Central Portal
116- -->
117- <!-- 08-Nov-2019, tatu: Copied from
118- https://github.com/stephenc/git-timestamp-maven-plugin/blob/master/pom.xml#L327-L337
119- -->
88+ <!-- 26-May-2025: Enable Sonatype Central Portal publishing -->
12089 <plugin >
121- <groupId >org.sonatype.plugins</groupId >
122- <artifactId >nexus-staging-maven-plugin</artifactId >
123- <version >1.7.0</version >
124- <extensions >true</extensions >
125- <configuration >
126- <serverId >sonatype-nexus-staging</serverId >
127- <nexusUrl >https://oss.sonatype.org/</nexusUrl >
128- <!-- 07-Mar-2025, tatu: NOTE! "OLD" staging profile since we are
129- still under "com.fasterxml" unlike all other components
130- -->
131- <stagingProfileId >b34f19b9cc6224</stagingProfileId >
132- </configuration >
90+ <groupId >org.sonatype.central</groupId >
91+ <artifactId >central-publishing-maven-plugin</artifactId >
13392 </plugin >
13493
13594 <!-- 20-Oct-2020, tatu: [annotations#178] copy full LICENSE from main dir -->
0 commit comments