|
62 | 62 | <url>https://issues.cask.co/browse/CDAP</url> |
63 | 63 | </issueManagement> |
64 | 64 |
|
65 | | - <distributionManagement> |
66 | | - <repository> |
67 | | - <id>sonatype.release</id> |
68 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> |
69 | | - </repository> |
70 | | - <snapshotRepository> |
71 | | - <id>sonatype.snapshots</id> |
72 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
73 | | - </snapshotRepository> |
74 | | - <site> |
75 | | - <id>cdap</id> |
76 | | - <url>http://cdap.io</url> |
77 | | - </site> |
78 | | - </distributionManagement> |
79 | | - |
80 | 65 | <repositories> |
81 | | - <repository> |
82 | | - <id>sonatype</id> |
83 | | - <url>https://oss.sonatype.org/content/groups/public</url> |
84 | | - <releases> |
85 | | - <enabled>true</enabled> |
86 | | - </releases> |
87 | | - <snapshots> |
88 | | - <enabled>false</enabled> |
89 | | - </snapshots> |
90 | | - </repository> |
91 | 66 | <repository> |
92 | 67 | <id>sonatype-snapshots</id> |
93 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 68 | + <url>https://central.sonatype.com/repository/maven-snapshots</url> |
94 | 69 | <releases> |
95 | 70 | <enabled>false</enabled> |
96 | 71 | </releases> |
|
311 | 286 | <build> |
312 | 287 | <plugins> |
313 | 288 | <plugin> |
314 | | - <groupId>org.sonatype.plugins</groupId> |
315 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
316 | | - <version>1.6.2</version> |
| 289 | + <groupId>org.sonatype.central</groupId> |
| 290 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 291 | + <version>0.8.0</version> |
317 | 292 | <extensions>true</extensions> |
318 | 293 | <configuration> |
319 | | - <nexusUrl>https://oss.sonatype.org</nexusUrl> |
320 | | - <serverId>sonatype.release</serverId> |
| 294 | + <publishingServerId>sonatype.release</publishingServerId> |
| 295 | + <autoPublish>false</autoPublish> |
| 296 | + <ignorePublishedComponents>true</ignorePublishedComponents> |
321 | 297 | </configuration> |
322 | 298 | </plugin> |
323 | 299 | <!-- Source JAR --> |
|
0 commit comments