|
44 | 44 | <maven-checkstyle-plugin.version>3.1.2</maven-checkstyle-plugin.version> |
45 | 45 | <maven-clean-plugin.version>3.1.0</maven-clean-plugin.version> |
46 | 46 | <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version> |
47 | | - <maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version> |
48 | 47 | <maven-enforcer-plugin.version>3.0.0</maven-enforcer-plugin.version> |
49 | 48 | <maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version> |
50 | 49 | <maven-install-plugin.version>3.0.0-M1</maven-install-plugin.version> |
|
62 | 61 | <!-- maven-javadoc-plugin configuration --> |
63 | 62 | <maven.javadoc.failOnError>true</maven.javadoc.failOnError> |
64 | 63 | <maven.javadoc.failOnWarnings>true</maven.javadoc.failOnWarnings> |
| 64 | + |
| 65 | + <!-- the server id the maven-release-plugin uses to obtain credentials to use when pushing tags/commits --> |
| 66 | + <project.scm.id>github</project.scm.id> |
65 | 67 | </properties> |
66 | 68 |
|
67 | 69 | <licenses> |
|
433 | 435 | </configuration> |
434 | 436 | </plugin> |
435 | 437 |
|
436 | | - <plugin> |
437 | | - <groupId>org.apache.maven.plugins</groupId> |
438 | | - <artifactId>maven-deploy-plugin</artifactId> |
439 | | - <version>${maven-deploy-plugin.version}</version> |
440 | | - </plugin> |
441 | | - |
442 | 438 | <plugin> |
443 | 439 | <groupId>org.apache.maven.plugins</groupId> |
444 | 440 | <artifactId>maven-install-plugin</artifactId> |
|
541 | 537 | <groupId>org.apache.maven.plugins</groupId> |
542 | 538 | <artifactId>maven-release-plugin</artifactId> |
543 | 539 | <version>${maven-release-plugin.version}</version> |
544 | | - <configuration> |
545 | | - <!-- Use our own profile instead of the default "release-profile" --> |
546 | | - <releaseProfiles>release</releaseProfiles> |
547 | | - </configuration> |
548 | 540 | </plugin> |
549 | 541 |
|
550 | 542 | <plugin> |
|
601 | 593 | </properties> |
602 | 594 | </profile> |
603 | 595 |
|
604 | | - <!-- Profile activated during release:prepare and release:perform instead |
605 | | - of the legacy release-profile that is otherwise activated during a release |
606 | | - build by the maven-release-plugin. |
607 | | - |
608 | | - Reasons are: |
609 | | - - the "sources" artifact is produced by the shade plugin. The one produced by |
610 | | - the legacy profile must be discarded. |
611 | | - - javadoc is already produced by normal builds. |
612 | | - |
613 | | - Note: maven-deploy-plugin:3.0.0 does not support the "updateReleaseInfo" configuration |
614 | | - parameter anymore. This profile can be removed after upgrading. |
615 | | - --> |
616 | | - <profile> |
617 | | - <id>release</id> |
618 | | - <build> |
619 | | - <plugins> |
620 | | - <plugin> |
621 | | - <groupId>org.apache.maven.plugins</groupId> |
622 | | - <artifactId>maven-deploy-plugin</artifactId> |
623 | | - <configuration> |
624 | | - <updateReleaseInfo>true</updateReleaseInfo> |
625 | | - </configuration> |
626 | | - </plugin> |
627 | | - </plugins> |
628 | | - </build> |
629 | | - </profile> |
630 | | - |
631 | 596 | <profile> |
632 | 597 | <id>github</id> |
633 | 598 | <activation> |
|
0 commit comments