|
36 | 36 | </scm> |
37 | 37 |
|
38 | 38 | <distributionManagement> |
39 | | - <snapshotRepository> |
40 | | - <id>ossrh</id> |
41 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
42 | | - </snapshotRepository> |
43 | 39 | <repository> |
44 | | - <id>ossrh</id> |
45 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 40 | + <id>central</id> |
| 41 | + <url>https://central.sonatype.com/service/local/staging/deploy/maven2/</url> |
46 | 42 | </repository> |
| 43 | + <snapshotRepository> |
| 44 | + <id>central</id> |
| 45 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
| 46 | + </snapshotRepository> |
47 | 47 | </distributionManagement> |
48 | 48 |
|
49 | 49 | <repositories> |
50 | 50 | <repository> |
51 | 51 | <id>central</id> |
52 | 52 | <url> |
53 | | - https://oss.sonatype.org/content/repositories/releases |
| 53 | + https://central.sonatype.org/content/repositories/releases |
54 | 54 | </url> |
55 | 55 | <snapshots> |
56 | 56 | <enabled>false</enabled> |
|
59 | 59 | <repository> |
60 | 60 | <id>snapshots</id> |
61 | 61 | <url> |
62 | | - https://oss.sonatype.org/content/repositories/snapshots |
| 62 | + https://central.sonatype.org/content/repositories/snapshots |
63 | 63 | </url> |
64 | 64 | <snapshots> |
65 | 65 | <enabled>true</enabled> |
66 | | - <!-- never, daily, interval:X (where X is in minutes) or always --> |
67 | | - <!--<updatePolicy>daily</updatePolicy> --> |
68 | 66 | </snapshots> |
69 | 67 | <releases> |
70 | 68 | <enabled>false</enabled> |
|
399 | 397 | </archive> |
400 | 398 | </configuration> |
401 | 399 | </plugin> |
402 | | - <plugin> |
403 | | - <groupId>org.sonatype.plugins</groupId> |
404 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
405 | | - <version>${version.nexus-staging-maven}</version> |
406 | | - <extensions>true</extensions> |
407 | | - <configuration> |
408 | | - <serverId>ossrh</serverId> |
409 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
410 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
411 | | - </configuration> |
412 | | - </plugin> |
413 | 400 | <plugin> |
414 | 401 | <groupId>org.apache.maven.plugins</groupId> |
415 | 402 | <artifactId>maven-shade-plugin</artifactId> |
|
521 | 508 | </arguments> |
522 | 509 | </configuration> |
523 | 510 | </plugin> |
524 | | - <plugin> |
525 | | - <groupId>org.apache.maven.plugins</groupId> |
526 | | - <artifactId>maven-deploy-plugin</artifactId> |
527 | | - <version>${version.maven-deploy}</version> |
528 | | - </plugin> |
529 | 511 | </plugins> |
530 | 512 | </build> |
531 | 513 | <profiles> |
|
559 | 541 | </execution> |
560 | 542 | </executions> |
561 | 543 | </plugin> |
| 544 | + <plugin> |
| 545 | + <groupId>org.sonatype.central</groupId> |
| 546 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 547 | + <version>0.7.0</version> |
| 548 | + <extensions>true</extensions> |
| 549 | + <configuration> |
| 550 | + <publishingServerId>central</publishingServerId> |
| 551 | + <autoPublish>true</autoPublish> |
| 552 | + </configuration> |
| 553 | + </plugin> |
562 | 554 | </plugins> |
563 | 555 | </build> |
564 | 556 | </profile> |
|
0 commit comments