|
57 | 57 | <maven.resources.version>3.3.1</maven.resources.version> |
58 | 58 | <maven.shade.version>3.6.0</maven.shade.version> |
59 | 59 | <maven.source.version>3.3.1</maven.source.version> |
60 | | - <maven.surefire.version>3.3.1</maven.surefire.version> |
| 60 | + <maven.surefire.version>3.5.3</maven.surefire.version> |
61 | 61 | <tycho.version>4.0.8</tycho.version> |
62 | 62 | <versions.maven.version>2.17.1</versions.maven.version> |
63 | 63 |
|
|
79 | 79 |
|
80 | 80 |
|
81 | 81 | <!-- Release Dependencies for M2 --> |
82 | | - <nexus.maven.version>1.6.13</nexus.maven.version> |
| 82 | + <central.publishing.version>0.8.0</central.publishing.version> |
83 | 83 | <maven.gpg.version>1.6</maven.gpg.version> |
84 | 84 | </properties> |
85 | 85 |
|
86 | 86 | <pluginRepositories> |
87 | 87 | <pluginRepository> |
88 | | - <id>sonatype</id> |
89 | | - <name>Sonatype</name> |
90 | | - <url>https://oss.sonatype.org/content/groups/public</url> |
| 88 | + <name>Central Portal Snapshots</name> |
| 89 | + <id>central-portal-snapshots</id> |
| 90 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
| 91 | + <releases> |
| 92 | + <enabled>false</enabled> |
| 93 | + </releases> |
| 94 | + <snapshots> |
| 95 | + <enabled>true</enabled> |
| 96 | + </snapshots> |
91 | 97 | </pluginRepository> |
92 | 98 | </pluginRepositories> |
93 | 99 |
|
|
278 | 284 | </dependency> |
279 | 285 | </dependencies> |
280 | 286 |
|
281 | | - <pluginRepositories> |
282 | | - <pluginRepository> |
283 | | - <id>sonatype</id> |
284 | | - <name>Sonatype</name> |
285 | | - <url>https://oss.sonatype.org/content/groups/public</url> |
286 | | - </pluginRepository> |
287 | | - </pluginRepositories> |
288 | 287 |
|
289 | 288 | <build> |
290 | 289 | <plugins> |
|
360 | 359 |
|
361 | 360 | <distributionManagement> |
362 | 361 | <snapshotRepository> |
363 | | - <id>ossrh</id> |
364 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 362 | + <id>central</id> |
| 363 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
365 | 364 | </snapshotRepository> |
366 | 365 | </distributionManagement> |
367 | 366 | <build> |
368 | 367 | <plugins> |
369 | 368 | <!-- To release to Sonatype/Maven central --> |
370 | 369 | <plugin> |
371 | | - <groupId>org.sonatype.plugins</groupId> |
372 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
373 | | - <version>${nexus.maven.version}</version> |
| 370 | + <groupId>org.sonatype.central</groupId> |
| 371 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 372 | + <version>${central.publishing.version}</version> |
374 | 373 | <extensions>true</extensions> |
375 | | - <configuration> |
376 | | - <serverId>ossrh</serverId> |
377 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
378 | | - </configuration> |
| 374 | + <configuration> |
| 375 | + <publishingServerId>central</publishingServerId> |
| 376 | + <autoPublish>true</autoPublish> |
| 377 | + <waitUntil>published</waitUntil> |
| 378 | + <centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl> |
| 379 | + </configuration> |
379 | 380 | </plugin> |
380 | 381 | <!-- To generate javadoc --> |
381 | 382 |
|
|
0 commit comments