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

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


The following commit(s) were added to refs/heads/master by this push:
     new 6850e09cf [apache/helix] -- Package resources in JDK 1.8 (backward 
compatible) jar (#2833)
6850e09cf is described below

commit 6850e09cf380a2e5088ea429cf6ffbcfc2593159
Author: Himanshu Kandwal <[email protected]>
AuthorDate: Fri Jul 19 10:38:57 2024 -0700

    [apache/helix] -- Package resources in JDK 1.8 (backward compatible) jar 
(#2833)
    
    * [apache/helix] -- Package resources in JDK 1.8 (backward compatible) jar
    
    * [apache/helix] -- Package resources in JDK 1.8 (backward compatible) jar
---
 helix-common/pom.xml                    | 17 +++++++++++++++++
 helix-core/pom.xml                      | 17 +++++++++++++++++
 meta-client/pom.xml                     | 17 +++++++++++++++++
 metadata-store-directory-common/pom.xml | 17 +++++++++++++++++
 metrics-common/pom.xml                  | 17 +++++++++++++++++
 zookeeper-api/pom.xml                   | 17 +++++++++++++++++
 6 files changed, 102 insertions(+)

diff --git a/helix-common/pom.xml b/helix-common/pom.xml
index da2839477..05c0a3e4d 100644
--- a/helix-common/pom.xml
+++ b/helix-common/pom.xml
@@ -137,6 +137,23 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-resources-plugin</artifactId>
+        <version>3.3.1</version>
+        <executions>
+          <execution>
+            <id>default-process-resources-jdk8</id>
+            <phase>process-resources</phase>
+            <goals>
+              <goal>resources</goal>
+            </goals>
+            <configuration>
+              
<outputDirectory>${project.build.outputDirectory}_jdk8</outputDirectory>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-assembly-plugin</artifactId>
diff --git a/helix-core/pom.xml b/helix-core/pom.xml
index 1a4fa1125..1010b880b 100644
--- a/helix-core/pom.xml
+++ b/helix-core/pom.xml
@@ -227,6 +227,23 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-resources-plugin</artifactId>
+        <version>3.3.1</version>
+        <executions>
+          <execution>
+            <id>default-process-resources-jdk8</id>
+            <phase>process-resources</phase>
+            <goals>
+              <goal>resources</goal>
+            </goals>
+            <configuration>
+              
<outputDirectory>${project.build.outputDirectory}_jdk8</outputDirectory>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>appassembler-maven-plugin</artifactId>
diff --git a/meta-client/pom.xml b/meta-client/pom.xml
index 513ca2818..bf7271277 100644
--- a/meta-client/pom.xml
+++ b/meta-client/pom.xml
@@ -137,6 +137,23 @@ under the License.
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-resources-plugin</artifactId>
+        <version>3.3.1</version>
+        <executions>
+          <execution>
+            <id>default-process-resources-jdk8</id>
+            <phase>process-resources</phase>
+            <goals>
+              <goal>resources</goal>
+            </goals>
+            <configuration>
+              
<outputDirectory>${project.build.outputDirectory}_jdk8</outputDirectory>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-assembly-plugin</artifactId>
diff --git a/metadata-store-directory-common/pom.xml 
b/metadata-store-directory-common/pom.xml
index 8f20028c2..a0ac52347 100644
--- a/metadata-store-directory-common/pom.xml
+++ b/metadata-store-directory-common/pom.xml
@@ -161,6 +161,23 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-resources-plugin</artifactId>
+        <version>3.3.1</version>
+        <executions>
+          <execution>
+            <id>default-process-resources-jdk8</id>
+            <phase>process-resources</phase>
+            <goals>
+              <goal>resources</goal>
+            </goals>
+            <configuration>
+              
<outputDirectory>${project.build.outputDirectory}_jdk8</outputDirectory>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-assembly-plugin</artifactId>
diff --git a/metrics-common/pom.xml b/metrics-common/pom.xml
index 3bb48a467..6ce5a6182 100644
--- a/metrics-common/pom.xml
+++ b/metrics-common/pom.xml
@@ -132,6 +132,23 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-resources-plugin</artifactId>
+        <version>3.3.1</version>
+        <executions>
+          <execution>
+            <id>default-process-resources-jdk8</id>
+            <phase>process-resources</phase>
+            <goals>
+              <goal>resources</goal>
+            </goals>
+            <configuration>
+              
<outputDirectory>${project.build.outputDirectory}_jdk8</outputDirectory>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-assembly-plugin</artifactId>
diff --git a/zookeeper-api/pom.xml b/zookeeper-api/pom.xml
index 195062c41..3d44d11c9 100644
--- a/zookeeper-api/pom.xml
+++ b/zookeeper-api/pom.xml
@@ -181,6 +181,23 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-resources-plugin</artifactId>
+        <version>3.3.1</version>
+        <executions>
+          <execution>
+            <id>default-process-resources-jdk8</id>
+            <phase>process-resources</phase>
+            <goals>
+              <goal>resources</goal>
+            </goals>
+            <configuration>
+              
<outputDirectory>${project.build.outputDirectory}_jdk8</outputDirectory>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-assembly-plugin</artifactId>

Reply via email to