|
86 | 86 | <maven.gpg.plugin.version>3.2.7</maven.gpg.plugin.version>
|
87 | 87 | <maven.jar.plugin.version>3.4.2</maven.jar.plugin.version>
|
88 | 88 | <maven.bundle.plugin.version>5.1.9</maven.bundle.plugin.version>
|
89 |
| - <maven.packagecloud.wagon.version>0.0.6</maven.packagecloud.wagon.version> |
90 |
| - <nexus-staging-maven-plugin.version>1.7.0</nexus-staging-maven-plugin.version> |
91 | 89 | <checksum.maven.plugin.version>1.11</checksum.maven.plugin.version>
|
| 90 | + <central-publishing-maven-plugin.version>0.7.0</central-publishing-maven-plugin.version> |
92 | 91 | <jshell-maven-plugin.version>1.4</jshell-maven-plugin.version>
|
93 | 92 | <spotless.version>2.44.5</spotless.version>
|
94 | 93 | <google-java-format.version>1.19.2</google-java-format.version>
|
|
316 | 315 | </plugin>
|
317 | 316 | </plugins>
|
318 | 317 | </build>
|
319 |
| - <distributionManagement> |
320 |
| - <snapshotRepository> |
321 |
| - <id>ossrh</id> |
322 |
| - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
323 |
| - </snapshotRepository> |
324 |
| - </distributionManagement> |
325 | 318 | </profile>
|
326 | 319 |
|
327 | 320 | <!--
|
|
332 | 325 | <build>
|
333 | 326 | <plugins>
|
334 | 327 |
|
335 |
| - <plugin> |
336 |
| - <groupId>org.sonatype.plugins</groupId> |
337 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
338 |
| - <version>${nexus-staging-maven-plugin.version}</version> |
339 |
| - <extensions>true</extensions> |
340 |
| - <configuration> |
341 |
| - <serverId>ossrh</serverId> |
342 |
| - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
343 |
| - <autoReleaseAfterClose>false</autoReleaseAfterClose> |
344 |
| - <stagingProgressTimeoutMinutes>20</stagingProgressTimeoutMinutes> |
345 |
| - </configuration> |
346 |
| - </plugin> |
347 |
| - |
348 | 328 | <plugin>
|
349 | 329 | <groupId>org.apache.maven.plugins</groupId>
|
350 | 330 | <artifactId>maven-javadoc-plugin</artifactId>
|
|
383 | 363 | </plugin>
|
384 | 364 | </plugins>
|
385 | 365 | </build>
|
386 |
| - <distributionManagement> |
387 |
| - <repository> |
388 |
| - <id>ossrh</id> |
389 |
| - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
390 |
| - </repository> |
391 |
| - </distributionManagement> |
392 | 366 | </profile>
|
393 | 367 |
|
394 |
| - <!-- |
395 |
| - The "milestone" Maven profile is used to push release artifacts to the |
396 |
| - PackageCloud Milestones Maven Repository. |
397 |
| - --> |
398 |
| - <profile> |
399 |
| - <id>milestone</id> |
400 |
| - <build> |
401 |
| - <plugins> |
402 |
| - <plugin> |
403 |
| - <groupId>org.apache.maven.plugins</groupId> |
404 |
| - <artifactId>maven-javadoc-plugin</artifactId> |
405 |
| - <version>${maven.javadoc.plugin.version}</version> |
406 |
| - <configuration> |
407 |
| - <additionalOptions>${javadoc.opts}</additionalOptions> |
408 |
| - <additionalJOption>${javadoc.joption}</additionalJOption> |
409 |
| - <quiet>true</quiet> |
410 |
| - <source>8</source> |
411 |
| - </configuration> |
412 |
| - <executions> |
413 |
| - <execution> |
414 |
| - <goals> |
415 |
| - <goal>jar</goal> |
416 |
| - </goals> |
417 |
| - </execution> |
418 |
| - </executions> |
419 |
| - </plugin> |
420 |
| - |
421 |
| - <plugin> |
422 |
| - <groupId>net.nicoulaj.maven.plugins</groupId> |
423 |
| - <artifactId>checksum-maven-plugin</artifactId> |
424 |
| - <version>${checksum.maven.plugin.version}</version> |
425 |
| - <executions> |
426 |
| - <execution> |
427 |
| - <id>sign-artifacts</id> |
428 |
| - <phase>package</phase> |
429 |
| - <goals> |
430 |
| - <goal>files</goal> |
431 |
| - </goals> |
432 |
| - <configuration> |
433 |
| - <fileSets> |
434 |
| - <fileSet> |
435 |
| - <directory>${project.build.directory}</directory> |
436 |
| - <includes> |
437 |
| - <include>*.jar</include> |
438 |
| - <include>*.pom</include> |
439 |
| - </includes> |
440 |
| - </fileSet> |
441 |
| - </fileSets> |
442 |
| - <algorithms> |
443 |
| - <algorithm>MD5</algorithm> |
444 |
| - <algorithm>SHA-1</algorithm> |
445 |
| - </algorithms> |
446 |
| - </configuration> |
447 |
| - </execution> |
448 |
| - </executions> |
449 |
| - </plugin> |
450 |
| - |
451 |
| - <plugin> |
452 |
| - <groupId>org.apache.maven.plugins</groupId> |
453 |
| - <artifactId>maven-gpg-plugin</artifactId> |
454 |
| - <version>${maven.gpg.plugin.version}</version> |
455 |
| - <executions> |
456 |
| - <execution> |
457 |
| - <id>sign-artifacts</id> |
458 |
| - <phase>package</phase> |
459 |
| - <goals> |
460 |
| - <goal>sign</goal> |
461 |
| - </goals> |
462 |
| - <configuration> |
463 |
| - <keyname>${gpg.keyname}</keyname> |
464 |
| - </configuration> |
465 |
| - </execution> |
466 |
| - </executions> |
467 |
| - </plugin> |
468 |
| - </plugins> |
469 |
| - </build> |
470 |
| - <distributionManagement> |
471 |
| - <repository> |
472 |
| - <id>packagecloud-rabbitmq-maven-milestones</id> |
473 |
| - <url>packagecloud+https://packagecloud.io/rabbitmq/maven-milestones</url> |
474 |
| - </repository> |
475 |
| - </distributionManagement> |
476 |
| - </profile> |
477 | 368 | <profile>
|
478 | 369 | <id>mockito-4-on-java-8</id>
|
479 | 370 | <activation>
|
|
907 | 798 | </configuration>
|
908 | 799 | </plugin>
|
909 | 800 |
|
| 801 | + <plugin> |
| 802 | + <groupId>org.sonatype.central</groupId> |
| 803 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 804 | + <version>${central-publishing-maven-plugin.version}</version> |
| 805 | + <extensions>true</extensions> |
| 806 | + <configuration> |
| 807 | + <publishingServerId>central</publishingServerId> |
| 808 | + <autoPublish>true</autoPublish> |
| 809 | + </configuration> |
| 810 | + </plugin> |
| 811 | + |
910 | 812 | </plugins>
|
911 |
| - <extensions> |
912 |
| - <extension> |
913 |
| - <groupId>io.packagecloud.maven.wagon</groupId> |
914 |
| - <artifactId>maven-packagecloud-wagon</artifactId> |
915 |
| - <version>${maven.packagecloud.wagon.version}</version> |
916 |
| - </extension> |
917 |
| - </extensions> |
918 | 813 | </build>
|
919 | 814 |
|
920 | 815 | </project>
|
0 commit comments