|
55 | 55 | <url>https://issues.cask.co/browse/CDAP</url> |
56 | 56 | </issueManagement> |
57 | 57 |
|
58 | | - <distributionManagement> |
59 | | - <repository> |
60 | | - <id>sonatype.release</id> |
61 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> |
62 | | - </repository> |
63 | | - <snapshotRepository> |
64 | | - <id>sonatype.snapshots</id> |
65 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
66 | | - </snapshotRepository> |
67 | | - </distributionManagement> |
68 | | - |
69 | 58 | <properties> |
70 | 59 | <jee.version>7</jee.version> |
71 | 60 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
91 | 80 | </properties> |
92 | 81 |
|
93 | 82 | <repositories> |
94 | | - <repository> |
95 | | - <id>sonatype</id> |
96 | | - <url>https://oss.sonatype.org/content/groups/public</url> |
97 | | - <releases> |
98 | | - <enabled>true</enabled> |
99 | | - </releases> |
100 | | - <snapshots> |
101 | | - <enabled>false</enabled> |
102 | | - </snapshots> |
103 | | - </repository> |
104 | 83 | <repository> |
105 | 84 | <id>sonatype-snapshots</id> |
106 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 85 | + <url>https://central.sonatype.com/repository/maven-snapshots</url> |
107 | 86 | <releases> |
108 | 87 | <enabled>false</enabled> |
109 | 88 | </releases> |
|
612 | 591 | </execution> |
613 | 592 | </executions> |
614 | 593 | </plugin> |
615 | | - |
616 | | - <plugin> |
617 | | - <groupId>org.apache.maven.plugins</groupId> |
618 | | - <artifactId>maven-release-plugin</artifactId> |
619 | | - <version>2.5.3</version> |
620 | | - <configuration> |
621 | | - <tag>v${releaseVersion}</tag> |
622 | | - <tagNameFormat>v@{project.version}</tagNameFormat> |
623 | | - <autoVersionSubmodules>true</autoVersionSubmodules> |
624 | | - <!-- releaseProfiles configuration will actually force a Maven profile |
625 | | - – the `releases` profile – to become active during the Release process. --> |
626 | | - <releaseProfiles>releases</releaseProfiles> |
627 | | - </configuration> |
628 | | - </plugin> |
629 | | - |
630 | 594 | <plugin> |
631 | | - <groupId>org.sonatype.plugins</groupId> |
632 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
633 | | - <version>1.6.2</version> |
| 595 | + <groupId>org.sonatype.central</groupId> |
| 596 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 597 | + <version>0.8.0</version> |
634 | 598 | <extensions>true</extensions> |
635 | 599 | <configuration> |
636 | | - <nexusUrl>https://oss.sonatype.org</nexusUrl> |
637 | | - <serverId>sonatype.release</serverId> |
| 600 | + <publishingServerId>sonatype.release</publishingServerId> |
| 601 | + <autoPublish>false</autoPublish> |
| 602 | + <ignorePublishedComponents>true</ignorePublishedComponents> |
638 | 603 | </configuration> |
639 | 604 | </plugin> |
640 | 605 | </plugins> |
|
0 commit comments