|
312 | 312 | <distributionManagement> |
313 | 313 | <snapshotRepository> |
314 | 314 | <id>ossrh</id> |
315 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 315 | + <url>https://central.sonatype.com/repository/maven-snapshots</url> |
316 | 316 | </snapshotRepository> |
317 | 317 | <repository> |
318 | 318 | <id>ossrh</id> |
319 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 319 | + <url>https://central.sonatype.com</url> |
320 | 320 | </repository> |
321 | 321 | </distributionManagement> |
322 | 322 | <build> |
|
330 | 330 | <artifactId>maven-source-plugin</artifactId> |
331 | 331 | </plugin> |
332 | 332 | <plugin> |
333 | | - <groupId>org.sonatype.plugins</groupId> |
334 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
335 | | - <version>1.6.12</version> |
| 333 | + <groupId>org.sonatype.central</groupId> |
| 334 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 335 | + <version>0.7.0</version> |
336 | 336 | <extensions>true</extensions> |
337 | 337 | <configuration> |
338 | | - <serverId>ossrh</serverId> |
339 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
340 | | - <!--autoReleaseAfterClose>true</autoReleaseAfterClose--> |
| 338 | + <publishingServerId>ossrh</publishingServerId> |
| 339 | + <centralBaseUrl>https://central.sonatype.com</centralBaseUrl> |
| 340 | + <centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl> |
| 341 | + <autoPublish>true</autoPublish> |
| 342 | + <waitUntil>published</waitUntil> |
341 | 343 | </configuration> |
342 | 344 | </plugin> |
343 | 345 | <plugin> |
|
357 | 359 | </build> |
358 | 360 | </profile> |
359 | 361 |
|
360 | | - <profile> |
361 | | - <id>au</id> |
362 | | - <activation> |
363 | | - <activeByDefault>true</activeByDefault> |
364 | | - </activation> |
365 | | - <distributionManagement> |
366 | | - <snapshotRepository> |
367 | | - <id>au-artifactory-snapshots</id> |
368 | | - <name>overture.au.dk-snapshots</name> |
369 | | - <url>https://overture.au.dk/artifactory/into-cps</url> |
370 | | - </snapshotRepository> |
371 | | - </distributionManagement> |
372 | | - </profile> |
| 362 | + |
373 | 363 |
|
374 | 364 | </profiles> |
375 | 365 |
|
|
0 commit comments