Skip to content

Commit

Permalink
[apache/helix] -- Package resources in JDK 1.8 (backward compatible) …
Browse files Browse the repository at this point in the history
…jar (#2833)

* [apache/helix] -- Package resources in JDK 1.8 (backward compatible) jar

* [apache/helix] -- Package resources in JDK 1.8 (backward compatible) jar
  • Loading branch information
himanshukandwal authored Jul 19, 2024
1 parent 2deef9d commit 6850e09
Show file tree
Hide file tree
Showing 6 changed files with 102 additions and 0 deletions.
17 changes: 17 additions & 0 deletions helix-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
17 changes: 17 additions & 0 deletions helix-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
17 changes: 17 additions & 0 deletions meta-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
17 changes: 17 additions & 0 deletions metadata-store-directory-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
17 changes: 17 additions & 0 deletions metrics-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
17 changes: 17 additions & 0 deletions zookeeper-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 6850e09

Please sign in to comment.