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

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new f0de73f7a63e chore: pin com.aliyun:tea so the Alibaba components do 
not resolve an open version range
f0de73f7a63e is described below

commit f0de73f7a63ec145926f30e6021e90eebe4fb44f
Author: Claus Ibsen <[email protected]>
AuthorDate: Tue Sep 15 09:49:52 2026 +0200

    chore: pin com.aliyun:tea so the Alibaba components do not resolve an open 
version range
    
    The Alibaba SDK poms pulled in by camel-alibaba-fc, -sms, -kms, -sls and
    -eventbridge (credentials-java, openapiutil, alibabacloud-gateway-spi,
    darabonba-string, ...) declare com.aliyun:tea as open version ranges such
    as [1.1.14, 2.0.0). Resolving a range forces Maven to fetch
    maven-metadata.xml from Central on every build, so a slow or failed
    metadata lookup (or an offline build) fails with "No versions available
    for com.aliyun:tea:jar:[1.1.14, 2.0.0) within specified range" even when
    the 1.x jars are already in the local repository.
    
    Add a tea-version property (1.4.2) and a managed com.aliyun:tea entry in
    parent/pom.xml. 1.4.2 is the latest release on Central and the version
    the already-managed tea-openapi:0.3.15 depends on; the previous effective
    resolution was 1.3.1. The entry survives PrepareComponentMojo's
    regeneration of the components block.
    
    Closes #26452
    
    Co-authored-by: Claude Opus 5 <[email protected]>
    Signed-off-by: Claus Ibsen <[email protected]>
---
 parent/pom.xml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/parent/pom.xml b/parent/pom.xml
index 36ac3fa0d241..1437aff93237 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -74,6 +74,8 @@
         
<aliyun-eventbridge-client-version>1.3.14</aliyun-eventbridge-client-version>
         <aliyun-tablestore-version>5.17.13</aliyun-tablestore-version>
         <tea-openapi-version>0.3.15</tea-openapi-version>
+        <!-- the Alibaba SDKs declare com.aliyun:tea as an open version range, 
so it is pinned in dependencyManagement -->
+        <tea-version>1.4.2</tea-version>
         <amazon-kinesis-client-version>3.5.2</amazon-kinesis-client-version>
         <angus-mail-version>2.0.5</angus-mail-version>
         <apacheds-version>2.0.0.AM27</apacheds-version>
@@ -742,6 +744,11 @@
                 <artifactId>sls20201230</artifactId>
                 <version>${aliyun-sls-version}</version>
             </dependency>
+            <dependency>
+                <groupId>com.aliyun</groupId>
+                <artifactId>tea</artifactId>
+                <version>${tea-version}</version>
+            </dependency>
             <dependency>
                 <groupId>com.aliyun</groupId>
                 <artifactId>tea-openapi</artifactId>

Reply via email to