File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,6 +31,9 @@ escapeXML() {
3131# Build Maven projects.
3232if [ -f pom.xml ]; then
3333 echo ::group::" = Maven build ="
34+
35+ # --== MAVEN SETUP ==--
36+
3437 echo
3538 echo " == Configuring Maven =="
3639
@@ -84,6 +87,8 @@ if [ -f pom.xml ]; then
8487EOL
8588 fi
8689
90+ # --== DEPLOYMENT CHECKS ==--
91+
8792 # Determine whether deploying will be possible.
8893 echo " Performing deployment checks"
8994 deployOK=
138143 echo " All checks passed for artifact deployment"
139144 fi
140145
146+ # --== GPG SETUP ==--
147+
141148 # Install GPG on macOS
142149 if [ " $MACOS " ]; then
143150 HOMEBREW_NO_AUTO_UPDATE=1 brew install gnupg2
158165 checkSuccess $?
159166 fi
160167
168+ # --== BUILD EXECUTION ==--
169+
161170 # Run the build.
162171 BUILD_ARGS=' -B -Djdk.tls.client.protocols="TLSv1,TLSv1.1,TLSv1.2"'
163172 if [ " $deployOK " -a -f release.properties ]; then
212221 mvn $BUILD_ARGS install javadoc:javadoc
213222 checkSuccess $?
214223 fi
224+
225+ # --== POST-BUILD ACTIONS ==--
226+
215227 echo ::endgroup::
216228fi
217229
You can’t perform that action at this time.
0 commit comments