Skip to content

Commit

Permalink
Add jdk8 support for helix-lock module (#2988)
Browse files Browse the repository at this point in the history
Add jdk8 support for helix-lock module and rename jar packaging execution ids to match jdk8 and fix typos from past changes.
  • Loading branch information
zpinto authored Jan 10, 2025
1 parent 33a28e7 commit cdda0a4
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 6 deletions.
2 changes: 1 addition & 1 deletion helix-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
<version>3.3.0</version>
<executions>
<execution>
<id>default-package-jdk11</id>
<id>default-package-jdk8</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
Expand Down
2 changes: 1 addition & 1 deletion helix-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
<version>3.3.0</version>
<executions>
<execution>
<id>default-package-jdk11</id>
<id>default-package-jdk8</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
Expand Down
48 changes: 48 additions & 0 deletions helix-lock/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,54 @@
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.12.1</version>
<executions>
<execution>
<id>JDK 8</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<outputDirectory>${project.build.outputDirectory}_jdk8</outputDirectory>
<release>8</release>
<fork>true</fork>
</configuration>
</execution>
<execution>
<id>JDK 11</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<release>11</release>
<fork>true</fork>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<id>default-package-jdk8</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classesDirectory>${project.build.outputDirectory}_jdk8</classesDirectory>
<classifier>jdk8</classifier>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion meta-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ under the License.
<version>3.3.0</version>
<executions>
<execution>
<id>default-package-jdk11</id>
<id>default-package-jdk8</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
Expand Down
2 changes: 1 addition & 1 deletion metadata-store-directory-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
<version>3.3.0</version>
<executions>
<execution>
<id>default-package-jdk11</id>
<id>default-package-jdk8</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
Expand Down
2 changes: 1 addition & 1 deletion metrics-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
<version>3.3.0</version>
<executions>
<execution>
<id>default-package-jdk11</id>
<id>default-package-jdk8</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
Expand Down
2 changes: 1 addition & 1 deletion zookeeper-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
<version>3.3.0</version>
<executions>
<execution>
<id>default-package-jdk11</id>
<id>default-package-jdk8</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
Expand Down

0 comments on commit cdda0a4

Please sign in to comment.