|
3 | 3 |
|
4 | 4 | <modelVersion>4.0.0</modelVersion> |
5 | 5 |
|
6 | | - <parent> |
7 | | - <groupId>org.sonatype.oss</groupId> |
8 | | - <artifactId>oss-parent</artifactId> |
9 | | - <version>7</version> |
10 | | - </parent> |
11 | | - |
12 | 6 | <groupId>org.w3c</groupId> |
13 | 7 | <artifactId>epubcheck</artifactId> |
14 | 8 | <version>5.3.0-SNAPSHOT</version> |
|
63 | 57 | <url>https://github.com/w3c/epubcheck/issues</url> |
64 | 58 | </issueManagement> |
65 | 59 |
|
66 | | - <distributionManagement> |
67 | | - <snapshotRepository> |
68 | | - <id>ossrh</id> |
69 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
70 | | - </snapshotRepository> |
71 | | - <repository> |
72 | | - <id>ossrh</id> |
73 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
74 | | - </repository> |
75 | | - </distributionManagement> |
76 | | - |
77 | 60 | <properties> |
78 | 61 | <java.version>1.8</java.version> |
79 | 62 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
423 | 406 | <plugin> |
424 | 407 | <groupId>org.apache.maven.plugins</groupId> |
425 | 408 | <artifactId>maven-javadoc-plugin</artifactId> |
426 | | - <version>3.4.1</version> |
| 409 | + <version>3.11.3</version> |
427 | 410 | <configuration> |
428 | 411 | <additionalparam>-Xdoclint:none</additionalparam> |
429 | 412 | <failOnError>false</failOnError> |
430 | 413 | <source>${java.version}</source> |
431 | 414 | </configuration> |
432 | 415 | </plugin> |
| 416 | + <plugin> |
| 417 | + <groupId>org.apache.maven.plugins</groupId> |
| 418 | + <artifactId>maven-source-plugin</artifactId> |
| 419 | + <version>3.3.1</version> |
| 420 | + </plugin> |
| 421 | + <plugin> |
| 422 | + <groupId>org.apache.maven.plugins</groupId> |
| 423 | + <artifactId>maven-gpg-plugin</artifactId> |
| 424 | + <version>3.2.8</version> |
| 425 | + </plugin> |
433 | 426 | <plugin> |
434 | 427 | <!-- required to work around issues with git 1.8.5 and release-plugin --> |
435 | 428 | <!-- https://jira.codehaus.org/browse/SCM-738 --> |
|
446 | 439 | <configuration> |
447 | 440 | <tagNameFormat>v@{project.version}</tagNameFormat> |
448 | 441 | <scmCommentPrefix xml:space="preserve">chore: </scmCommentPrefix> |
| 442 | + <mavenExecutorId>forked-path</mavenExecutorId> |
| 443 | + <useReleaseProfile>false</useReleaseProfile> |
| 444 | + <arguments>-Prelease</arguments> |
449 | 445 | </configuration> |
450 | 446 | </plugin> |
451 | 447 | <plugin> |
|
482 | 478 | </execution> |
483 | 479 | </executions> |
484 | 480 | </plugin> |
| 481 | + <plugin> |
| 482 | + <groupId>org.sonatype.central</groupId> |
| 483 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 484 | + <version>0.8.0</version> |
| 485 | + <extensions>true</extensions> |
| 486 | + <configuration> |
| 487 | + <publishingServerId>central</publishingServerId> |
| 488 | + </configuration> |
| 489 | + </plugin> |
485 | 490 | </plugins> |
486 | 491 | <pluginManagement> |
487 | 492 | <plugins> |
|
539 | 544 | </plugins> |
540 | 545 | </pluginManagement> |
541 | 546 | </build> |
| 547 | + <profiles> |
| 548 | + <profile> |
| 549 | + <id>release</id> |
| 550 | + <build> |
| 551 | + <plugins> |
| 552 | + <plugin> |
| 553 | + <groupId>org.apache.maven.plugins</groupId> |
| 554 | + <artifactId>maven-source-plugin</artifactId> |
| 555 | + <executions> |
| 556 | + <execution> |
| 557 | + <id>attach-sources</id> |
| 558 | + <goals> |
| 559 | + <goal>jar-no-fork</goal> |
| 560 | + </goals> |
| 561 | + </execution> |
| 562 | + </executions> |
| 563 | + </plugin> |
| 564 | + <plugin> |
| 565 | + <groupId>org.apache.maven.plugins</groupId> |
| 566 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 567 | + <executions> |
| 568 | + <execution> |
| 569 | + <id>attach-javadocs</id> |
| 570 | + <goals> |
| 571 | + <goal>jar</goal> |
| 572 | + </goals> |
| 573 | + </execution> |
| 574 | + </executions> |
| 575 | + </plugin> |
| 576 | + <plugin> |
| 577 | + <groupId>org.apache.maven.plugins</groupId> |
| 578 | + <artifactId>maven-gpg-plugin</artifactId> |
| 579 | + <executions> |
| 580 | + <execution> |
| 581 | + <id>sign-artifacts</id> |
| 582 | + <phase>verify</phase> |
| 583 | + <goals> |
| 584 | + <goal>sign</goal> |
| 585 | + </goals> |
| 586 | + </execution> |
| 587 | + </executions> |
| 588 | + </plugin> |
| 589 | + </plugins> |
| 590 | + </build> |
| 591 | + </profile> |
| 592 | + </profiles> |
542 | 593 | </project> |
0 commit comments