|
282 | 282 | </filesets> |
283 | 283 | </configuration> |
284 | 284 | </plugin> |
| 285 | + <plugin> |
| 286 | + <groupId>org.apache.maven.plugins</groupId> |
| 287 | + <artifactId>maven-deploy-plugin</artifactId> |
| 288 | + <version>${maven.deploy.plugin.version}</version> |
| 289 | + <configuration> |
| 290 | + <skip>${skip.maven.deploy}</skip> |
| 291 | + </configuration> |
| 292 | + </plugin> |
285 | 293 | </plugins> |
286 | 294 | </build> |
287 | 295 |
|
288 | 296 | <profiles> |
289 | | - <profile> |
290 | | - <id>sonatype</id> |
291 | | - <repositories> |
292 | | - <repository> |
293 | | - <id>nexus-snapshots</id> |
294 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
295 | | - <releases> |
296 | | - <enabled>false</enabled> |
297 | | - </releases> |
298 | | - <snapshots> |
299 | | - <enabled>true</enabled> |
300 | | - <updatePolicy>always</updatePolicy> |
301 | | - </snapshots> |
302 | | - </repository> |
303 | | - <repository> |
304 | | - <id>nexus-releases</id> |
305 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> |
306 | | - <releases> |
307 | | - <enabled>true</enabled> |
308 | | - </releases> |
309 | | - <snapshots> |
310 | | - <enabled>false</enabled> |
311 | | - </snapshots> |
312 | | - </repository> |
313 | | - </repositories> |
314 | | - </profile> |
315 | | - <profile> |
316 | | - <id>javadoc-lint</id> |
317 | | - <activation> |
318 | | - <jdk>[1.8,)</jdk> |
319 | | - </activation> |
320 | | - <properties> |
321 | | - <doclint>none</doclint> |
322 | | - </properties> |
323 | | - </profile> |
324 | 297 | <profile> |
325 | 298 | <id>release</id> |
326 | 299 | <build> |
327 | 300 | <plugins> |
328 | | - <plugin> |
329 | | - <groupId>org.apache.maven.plugins</groupId> |
330 | | - <artifactId>maven-deploy-plugin</artifactId> |
331 | | - <version>${maven.deploy.plugin.version}</version> |
332 | | - <configuration> |
333 | | - <skip>${skip.maven.deploy}</skip> |
334 | | - </configuration> |
335 | | - </plugin> |
336 | 301 | <plugin> |
337 | 302 | <groupId>org.apache.maven.plugins</groupId> |
338 | 303 | <artifactId>maven-gpg-plugin</artifactId> |
|
402 | 367 |
|
403 | 368 | <distributionManagement> |
404 | 369 | <snapshotRepository> |
405 | | - <id>ossrh</id> |
406 | | - <url>https://oss.sonatype.org/content/repositories/snapshots/</url> |
407 | | - |
| 370 | + <id>central-portal</id> |
| 371 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
408 | 372 | </snapshotRepository> |
409 | 373 | <repository> |
410 | | - <id>ossrh</id> |
411 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 374 | + <id>central-portal</id> |
| 375 | + <url>https://ossrh-staging-api.central.sonatype.com/service/local/</url> |
412 | 376 | </repository> |
413 | 377 | </distributionManagement> |
| 378 | + |
| 379 | + <repositories> |
| 380 | + <repository> |
| 381 | + <name>Central Portal Snapshots</name> |
| 382 | + <id>central-portal-snapshots</id> |
| 383 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
| 384 | + <releases> |
| 385 | + <enabled>false</enabled> |
| 386 | + </releases> |
| 387 | + <snapshots> |
| 388 | + <enabled>true</enabled> |
| 389 | + <updatePolicy>always</updatePolicy> |
| 390 | + </snapshots> |
| 391 | + </repository> |
| 392 | + </repositories> |
414 | 393 | </project> |
0 commit comments