bookkeeper icon indicating copy to clipboard operation
bookkeeper copied to clipboard

[fix] Fix script to resolve target/cached_classpath.txt not found error

Open yaalsn opened this issue 1 year ago • 1 comments

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:

image

This needs the jars in classpath, so we need to run mvn install instead of mvn package.

yaalsn avatar Jul 06 '23 10:07 yaalsn