bookkeeper
bookkeeper copied to clipboard
[fix] Fix script to resolve target/cached_classpath.txt not found error
Motivation
When we run bin/bookkeeper or bin/bkctl, if there's no jar package, it will build it. But there's a a command
${MVN} -f "${BK_HOME}/${MODULE_PATH}/pom.xml" dependency:build-classpath -Dmdep.outputFile="target/cached_classpath.txt" &> ${output}
and raised the following error:
This needs the jars in classpath, so we need to run mvn install
instead of mvn package
.