|
267 | 267 | </executions> |
268 | 268 | </plugin> |
269 | 269 | <plugin> |
270 | | - <groupId>org.sonatype.plugins</groupId> |
271 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
272 | | - <version>1.7.0</version> |
273 | | - <extensions>true</extensions> |
274 | | - <configuration> |
275 | | - <serverId>ossrh</serverId> |
276 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
277 | | - <autoReleaseAfterClose>false</autoReleaseAfterClose> |
278 | | - <stagingProgressTimeoutMinutes>15</stagingProgressTimeoutMinutes> |
279 | | - <keepStagingRepositoryOnFailure>true</keepStagingRepositoryOnFailure> |
280 | | - <keepStagingRepositoryOnCloseRuleFailure>true</keepStagingRepositoryOnCloseRuleFailure> |
281 | | - </configuration> |
282 | | - <dependencies> |
283 | | - <dependency> |
284 | | - <groupId>com.google.guava</groupId> |
285 | | - <artifactId>guava</artifactId> |
286 | | - <version>15.0</version> |
287 | | - </dependency> |
288 | | - </dependencies> |
| 270 | + <groupId>org.sonatype.central</groupId> |
| 271 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 272 | + <version>0.8.0</version> |
| 273 | + <extensions>true</extensions> |
| 274 | + <configuration> |
| 275 | + <publishingServerId>ossrh</publishingServerId> |
| 276 | + <autoPublish>true</autoPublish> |
| 277 | + </configuration> |
289 | 278 | </plugin> |
290 | 279 | </plugins> |
291 | 280 | </build> |
|
392 | 381 | </mailingLists> |
393 | 382 | <!-- Maven Repositories --> |
394 | 383 | <repositories> |
395 | | - <repository> |
396 | | - <id>ossrh-snapshots</id> |
397 | | - <name>Sonatype OSS Repository</name> |
398 | | - <url>https://oss.sonatype.org/content/repositories/snapshots/</url> |
399 | | - <snapshots> |
400 | | - <enabled>true</enabled> |
401 | | - </snapshots> |
402 | | - </repository> |
403 | | - </repositories> |
| 384 | + <repository> |
| 385 | + <name>Central Portal Snapshots</name> |
| 386 | + <id>central-portal-snapshots</id> |
| 387 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
| 388 | + <releases> |
| 389 | + <enabled>false</enabled> |
| 390 | + </releases> |
| 391 | + <snapshots> |
| 392 | + <enabled>true</enabled> |
| 393 | + </snapshots> |
| 394 | + </repository> |
| 395 | + </repositories> |
404 | 396 | <pluginRepositories> |
405 | 397 | <pluginRepository> |
406 | | - <id>ossrh-snapshots</id> |
407 | | - <name>Sonatype OSS Repository</name> |
408 | | - <url>https://oss.sonatype.org/content/repositories/snapshots/</url> |
| 398 | + <name>Central Portal Snapshots</name> |
| 399 | + <id>central-portal-snapshots</id> |
| 400 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
409 | 401 | <snapshots> |
410 | 402 | <enabled>true</enabled> |
411 | 403 | </snapshots> |
412 | 404 | </pluginRepository> |
413 | 405 | </pluginRepositories> |
414 | | - |
415 | | - <distributionManagement> |
416 | | - <repository> |
417 | | - <id>ossrh</id> |
418 | | - <name>Sonatype OSS Repository</name> |
419 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> |
420 | | - </repository> |
421 | | - <snapshotRepository> |
422 | | - <id>ossrh</id> |
423 | | - <name>Sonatype OSS Repository</name> |
424 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
425 | | - </snapshotRepository> |
426 | | - </distributionManagement> |
427 | 406 | <!-- Source Control --> |
428 | 407 | <scm> |
429 | 408 | <connection>scm:git:https://github.com/OpenIdentityPlatform/OpenAM.git</connection> |
|
0 commit comments