This is an automated email from the ASF dual-hosted git repository.
shoothzj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
The following commit(s) were added to refs/heads/master by this push:
new c2e8037baa Fix script to resolve target/cached_classpath.txt not found
error (#4017)
c2e8037baa is described below
commit c2e8037baa5ad2beaab29c519a5a54a893d00585
Author: Lishen Yao <[email protected]>
AuthorDate: Thu May 16 17:12:41 2024 +0900
Fix script to resolve target/cached_classpath.txt not found error (#4017)
---
bin/common.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/common.sh b/bin/common.sh
index 72779396a6..fd9bd2f0b8 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