[opt](build) enable maven cache and check maven version#60819
Merged
hello-stephen merged 1 commit intoapache:masterfrom Mar 1, 2026
Merged
[opt](build) enable maven cache and check maven version#60819hello-stephen merged 1 commit intoapache:masterfrom
hello-stephen merged 1 commit intoapache:masterfrom
Conversation
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Contributor
Author
|
run buildall |
1ffe364 to
4c709a4
Compare
Contributor
Author
|
run buildall |
TPC-H: Total hot run time: 28706 ms |
TPC-DS: Total hot run time: 184638 ms |
morningman
approved these changes
Mar 1, 2026
Contributor
|
PR approved by at least one committer and no changes requested. |
hello-stephen
approved these changes
Mar 1, 2026
Contributor
|
PR approved by anyone and no changes requested. |
16 tasks
hello-stephen
added a commit
that referenced
this pull request
Mar 3, 2026
#60964) …ven cache Problem: - When Maven build cache is hit, the dependency:copy-dependencies plugin execution is skipped - This causes target/lib directory to be missing in hadoop-deps module - Results in an incomplete BE output package without Hadoop dependencies Solution: - Add automatic regeneration logic in build.sh copy phase - When lib directory is missing and BUILD_BE_JAVA_EXTENSIONS=1, execute 'mvn dependency:copy-dependencies' to regenerate it - Preserves Maven cache benefits while ensuring complete output Impact: - Fixes intermittent missing hadoop_hdfs jars in BE output - No impact on normal build flow (only triggers when needed) - Maintains build cache acceleration for other plugins Related PR: #60819
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
Problem Summary:
This pull request updates the Maven build configuration to enforce a minimum Maven version and improve build performance through caching. The most important changes are:
Build requirements and enforcement:
maven-enforcer-plugin(version 3.6.2) to thefe/pom.xmlbuild plugins, enforcing that Maven version 3.9.0 or higher is required to build the project.Build performance improvements:
maven-build-cache-extension(version 1.2.2) to thefe/pom.xmlbuild extensions, enabling build caching to speed up repeated builds.Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)