|
25 | 25 | <ciManagement> |
26 | 26 | <url>https://github.com/pmd/pmd-designer/actions</url> |
27 | 27 | </ciManagement> |
28 | | - <distributionManagement> |
29 | | - <snapshotRepository> |
30 | | - <id>ossrh</id> |
31 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
32 | | - </snapshotRepository> |
33 | | - <repository> |
34 | | - <id>ossrh</id> |
35 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
36 | | - </repository> |
37 | | - </distributionManagement> |
38 | 28 | <developers> |
39 | 29 | <developer> |
40 | 30 | <id>oowekyala</id> |
|
122 | 112 | <artifactId>maven-shade-plugin</artifactId> |
123 | 113 | <version>3.6.0</version> |
124 | 114 | </plugin> |
| 115 | + <plugin> |
| 116 | + <groupId>org.sonatype.central</groupId> |
| 117 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 118 | + <version>0.7.0</version> |
| 119 | + </plugin> |
125 | 120 | </plugins> |
126 | 121 | </pluginManagement> |
127 | 122 | <plugins> |
|
393 | 388 | </plugin> |
394 | 389 |
|
395 | 390 | <plugin> |
396 | | - <groupId>org.sonatype.plugins</groupId> |
397 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
398 | | - <version>1.7.0</version> |
| 391 | + <groupId>org.sonatype.central</groupId> |
| 392 | + <artifactId>central-publishing-maven-plugin</artifactId> |
399 | 393 | <extensions>true</extensions> |
400 | 394 | <configuration> |
401 | | - <serverId>ossrh</serverId> |
402 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
403 | | - <!-- if autoReleaseAfterClose is true, then the artifacts will be |
404 | | - automatically promoted to maven central --> |
405 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 395 | + <publishingServerId>central</publishingServerId> |
| 396 | + <autoPublish>true</autoPublish> |
| 397 | + <waitUntil>published</waitUntil> |
| 398 | + <deploymentName>${project.artifactId}</deploymentName> |
406 | 399 | </configuration> |
407 | 400 | </plugin> |
408 | 401 |
|
|
505 | 498 | <id>local-libs</id> |
506 | 499 | <url>file://${local.lib.repo}</url> |
507 | 500 | </repository> |
508 | | - <repository> |
509 | | - <id>sonatype-nexus-snapshots</id> |
510 | | - <name>Sonatype Nexus Snapshots</name> |
511 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
512 | | - <releases> |
513 | | - <enabled>false</enabled> |
514 | | - </releases> |
515 | | - <snapshots> |
516 | | - <enabled>true</enabled> |
517 | | - </snapshots> |
518 | | - </repository> |
519 | 501 | </repositories> |
520 | | - <pluginRepositories> |
521 | | - <pluginRepository> |
522 | | - <id>sonatype-nexus-plugin-snapshots</id> |
523 | | - <name>Sonatype Nexus Snapshots</name> |
524 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
525 | | - <releases> |
526 | | - <enabled>false</enabled> |
527 | | - </releases> |
528 | | - <snapshots> |
529 | | - <enabled>true</enabled> |
530 | | - </snapshots> |
531 | | - </pluginRepository> |
532 | | - </pluginRepositories> |
533 | 502 |
|
534 | 503 | <dependencyManagement> |
535 | 504 | <dependencies> |
|
1043 | 1012 | </properties> |
1044 | 1013 | </profile> |
1045 | 1014 |
|
| 1015 | + <profile> |
| 1016 | + <id>central-portal-snapshots</id> |
| 1017 | + <repositories> |
| 1018 | + <repository> |
| 1019 | + <name>Central Portal Snapshots</name> |
| 1020 | + <id>central-portal-snapshots</id> |
| 1021 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
| 1022 | + <releases> |
| 1023 | + <enabled>false</enabled> |
| 1024 | + </releases> |
| 1025 | + <snapshots> |
| 1026 | + <enabled>true</enabled> |
| 1027 | + </snapshots> |
| 1028 | + </repository> |
| 1029 | + </repositories> |
| 1030 | + <pluginRepositories> |
| 1031 | + <pluginRepository> |
| 1032 | + <name>Central Portal Snapshots</name> |
| 1033 | + <id>central-portal-snapshots</id> |
| 1034 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
| 1035 | + <releases> |
| 1036 | + <enabled>false</enabled> |
| 1037 | + </releases> |
| 1038 | + <snapshots> |
| 1039 | + <enabled>true</enabled> |
| 1040 | + </snapshots> |
| 1041 | + </pluginRepository> |
| 1042 | + </pluginRepositories> |
| 1043 | + </profile> |
1046 | 1044 | </profiles> |
1047 | 1045 |
|
1048 | 1046 | </project> |
0 commit comments