|
60 | 60 | <tag>HEAD</tag> |
61 | 61 | </scm> |
62 | 62 |
|
63 | | - <distributionManagement> |
64 | | - <repository> |
65 | | - <id>sonatype.release</id> |
66 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> |
67 | | - </repository> |
68 | | - <snapshotRepository> |
69 | | - <id>sonatype.snapshots</id> |
70 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
71 | | - </snapshotRepository> |
72 | | - </distributionManagement> |
73 | | - |
74 | 63 | <issueManagement> |
75 | 64 | <url>https://issues.cask.co/browse/CDAP</url> |
76 | 65 | </issueManagement> |
|
126 | 115 | </properties> |
127 | 116 |
|
128 | 117 | <repositories> |
129 | | - <repository> |
130 | | - <id>sonatype</id> |
131 | | - <url>https://oss.sonatype.org/content/groups/public</url> |
132 | | - <releases> |
133 | | - <enabled>true</enabled> |
134 | | - </releases> |
135 | | - <snapshots> |
136 | | - <enabled>false</enabled> |
137 | | - </snapshots> |
138 | | - </repository> |
139 | 118 | <repository> |
140 | 119 | <id>sonatype-snapshots</id> |
141 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 120 | + <url>https://central.sonatype.com/repository/maven-snapshots</url> |
142 | 121 | <releases> |
143 | 122 | <enabled>false</enabled> |
144 | 123 | </releases> |
|
387 | 366 | </plugin> |
388 | 367 |
|
389 | 368 | <plugin> |
390 | | - <groupId>org.apache.maven.plugins</groupId> |
391 | | - <artifactId>maven-release-plugin</artifactId> |
392 | | - <version>2.5.3</version> |
393 | | - <configuration> |
394 | | - <tag>v${releaseVersion}</tag> |
395 | | - <tagNameFormat>v@{project.version}</tagNameFormat> |
396 | | - <autoVersionSubmodules>true</autoVersionSubmodules> |
397 | | - <!-- releaseProfiles configuration will actually force a Maven profile |
398 | | - – the `releases` profile – to become active during the Release process. --> |
399 | | - <releaseProfiles>releases</releaseProfiles> |
400 | | - </configuration> |
401 | | - </plugin> |
402 | | - <plugin> |
403 | | - <groupId>org.sonatype.plugins</groupId> |
404 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
405 | | - <version>1.6.2</version> |
| 369 | + <groupId>org.sonatype.central</groupId> |
| 370 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 371 | + <version>0.8.0</version> |
406 | 372 | <extensions>true</extensions> |
407 | 373 | <configuration> |
408 | | - <nexusUrl>https://oss.sonatype.org</nexusUrl> |
409 | | - <serverId>sonatype.release</serverId> |
| 374 | + <publishingServerId>sonatype.release</publishingServerId> |
| 375 | + <autoPublish>false</autoPublish> |
| 376 | + <ignorePublishedComponents>true</ignorePublishedComponents> |
410 | 377 | </configuration> |
411 | 378 | </plugin> |
412 | 379 | </plugins> |
|
0 commit comments