|
83 | 83 | </distributionManagement> |
84 | 84 | <repositories> |
85 | 85 | <repository> |
86 | | - <id>ossrh-snapshots</id> |
87 | | - <name>Sonatype OSS Repository</name> |
88 | | - <url>https://oss.sonatype.org/content/repositories/snapshots/</url> |
89 | | - <snapshots><enabled>true</enabled></snapshots> |
90 | | - </repository> |
| 86 | + <name>Central Portal Snapshots</name> |
| 87 | + <id>central-portal-snapshots</id> |
| 88 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
| 89 | + <releases> |
| 90 | + <enabled>false</enabled> |
| 91 | + </releases> |
| 92 | + <snapshots> |
| 93 | + <enabled>true</enabled> |
| 94 | + </snapshots> |
| 95 | + </repository> |
91 | 96 | <repository> |
92 | 97 | <id>jboss-nexus-public</id> |
93 | 98 | <name>JBoss Nexus Public Repository</name> |
|
96 | 101 | </repositories> |
97 | 102 | <pluginRepositories> |
98 | 103 | <pluginRepository> |
99 | | - <id>ossrh-snapshots</id> |
100 | | - <name>Sonatype OSS Repository</name> |
101 | | - <url>https://oss.sonatype.org/content/repositories/snapshots/</url> |
102 | | - <snapshots> |
103 | | - <enabled>true</enabled> |
104 | | - </snapshots> |
105 | | - </pluginRepository> |
| 104 | + <name>Central Portal Snapshots</name> |
| 105 | + <id>central-portal-snapshots</id> |
| 106 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
| 107 | + <snapshots> |
| 108 | + <enabled>true</enabled> |
| 109 | + </snapshots> |
| 110 | + </pluginRepository> |
106 | 111 | </pluginRepositories> |
107 | 112 |
|
108 | 113 | <mailingLists> |
|
737 | 742 | </executions> |
738 | 743 | </plugin> |
739 | 744 | <plugin> |
740 | | - <groupId>org.sonatype.plugins</groupId> |
741 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
742 | | - <version>1.6.13</version> |
743 | | - <extensions>true</extensions> |
744 | | - <configuration> |
745 | | - <serverId>ossrh</serverId> |
746 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
747 | | - <autoReleaseAfterClose>false</autoReleaseAfterClose> |
748 | | - <stagingProgressTimeoutMinutes>15</stagingProgressTimeoutMinutes> |
749 | | - <keepStagingRepositoryOnFailure>true</keepStagingRepositoryOnFailure> |
750 | | - <keepStagingRepositoryOnCloseRuleFailure>true</keepStagingRepositoryOnCloseRuleFailure> |
751 | | - </configuration> |
752 | | - <dependencies> |
753 | | - <dependency> |
754 | | - <groupId>com.google.guava</groupId> |
755 | | - <artifactId>guava</artifactId> |
756 | | - <version>15.0</version> |
757 | | - </dependency> |
758 | | - </dependencies> |
| 745 | + <groupId>org.sonatype.central</groupId> |
| 746 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 747 | + <version>0.8.0</version> |
| 748 | + <extensions>true</extensions> |
| 749 | + <configuration> |
| 750 | + <publishingServerId>ossrh</publishingServerId> |
| 751 | + <autoPublish>true</autoPublish> |
| 752 | + </configuration> |
759 | 753 | </plugin> |
760 | 754 | </plugins> |
761 | 755 | <pluginManagement> |
|
0 commit comments