|
33 | 33 | </scm> |
34 | 34 |
|
35 | 35 | <distributionManagement> |
36 | | - <snapshotRepository> |
37 | | - <id>ossrh</id> |
38 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
39 | | - </snapshotRepository> |
40 | 36 | <repository> |
41 | | - <id>ossrh</id> |
42 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> |
| 37 | + <id>central</id> |
| 38 | + <url>https://central.sonatype.com/api/v1/publisher/deployments/upload/</url> |
43 | 39 | </repository> |
44 | 40 | </distributionManagement> |
45 | 41 |
|
|
87 | 83 | </executions> |
88 | 84 | </plugin> |
89 | 85 | <plugin> |
90 | | - <groupId>org.sonatype.plugins</groupId> |
91 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
92 | | - <version>1.6.9</version> |
| 86 | + <groupId>org.sonatype.central</groupId> |
| 87 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 88 | + <version>0.8.0</version> |
93 | 89 | <extensions>true</extensions> |
94 | 90 | <configuration> |
95 | | - <serverId>ossrh</serverId> |
96 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
97 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 91 | + <publishingServerId>central</publishingServerId> |
| 92 | + <tokenAuth>true</tokenAuth> |
| 93 | + <autoPublish>false</autoPublish> |
98 | 94 | </configuration> |
99 | 95 | </plugin> |
100 | 96 | <plugin> |
|
132 | 128 | <build> |
133 | 129 | <plugins> |
134 | 130 | <plugin> |
135 | | - <groupId>org.sonatype.plugins</groupId> |
136 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
137 | | - <version>1.6.13</version> |
| 131 | + <groupId>org.sonatype.central</groupId> |
| 132 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 133 | + <version>0.8.0</version> |
138 | 134 | <extensions>true</extensions> |
139 | 135 | <configuration> |
140 | | - <serverId>ossrh</serverId> |
141 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
142 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 136 | + <publishingServerId>central</publishingServerId> |
| 137 | + <tokenAuth>true</tokenAuth> |
| 138 | + <autoPublish>false</autoPublish> |
143 | 139 | </configuration> |
144 | 140 | </plugin> |
145 | 141 | <plugin> |
|
0 commit comments