This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new ae88d77285e [fix](build) Exclude javax.resource:connector from BDB JE 
dependency (#66566)
ae88d77285e is described below

commit ae88d77285e2ca1398460b3db28bb4ff26cf4d18
Author: zhiqiang <[email protected]>
AuthorDate: Fri Aug 7 12:50:11 2026 +0800

    [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 <!-- At least one of them must be included. -->
        - [ ] 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 <!-- Add your reason?  -->
    
    - Behavior changed:
        - [ ] No.
        - [ ] Yes. <!-- Explain the behavior change -->
    
    - Does this need documentation?
        - [ ] No.
    - [ ] Yes. <!-- Add document PR link here. eg:
    https://github.com/apache/doris-website/pull/1214 -->
    
    ### Check List (For Reviewer who merge this PR)
    
    - [ ] Confirm the release note
    - [ ] Confirm test cases
    - [ ] Confirm document
    - [ ] Add branch pick label <!-- Add branch pick label that this PR
    should merge into -->
    
    Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
---
 fe/pom.xml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/fe/pom.xml b/fe/pom.xml
index 3ac2adb15d2..1d124c69c26 100644
--- a/fe/pom.xml
+++ b/fe/pom.xml
@@ -1050,6 +1050,15 @@ under the License.
                         <groupId>org.checkerframework</groupId>
                         <artifactId>checker</artifactId>
                     </exclusion>
+                    <!-- BDB JE only references javax.resource in its optional 
JCA resource
+                         adapter (com.sleepycat.je.jca.ra), which embedded FE 
never uses.
+                         javax.resource:connector:1.0 has no jar in Maven 
Central (only a pom)
+                         and its historical host (repo.grails.org) is 
unreliable, so pulling it
+                         breaks the build in many environments. Exclude it. -->
+                    <exclusion>
+                        <groupId>javax.resource</groupId>
+                        <artifactId>connector</artifactId>
+                    </exclusion>
                 </exclusions>
             </dependency>
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to