diff --git a/bin/common.sh b/bin/common.sh index 72779396a63..fd9bd2f0b85 100755 --- a/bin/common.sh +++ b/bin/common.sh @@ -193,13 +193,13 @@ find_module_jar() { BUILT_JAR=$(find_module_jar_at ${BK_HOME}/${MODULE_PATH}/target ${MODULE_NAME}) if [ -z "${BUILT_JAR}" ]; then echo "Couldn't find module '${MODULE_NAME}' jar." >&2 - read -p "Do you want me to run \`mvn package -DskipTests\` for you ? (y|n) " answer + read -p "Do you want me to run \`mvn install -DskipTests\` for you ? (y|n) " answer case "${answer:0:1}" in y|Y ) mkdir -p ${BK_HOME}/logs output="${BK_HOME}/logs/build.out" echo "see output at ${output} for the progress ..." >&2 - mvn package -DskipTests &> ${output} + mvn install -DskipTests &> ${output} ;; * ) exit 1