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

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


The following commit(s) were added to refs/heads/master by this push:
     new c7f0069db4d [FLINK-40145][build] Do not bundle dependency module 
descriptors in the model uber jars
c7f0069db4d is described below

commit c7f0069db4d95a4fdf5af0eb038cafffe8c0b2bb
Author: Martijn Visser <[email protected]>
AuthorDate: Wed Sep 16 14:54:20 2026 +0200

    [FLINK-40145][build] Do not bundle dependency module descriptors in the 
model uber jars
    
    The shade filter only dropped META-INF/**/module-info.class for jackson, so
    another dependency's descriptor survived and, with the Multi-Release entry 
from
    FLINK-40084, made the jar claim that dependency's module name. Javadoc then
    fails flink-model-triton on a split package with kotlin.stdlib.
    
    Generated-by: Claude Code (Claude Opus 5)
---
 flink-models/flink-model-openai/pom.xml | 6 +-----
 flink-models/flink-model-triton/pom.xml | 6 +-----
 2 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/flink-models/flink-model-openai/pom.xml 
b/flink-models/flink-model-openai/pom.xml
index b34d2125259..edffe19f751 100644
--- a/flink-models/flink-model-openai/pom.xml
+++ b/flink-models/flink-model-openai/pom.xml
@@ -209,11 +209,7 @@ under the License.
                                                                        
<artifact>*</artifact>
                                                                        
<excludes>
                                                                                
<exclude>okhttp3/internal/publicsuffix/NOTICE</exclude>
-                                                                       
</excludes>
-                                                               </filter>
-                                                               <filter>
-                                                                       
<artifact>com.fasterxml.jackson*:*</artifact>
-                                                                       
<excludes>
+                                                                               
<!-- Drop stale JPMS descriptors; with Multi-Release set below, the jar would 
otherwise claim a dependency's module name (FLINK-40145). -->
                                                                                
<exclude>META-INF/**/module-info.class</exclude>
                                                                        
</excludes>
                                                                </filter>
diff --git a/flink-models/flink-model-triton/pom.xml 
b/flink-models/flink-model-triton/pom.xml
index faa53a9e671..90291a4478d 100644
--- a/flink-models/flink-model-triton/pom.xml
+++ b/flink-models/flink-model-triton/pom.xml
@@ -191,11 +191,7 @@ under the License.
                                                                        
<artifact>*</artifact>
                                                                        
<excludes>
                                                                                
<exclude>okhttp3/internal/publicsuffix/NOTICE</exclude>
-                                                                       
</excludes>
-                                                               </filter>
-                                                               <filter>
-                                                                       
<artifact>com.fasterxml.jackson*:*</artifact>
-                                                                       
<excludes>
+                                                                               
<!-- Drop stale JPMS descriptors; with Multi-Release set below, the jar would 
otherwise claim a dependency's module name (FLINK-40145). -->
                                                                                
<exclude>META-INF/**/module-info.class</exclude>
                                                                        
</excludes>
                                                                </filter>

Reply via email to