Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
May 16, 2024

Conversation

yaalsn
Copy link
Contributor

@yaalsn yaalsn commented Jul 6, 2023

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.

@hangc0276
Copy link
Contributor

@zymap @horizonzy Please help take a look at this PR, thanks.

@hezhangjian
Copy link
Member

update branch

@hezhangjian hezhangjian merged commit c2e8037 into apache:master May 16, 2024
21 checks passed
@hezhangjian
Copy link
Member

Thanks for your contribution. :)

@hangc0276 hangc0276 added this to the 4.18.0 milestone May 25, 2024
Ghatage pushed a commit to sijie/bookkeeper that referenced this pull request Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants