File tree Expand file tree Collapse file tree 3 files changed +2
-61
lines changed
Expand file tree Collapse file tree 3 files changed +2
-61
lines changed Original file line number Diff line number Diff line change 88 default : true
99 type : boolean
1010
11- skip-initial-verification :
12- description : " Skip tests, dependency check, formatting, licenses"
13- default : false
14- type : boolean
15-
1611 version :
1712 description : " Version (leave blank to release non-SNAPSHOT patch)"
1813 default : " "
4641 gpg-passphrase : GPG_PASSPHRASE
4742 gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
4843
49- - name : Ensure all tests pass
50- if : ${{ ! inputs.skip-initial-verification }}
51- shell : bash
52- run : >-
53- ./mvnw
54- -B
55- -e
56- -T4
57- -U
58- -P dependency-check
59- --no-transfer-progress
60- -Dstyle.color=always
61- -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
62- clean verify
63-
6444 - name : Configure Git
6545 shell : bash
6646 run : |-
9575 "-Dlicense.skip=true"
9676 "-Dcheckstyle.skip=true"
9777 "-Preleases"
98- '-P!acceptance-tests'
9978 )
10079
10180 run <<-SCRIPT
11594 SCRIPT
11695
11796 success "Release has been performed successfully"
97+ info "Please log onto the Nexus staging site and mark the release as closed to publish it"
11898
11999 env :
120100 OSSRH_USERNAME : ${{ secrets.OSSRH_USERNAME }}
Original file line number Diff line number Diff line change 5959 <maven .javadoc.skip>true</maven .javadoc.skip>
6060 <maven .release.skip>true</maven .release.skip>
6161 <skip-dependency-scan >true</skip-dependency-scan >
62- <skipNexusStagingDeployMojo >true</skipNexusStagingDeployMojo >
6362 </properties >
6463
6564 <dependencyManagement >
Original file line number Diff line number Diff line change 3333
3434 <modules >
3535 <module >java-compiler-testing</module >
36+ <module >acceptance-tests</module >
3637 </modules >
3738
3839 <inceptionYear >2022</inceptionYear >
605606 </execution >
606607 </executions >
607608 </plugin >
608-
609- <plugin >
610- <!-- Swaps out the maven deploy steps with Nexus-specific logic that can automate staging
611- checks for us. -->
612- <groupId >org.sonatype.plugins</groupId >
613- <artifactId >nexus-staging-maven-plugin</artifactId >
614- <version >${nexus-staging-maven-plugin.version} </version >
615- <extensions >true</extensions >
616- <configuration >
617- <autoReleaseAfterClose >true</autoReleaseAfterClose >
618- <autoDropAfterRelease >true</autoDropAfterRelease >
619- <keepStagingRepositoryOnCloseRuleFailure >true</keepStagingRepositoryOnCloseRuleFailure >
620- <keepStagingRepositoryOnFailure >true</keepStagingRepositoryOnFailure >
621- <nexusUrl >https://s01.oss.sonatype.org/</nexusUrl >
622- <serverId >ossrh</serverId >
623- <updateReleaseInfo >true</updateReleaseInfo >
624- </configuration >
625- </plugin >
626609 </plugins >
627610 </pluginManagement >
628611
722705 </build >
723706 </profile >
724707
725- <profile >
726- <id >acceptance-tests</id >
727- <activation >
728- <activeByDefault >true</activeByDefault >
729- </activation >
730-
731- <modules >
732- <!--
733- Activate these here so that they do not appear when Nexus is being
734- invoked
735- -->
736- <module >acceptance-tests</module >
737- </modules >
738- </profile >
739-
740708 <profile >
741709 <id >releases</id >
742710
788756 </execution >
789757 </executions >
790758 </plugin >
791-
792- <!-- Swap out the deploy plugin with the Nexus support to skip staging entirely. -->
793- <plugin >
794- <groupId >org.sonatype.plugins</groupId >
795- <artifactId >nexus-staging-maven-plugin</artifactId >
796- </plugin >
797759 </plugins >
798760 </build >
799761 </profile >
You can’t perform that action at this time.
0 commit comments