You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by ad...@apache.org on 2026/03/24 10:57:42 UTC

(ozone) 04/05: HDDS-10178. Shaded Jar build fails on case-insensitive filesystem (#6042)

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

adoroszlai pushed a commit to branch ozone-2.1
in repository https://gitbox.apache.org/repos/asf/ozone.git

commit 199b86c70bd8ae62748cab2fbe2b32dd5310eadd
Author: Swaminathan Balachandran <sw...@gmail.com>
AuthorDate: Mon Nov 17 08:12:34 2025 -0500

    HDDS-10178. Shaded Jar build fails on case-insensitive filesystem (#6042)
    
    (cherry picked from commit beac3271cc174989490dc8390bf8a0ea2f6651e9)
---
 hadoop-ozone/ozonefs-hadoop2/pom.xml        | 6 ++++++
 hadoop-ozone/ozonefs-hadoop3-client/pom.xml | 6 ++++++
 hadoop-ozone/ozonefs-hadoop3/pom.xml        | 6 ++++++
 3 files changed, 18 insertions(+)

diff --git a/hadoop-ozone/ozonefs-hadoop2/pom.xml b/hadoop-ozone/ozonefs-hadoop2/pom.xml
index a4f4c78f78b..a44633bfe4a 100644
--- a/hadoop-ozone/ozonefs-hadoop2/pom.xml
+++ b/hadoop-ozone/ozonefs-hadoop2/pom.xml
@@ -139,6 +139,12 @@
                   <groupId>org.apache.ozone</groupId>
                   <artifactId>ozone-filesystem-shaded</artifactId>
                   <version>${project.version}</version>
+                  <fileMappers>
+                    <org.codehaus.plexus.components.io.filemappers.RegExpFileMapper>
+                      <pattern>META-INF/license/</pattern>
+                      <replacement>META-INF/licenses/</replacement>
+                    </org.codehaus.plexus.components.io.filemappers.RegExpFileMapper>
+                  </fileMappers>
                 </artifactItem>
               </artifactItems>
               <outputDirectory>target/classes</outputDirectory>
diff --git a/hadoop-ozone/ozonefs-hadoop3-client/pom.xml b/hadoop-ozone/ozonefs-hadoop3-client/pom.xml
index 28b9e8b4506..963b3058c7e 100644
--- a/hadoop-ozone/ozonefs-hadoop3-client/pom.xml
+++ b/hadoop-ozone/ozonefs-hadoop3-client/pom.xml
@@ -93,6 +93,12 @@
                   <groupId>org.apache.ozone</groupId>
                   <artifactId>ozone-filesystem-shaded</artifactId>
                   <version>${project.version}</version>
+                  <fileMappers>
+                    <org.codehaus.plexus.components.io.filemappers.RegExpFileMapper>
+                      <pattern>META-INF/license/</pattern>
+                      <replacement>META-INF/licenses/</replacement>
+                    </org.codehaus.plexus.components.io.filemappers.RegExpFileMapper>
+                  </fileMappers>
                 </artifactItem>
               </artifactItems>
               <outputDirectory>target/classes</outputDirectory>
diff --git a/hadoop-ozone/ozonefs-hadoop3/pom.xml b/hadoop-ozone/ozonefs-hadoop3/pom.xml
index 42031d6c258..ae29b66c1e3 100644
--- a/hadoop-ozone/ozonefs-hadoop3/pom.xml
+++ b/hadoop-ozone/ozonefs-hadoop3/pom.xml
@@ -90,6 +90,12 @@
                   <groupId>org.apache.ozone</groupId>
                   <artifactId>ozone-filesystem-shaded</artifactId>
                   <version>${project.version}</version>
+                  <fileMappers>
+                    <org.codehaus.plexus.components.io.filemappers.RegExpFileMapper>
+                      <pattern>META-INF/license/</pattern>
+                      <replacement>META-INF/licenses/</replacement>
+                    </org.codehaus.plexus.components.io.filemappers.RegExpFileMapper>
+                  </fileMappers>
                 </artifactItem>
               </artifactItems>
               <outputDirectory>target/classes</outputDirectory>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ozone.apache.org
For additional commands, e-mail: commits-help@ozone.apache.org