Skip to content

Commit

Permalink
Merge pull request #1137 from IBM/issue-missing
Browse files Browse the repository at this point in the history
Fix for missing installable
  • Loading branch information
lmsurpre authored May 21, 2020
2 parents f02a677 + 362efbb commit 03576bc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions build/release/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,22 @@ function _mvn {
check_and_fail $? "${FUNCNAME[0]} - stopped - ${PROJECT_PATH}"
}

# _mvn2 - executes mvn to prep the install
function _mvn2 {
announce "${FUNCNAME[0]}"
PROJECT_PATH="$1"
PROFILES="$2"

# Batch mode without the transfer updates.
mvn ${THREAD_COUNT} -ntp -B "${PROFILES}" install -DskipTests -f ${PROJECT_PATH}
check_and_fail $? "${FUNCNAME[0]} - stopped - ${PROJECT_PATH}"
}

# build_all - build all versions
function build_all {
_mvn 'fhir-tools' '-Pdeploy-bintray,fhir-javadocs'
_mvn 'fhir-examples' '-Pdeploy-bintray,fhir-javadocs'
_mvn2 'fhir-parent' '-Pdeploy-bintray'

PROFILES_ARR=(integration)
PROFILES_ARR+=(model-all-tests)
Expand Down

0 comments on commit 03576bc

Please sign in to comment.