|
745 | 745 | </execution>
|
746 | 746 | </executions>
|
747 | 747 | </plugin>
|
748 |
| - <!-- |
749 |
| - Configure the nexus-staging-maven-plugin explicitly (without <extension>true</extension>) |
750 |
| - in order to work around a problem in the "reports" module (see that module's POM for more info). |
751 |
| - --> |
752 |
| - <plugin> |
753 |
| - <groupId>org.sonatype.plugins</groupId> |
754 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
755 |
| - <extensions>false</extensions><!-- This is essential: do not put true here --> |
756 |
| - <configuration> |
757 |
| - <serverId>${ossrh.releases.repo.id}</serverId> |
758 |
| - <!-- The following, by default, is only used for actual releases, not for snapshot deployments --> |
759 |
| - <nexusUrl>${ossrh.releases.repo.baseUrl}</nexusUrl> |
760 |
| - <!-- oss.sonatype.org has been very slow when closing repositories lately; |
761 |
| - let's raise the timeout until we switch to s01.sonatype.org --> |
762 |
| - <stagingProgressTimeoutMinutes>60</stagingProgressTimeoutMinutes> |
763 |
| - </configuration> |
764 |
| - <executions> |
765 |
| - <execution> |
766 |
| - <id>default-deploy</id> |
767 |
| - <phase>deploy</phase> |
768 |
| - <goals> |
769 |
| - <!-- |
770 |
| - This will only put artifacts in a staging directory. |
771 |
| - See the "reports" module for actual deployment, at the end of the build. |
772 |
| - --> |
773 |
| - <goal>deploy</goal> |
774 |
| - </goals> |
775 |
| - </execution> |
776 |
| - </executions> |
777 |
| - </plugin> |
778 | 748 | </plugins>
|
779 | 749 | <pluginManagement>
|
780 | 750 | <plugins>
|
|
1199 | 1169 | <version>${version.deploy.plugin}</version>
|
1200 | 1170 | <configuration>
|
1201 | 1171 | <!-- we use the nexus-staging plugin -->
|
1202 |
| - <skip>${maven-deploy-plugin.skip}</skip> |
| 1172 | + <skip>${deploy.skip}</skip> |
1203 | 1173 | </configuration>
|
1204 | 1174 | </plugin>
|
1205 |
| - <plugin> |
1206 |
| - <artifactId>maven-gpg-plugin</artifactId> |
1207 |
| - <version>${version.gpg.plugin}</version> |
1208 |
| - </plugin> |
1209 | 1175 | <plugin>
|
1210 | 1176 | <artifactId>maven-resources-plugin</artifactId>
|
1211 | 1177 | <version>${version.resources.plugin}</version>
|
|
1563 | 1529 | <artifactId>versions-maven-plugin</artifactId>
|
1564 | 1530 | <version>${version.versions.plugin}</version>
|
1565 | 1531 | </plugin>
|
1566 |
| - <plugin> |
1567 |
| - <groupId>org.sonatype.plugins</groupId> |
1568 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
1569 |
| - <version>${version.nexus-staging-maven-plugin}</version> |
1570 |
| - <configuration> |
1571 |
| - <skipNexusStagingDeployMojo>${deploy.skip}</skipNexusStagingDeployMojo> |
1572 |
| - </configuration> |
1573 |
| - </plugin> |
1574 | 1532 | <plugin>
|
1575 | 1533 | <groupId>org.apache.maven.plugins</groupId>
|
1576 | 1534 | <artifactId>maven-wrapper-plugin</artifactId>
|
|
1637 | 1595 | <tag>HEAD</tag>
|
1638 | 1596 | </scm>
|
1639 | 1597 |
|
1640 |
| - <distributionManagement> |
1641 |
| - <repository> |
1642 |
| - <id>${ossrh.releases.repo.id}</id> |
1643 |
| - <name>OSSRH Releases Repository</name> |
1644 |
| - <url>${ossrh.releases.repo.url}</url> |
1645 |
| - </repository> |
1646 |
| - <snapshotRepository> |
1647 |
| - <id>${ossrh.snapshots.repo.id}</id> |
1648 |
| - <name>OSSRH Snapshots Repository</name> |
1649 |
| - <url>${ossrh.snapshots.repo.url}</url> |
1650 |
| - </snapshotRepository> |
1651 |
| - </distributionManagement> |
1652 |
| - |
1653 | 1598 | <profiles>
|
1654 | 1599 | <profile>
|
1655 | 1600 | <id>docs</id>
|
|
1680 | 1625 | <properties>
|
1681 | 1626 | <!-- We want this execution to happen before moditect (which executes at package phase) -->
|
1682 | 1627 | <javadoc.generate.jar.phase>prepare-package</javadoc.generate.jar.phase>
|
| 1628 | + <altDeploymentRepository>local::file:${maven.multiModuleProjectDirectory}/target/staging-deploy/maven</altDeploymentRepository> |
1683 | 1629 | </properties>
|
1684 | 1630 | <build>
|
1685 | 1631 | <plugins>
|
|
1695 | 1641 | <rules>
|
1696 | 1642 | <requireReleaseDeps />
|
1697 | 1643 | </rules>
|
1698 |
| - <fail>true</fail> |
1699 |
| - </configuration> |
1700 |
| - </execution> |
1701 |
| - </executions> |
1702 |
| - </plugin> |
1703 |
| - <plugin> |
1704 |
| - <groupId>org.apache.maven.plugins</groupId> |
1705 |
| - <artifactId>maven-gpg-plugin</artifactId> |
1706 |
| - <executions> |
1707 |
| - <execution> |
1708 |
| - <id>sign-artifacts</id> |
1709 |
| - <phase>verify</phase> |
1710 |
| - <goals> |
1711 |
| - <goal>sign</goal> |
1712 |
| - </goals> |
1713 |
| - <configuration> |
1714 |
| - <homedir>${env.RELEASE_GPG_HOMEDIR}</homedir> |
1715 |
| - <bestPractices>true</bestPractices> |
| 1644 | + <fail>false</fail> |
1716 | 1645 | </configuration>
|
1717 | 1646 | </execution>
|
1718 | 1647 | </executions>
|
|
0 commit comments