|
55 | 55 | <distributionManagement> |
56 | 56 | <snapshotRepository> |
57 | 57 | <id>ossrh</id> |
58 | | - <url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url> |
| 58 | + <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
59 | 59 | </snapshotRepository> |
60 | 60 | <repository> |
61 | 61 | <id>ossrh</id> |
|
94 | 94 | </configuration> |
95 | 95 | </plugin> |
96 | 96 | <plugin> |
97 | | - <groupId>org.sonatype.plugins</groupId> |
98 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
99 | | - <version>1.6.13</version> |
| 97 | + <groupId>org.sonatype.central</groupId> |
| 98 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 99 | + <version>0.8.0</version> |
100 | 100 | <extensions>true</extensions> |
101 | 101 | <configuration> |
102 | | - <serverId>ossrh</serverId> |
103 | | - <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
104 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 102 | + <publishingServerId>central</publishingServerId> |
| 103 | + <autoPublish>true</autoPublish> |
105 | 104 | </configuration> |
106 | 105 | </plugin> |
107 | 106 | <plugin> |
|
206 | 205 | <build> |
207 | 206 | <plugins> |
208 | 207 | <plugin> |
209 | | - <groupId>org.sonatype.plugins</groupId> |
210 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
211 | | - <version>1.6.13</version> |
| 208 | + <groupId>org.sonatype.central</groupId> |
| 209 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 210 | + <version>0.8.0</version> |
212 | 211 | <extensions>true</extensions> |
213 | 212 | <configuration> |
214 | | - <serverId>ossrh</serverId> |
215 | | - <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
216 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 213 | + <publishingServerId>central</publishingServerId> |
| 214 | + <autoPublish>true</autoPublish> |
217 | 215 | </configuration> |
218 | 216 | </plugin> |
219 | 217 | <plugin> |
|
0 commit comments