@@ -282,7 +282,15 @@ of Jackson: application code should only rely on `jackson-bom`
282
282
</archive >
283
283
</configuration >
284
284
</plugin >
285
-
285
+ <!-- 13-May-2025: config defaults for Sonatype Central Portal publishing -->
286
+ <plugin >
287
+ <groupId >org.sonatype.central</groupId >
288
+ <artifactId >central-publishing-maven-plugin</artifactId >
289
+ <extensions >true</extensions >
290
+ <configuration >
291
+ <publishingServerId >central</publishingServerId >
292
+ </configuration >
293
+ </plugin >
286
294
</plugins >
287
295
</pluginManagement >
288
296
@@ -300,6 +308,14 @@ of Jackson: application code should only rely on `jackson-bom`
300
308
</executions >
301
309
</plugin >
302
310
311
+ <!-- 13-May-2025: Enable Sonatype Central Portal publishing -->
312
+ <!-- not yet
313
+ <plugin>
314
+ <groupId>org.sonatype.central</groupId>
315
+ <artifactId>central-publishing-maven-plugin</artifactId>
316
+ </plugin>
317
+ -->
318
+
303
319
<!-- 12-Oct-2019, tatu: Copied from
304
320
https://github.com/stephenc/git-timestamp-maven-plugin/blob/master/pom.xml#L327-L337
305
321
-->
@@ -317,45 +333,4 @@ of Jackson: application code should only rely on `jackson-bom`
317
333
</plugin >
318
334
</plugins >
319
335
</build >
320
-
321
- <!-- 08-Mar-2019, tatu: Add option to generate `module-info.java` with Moditect
322
- under profile `moditect`
323
- -->
324
- <profiles >
325
- <profile >
326
- <id >moditect</id >
327
- <properties >
328
- <!-- Not only do we need JDK 9+, must target later JDK too -->
329
- <java .version>1.9</java .version>
330
- </properties >
331
- <build >
332
- <plugins >
333
- <plugin >
334
- <groupId >org.moditect</groupId >
335
- <artifactId >moditect-maven-plugin</artifactId >
336
- <executions >
337
- <execution >
338
- <id >generate-module-info</id >
339
- <phase >generate-sources</phase >
340
- <goals >
341
- <goal >generate-module-info</goal >
342
- </goals >
343
- <configuration >
344
- <modules >
345
- <module >
346
- <artifact >
347
- <groupId >${moditect.sourceGroup} </groupId >
348
- <artifactId >${moditect.sourceArtifact}</artifactId >
349
- <version >${moditect.sourceVersion} </version >
350
- </artifact >
351
- </module >
352
- </modules >
353
- </configuration >
354
- </execution >
355
- </executions >
356
- </plugin >
357
- </plugins >
358
- </build >
359
- </profile >
360
- </profiles >
361
336
</project >
0 commit comments