소스 검색

build and install cobbzilla-utils utility library

master
Jonathan Cobb 4 년 전
부모
커밋
fd101bed5b
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. +10
    -0
      bin/jvcl_common

+ 10
- 0
bin/jvcl_common 파일 보기

@@ -60,7 +60,17 @@ if [[ -z "${JVCL_JAR}" ]] ; then
if [[ -z "$(which mvn)" ]] ; then
die "Maven not installed (mvn command not found on PATH), cannot build JVCL jar"
fi

# Build and install utility library
pushd "${JVCL_DIR}"/utils/cobbzilla-utils || die "Error changing directories to ${JVCL_DIR}/utils/cobbzilla-utils"
mvn -DskipTests=true clean install || die "Error building cobbzilla-utils library"
popd || die "popd error"

# Build jvcl uberjar
pushd "${JVCL_DIR}" || die "Error changing directories to ${JVCL_DIR}"
mvn -DskipTests=true -Puberjar clean package || die "Error building JVCL jar"
popd || die "popd error"

JVCL_JAR="$(find "${JVCL_DIR}"/target -type f -name "jvcl-*-prod.jar" | head -1)"
if [[ -z "${JVCL_JAR}" ]] ; then
die "No JVCL jar file found after successful build"


불러오는 중...
취소
저장