From 1f891851fd6b0eca687353f5552187430e4d3e1d Mon Sep 17 00:00:00 2001 From: zhiqiang Date: Fri, 7 Aug 2026 12:50:11 +0800 Subject: [PATCH] [fix](build) Exclude javax.resource:connector from BDB JE dependency (#66566) org.apache.doris:je transitively pulls in javax.resource:connector:1.0, whose jar was never published to Maven Central (only the pom is there) and whose historical host (repo.grails.org) is frequently unreachable. As a result the FE build fails resolving the artifact in many environments: Could not find artifact javax.resource:connector:jar:1.0 in central ... BDB JE only references javax.resource in its optional JCA resource adapter (com.sleepycat.je.jca.ra), which the embedded FE never uses, so the artifact is not needed at compile or runtime. Exclude it from the je dependency management entry, alongside the existing ant/checker exclusions. ### What problem does this PR solve? Issue Number: close #xxx Related PR: #xxx Problem Summary: ### Release note None ### Check List (For Author) - Test - [ ] Regression test - [ ] Unit Test - [ ] Manual test (add detailed scripts or steps below) - [ ] No need to test or manual test. Explain why: - [ ] This is a refactor/code format and no logic has been changed. - [ ] Previous test can cover this change. - [ ] No code files have been changed. - [ ] Other reason - Behavior changed: - [ ] No. - [ ] Yes. - Does this need documentation? - [ ] No. - [ ] Yes. ### Check List (For Reviewer who merge this PR) - [ ] Confirm the release note - [ ] Confirm test cases - [ ] Confirm document - [ ] Add branch pick label Co-authored-by: Claude Opus 4.8 (1M context) --- fe/pom.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/fe/pom.xml b/fe/pom.xml index ef84e3e2145b5e..3783d2660e6b9b 100644 --- a/fe/pom.xml +++ b/fe/pom.xml @@ -899,6 +899,15 @@ under the License. org.checkerframework checker + + + javax.resource + connector +