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

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


The following commit(s) were added to refs/heads/main by this push:
     new 412f1fb2 fix(java): fix automatic module conflict with maven shaded 
dependencies (#2372)
412f1fb2 is described below

commit 412f1fb28356d145222fea1f70fa7eddf1e3f180
Author: Shawn Yang <[email protected]>
AuthorDate: Sun Jun 29 00:11:11 2025 +0800

    fix(java): fix automatic module conflict with maven shaded dependencies 
(#2372)
    
    ## What does this PR do?
    
    fix automatic module conflict with maven shaded dependencies
    
    ## Related issues
    
    Closes #2371
    
    ## Does this PR introduce any user-facing change?
    
    <!--
    If any user-facing interface changes, please [open an
    issue](https://github.com/apache/fory/issues/new/choose) describing the
    need to do so and update the document if necessary.
    -->
    
    - [ ] Does this PR introduce any public API change?
    - [ ] Does this PR introduce any binary protocol compatibility change?
    
    ## Benchmark
    
    <!--
    When the PR has an impact on performance (if you don't know whether the
    PR will have an impact on performance, you can submit the PR first, and
    if it will have impact on performance, the code reviewer will explain
    it), be sure to attach a benchmark data here.
    -->
---
 java/fory-core/pom.xml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/java/fory-core/pom.xml b/java/fory-core/pom.xml
index b8520828..62110a6e 100644
--- a/java/fory-core/pom.xml
+++ b/java/fory-core/pom.xml
@@ -120,6 +120,14 @@
                   </excludes>
                 </filter>
               </filters>
+              <transformers>
+                <transformer 
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
+                  <manifestEntries>
+                    
<Automatic-Module-Name>org.apache.fory.core</Automatic-Module-Name>
+                  </manifestEntries>
+                </transformer>
+                <transformer 
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
+              </transformers>
             </configuration>
           </execution>
         </executions>


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

Reply via email to