|
241 | 241 | <arg>-Xlint:-options</arg> |
242 | 242 | <arg>-Xlint:-processing</arg> |
243 | 243 | <arg>-Xlint:-serial</arg> |
| 244 | + <arg>-Xlint:-this-escape</arg> |
| 245 | + <arg>-Xlint:-deprecation</arg> |
244 | 246 | </compilerArgs> |
245 | 247 | <showWarnings>true</showWarnings> |
246 | | - <source>${java.version}</source> |
247 | | - <target>${java.version}</target> |
| 248 | + <release>8</release> |
248 | 249 | </configuration> |
249 | 250 | </plugin> |
250 | 251 | <plugin> |
|
280 | 281 | <link>https://www.reactive-streams.org/reactive-streams-1.0.2-javadoc/</link> |
281 | 282 | </links> |
282 | 283 | <notimestamp>true</notimestamp> |
| 284 | + <doclint>-missing</doclint> |
| 285 | + <javadocVersion>1.8</javadocVersion> |
283 | 286 | </configuration> |
284 | 287 | <executions> |
285 | 288 | <execution> |
|
406 | 409 | </attributes> |
407 | 410 | </configuration> |
408 | 411 | </plugin> |
| 412 | + <plugin> |
| 413 | + <groupId>org.sonatype.central</groupId> |
| 414 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 415 | + <version>0.8.0</version> |
| 416 | + <extensions>true</extensions> |
| 417 | + <configuration> |
| 418 | + <publishingServerId>central</publishingServerId> |
| 419 | + </configuration> |
| 420 | + </plugin> |
409 | 421 | </plugins> |
410 | 422 | <resources> |
411 | 423 | <resource> |
|
427 | 439 |
|
428 | 440 | <profile> |
429 | 441 | <id>snapshot</id> |
430 | | - <distributionManagement> |
431 | | - <snapshotRepository> |
432 | | - <id>sonatype</id> |
433 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
434 | | - </snapshotRepository> |
435 | | - </distributionManagement> |
| 442 | + <build> |
| 443 | + <plugins> |
| 444 | + <plugin> |
| 445 | + <groupId>org.sonatype.central</groupId> |
| 446 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 447 | + </plugin> |
| 448 | + </plugins> |
| 449 | + </build> |
436 | 450 | </profile> |
437 | 451 |
|
438 | 452 | <profile> |
|
463 | 477 | </execution> |
464 | 478 | </executions> |
465 | 479 | </plugin> |
466 | | - |
467 | | - <!-- Deploy to Sonatype OSS Nexus --> |
468 | | - |
469 | | - <plugin> |
470 | | - <groupId>org.sonatype.plugins</groupId> |
471 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
472 | | - <version>1.6.8</version> |
473 | | - <extensions>true</extensions> |
474 | | - <configuration> |
475 | | - <serverId>sonatype</serverId> |
476 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
477 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
478 | | - <keepStagingRepositoryOnFailure>true</keepStagingRepositoryOnFailure> |
479 | | - </configuration> |
480 | | - </plugin> |
481 | 480 | </plugins> |
482 | 481 |
|
483 | 482 | </pluginManagement> |
|
490 | 489 | </plugin> |
491 | 490 |
|
492 | 491 | <plugin> |
493 | | - <groupId>org.sonatype.plugins</groupId> |
494 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
| 492 | + <groupId>org.sonatype.central</groupId> |
| 493 | + <artifactId>central-publishing-maven-plugin</artifactId> |
495 | 494 | </plugin> |
496 | 495 |
|
497 | 496 | </plugins> |
498 | 497 |
|
499 | 498 | </build> |
500 | 499 |
|
501 | | - <distributionManagement> |
502 | | - <repository> |
503 | | - <id>sonatype</id> |
504 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
505 | | - </repository> |
506 | | - </distributionManagement> |
507 | | - |
508 | 500 | </profile> |
509 | 501 |
|
510 | 502 | </profiles> |
511 | 503 |
|
512 | | - <repositories> |
513 | | - <repository> |
514 | | - <id>sonatype-nexus-snapshots</id> |
515 | | - <name>Sonatype OSS Snapshot Repository</name> |
516 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
517 | | - <snapshots> |
518 | | - <enabled>true</enabled> |
519 | | - </snapshots> |
520 | | - </repository> |
521 | | - </repositories> |
522 | | - |
523 | 504 | </project> |
0 commit comments