File tree 3 files changed +2
-61
lines changed
3 files changed +2
-61
lines changed Original file line number Diff line number Diff line change 8
8
default : true
9
9
type : boolean
10
10
11
- skip-initial-verification :
12
- description : " Skip tests, dependency check, formatting, licenses"
13
- default : false
14
- type : boolean
15
-
16
11
version :
17
12
description : " Version (leave blank to release non-SNAPSHOT patch)"
18
13
default : " "
46
41
gpg-passphrase : GPG_PASSPHRASE
47
42
gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
48
43
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
-
64
44
- name : Configure Git
65
45
shell : bash
66
46
run : |-
95
75
"-Dlicense.skip=true"
96
76
"-Dcheckstyle.skip=true"
97
77
"-Preleases"
98
- '-P!acceptance-tests'
99
78
)
100
79
101
80
run <<-SCRIPT
115
94
SCRIPT
116
95
117
96
success "Release has been performed successfully"
97
+ info "Please log onto the Nexus staging site and mark the release as closed to publish it"
118
98
119
99
env :
120
100
OSSRH_USERNAME : ${{ secrets.OSSRH_USERNAME }}
Original file line number Diff line number Diff line change 59
59
<maven .javadoc.skip>true</maven .javadoc.skip>
60
60
<maven .release.skip>true</maven .release.skip>
61
61
<skip-dependency-scan >true</skip-dependency-scan >
62
- <skipNexusStagingDeployMojo >true</skipNexusStagingDeployMojo >
63
62
</properties >
64
63
65
64
<dependencyManagement >
Original file line number Diff line number Diff line change 33
33
34
34
<modules >
35
35
<module >java-compiler-testing</module >
36
+ <module >acceptance-tests</module >
36
37
</modules >
37
38
38
39
<inceptionYear >2022</inceptionYear >
605
606
</execution >
606
607
</executions >
607
608
</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 >
626
609
</plugins >
627
610
</pluginManagement >
628
611
722
705
</build >
723
706
</profile >
724
707
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
-
740
708
<profile >
741
709
<id >releases</id >
742
710
788
756
</execution >
789
757
</executions >
790
758
</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 >
797
759
</plugins >
798
760
</build >
799
761
</profile >
You can’t perform that action at this time.
0 commit comments