Skip to content

Commit

Permalink
print maven build log
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeWang1127 committed Nov 18, 2023
1 parent b28345e commit 34dee49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/main/asciidoc/ghpages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ function switch_to_tag() {
# Build the docs if switch is on
function build_docs_if_applicable() {
if [[ "${BUILD}" == "yes" ]] ; then
./mvnw clean install -P docs -pl docs -DskipTests -q
./mvnw clean install -P docs -pl docs -DskipTests
fi
}

# Get the name of the `docs.main` property
# Get allowed branches - assumes that a `docs` module is available under `docs` profile
function retrieve_doc_properties() {
MAIN_ADOC_VALUE=$("${MAVEN_PATH}"mvn -q \
MAIN_ADOC_VALUE=$("${MAVEN_PATH}"mvn \
-Dexec.executable="echo" \
-Dexec.args='${docs.main}' \
--non-recursive \
Expand All @@ -76,7 +76,7 @@ function retrieve_doc_properties() {


ALLOW_PROPERTY=${ALLOW_PROPERTY:-"docs.allowed.branches"}
ALLOWED_BRANCHES_VALUE=$("${MAVEN_PATH}"mvn -q \
ALLOWED_BRANCHES_VALUE=$("${MAVEN_PATH}"mvn \
-Dexec.executable="echo" \
-Dexec.args="\${${ALLOW_PROPERTY}}" \
org.codehaus.mojo:exec-maven-plugin:3.1.0:exec \
Expand Down

0 comments on commit 34dee49

Please sign in to comment.