|
128 | 128 | </executions> |
129 | 129 | </plugin> |
130 | 130 |
|
131 | | - <!-- Sonatype release plugin --> |
132 | 131 | <plugin> |
133 | | - <groupId>org.sonatype.plugins</groupId> |
134 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
135 | | - <version>1.6.8</version> |
| 132 | + <groupId>org.sonatype.central</groupId> |
| 133 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 134 | + <version>0.9.0</version> |
136 | 135 | <extensions>true</extensions> |
137 | 136 | <configuration> |
138 | | - <serverId>ossrh</serverId> |
139 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
140 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 137 | + <autoPublish>true</autoPublish> |
| 138 | + <publishingServerId>central</publishingServerId> |
| 139 | + <waitUntil>uploaded</waitUntil> |
| 140 | + <centralBaseUrl>https://central.sonatype.com</centralBaseUrl> |
| 141 | + <centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl> |
141 | 142 | </configuration> |
142 | 143 | </plugin> |
143 | | - |
144 | | - |
145 | 144 | </plugins> |
146 | 145 | </build> |
147 | 146 |
|
|
206 | 205 | </executions> |
207 | 206 | </plugin> |
208 | 207 |
|
209 | | - <plugin> |
210 | | - <groupId>org.sonatype.plugins</groupId> |
211 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
212 | | - <version>1.6.8</version> |
213 | | - <extensions>true</extensions> |
214 | | - <configuration> |
215 | | - <serverId>ossrh</serverId> |
216 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
217 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
218 | | - </configuration> |
219 | | - </plugin> |
220 | | - |
221 | 208 | <!-- see https://maven.apache.org/maven-ci-friendly.html --> |
222 | 209 | <plugin> |
223 | 210 | <groupId>org.codehaus.mojo</groupId> |
|
248 | 235 | </plugins> |
249 | 236 | </build> |
250 | 237 |
|
251 | | - |
252 | | - <distributionManagement> |
253 | | - <snapshotRepository> |
254 | | - <id>ossrh</id> |
255 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
256 | | - </snapshotRepository> |
257 | | - <repository> |
258 | | - <id>ossrh</id> |
259 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
260 | | - </repository> |
261 | | - </distributionManagement> |
262 | | - |
263 | 238 | <repositories> |
264 | 239 | <repository> |
265 | 240 | <id>osgeo</id> |
|
0 commit comments