Skip to content

Commit

Permalink
Build and test FOR java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
zzuljin committed Jan 8, 2025
1 parent c4c77ce commit 3dae9a8
Show file tree
Hide file tree
Showing 15 changed files with 86 additions and 4 deletions.
4 changes: 4 additions & 0 deletions data/blocks-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,10 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
Expand Down
4 changes: 4 additions & 0 deletions data/blocks-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,10 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
Expand Down
4 changes: 4 additions & 0 deletions data/blocks-high-availability/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
Expand Down
4 changes: 4 additions & 0 deletions data/blocks-http/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,10 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
Expand Down
4 changes: 4 additions & 0 deletions fs/fs-sftp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,10 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
Expand Down
3 changes: 1 addition & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,7 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<source>17</source>
<target>17</target>
<release>21</release>
</configuration>
</plugin>
<plugin>
Expand Down
3 changes: 1 addition & 2 deletions tests/coordination/base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,7 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<source>17</source>
<target>17</target>
<release>21</release>
</configuration>
</plugin>
<plugin>
Expand Down
8 changes: 8 additions & 0 deletions tests/storage/block/balancer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,14 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<release>21</release>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down
8 changes: 8 additions & 0 deletions tests/storage/block/base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,14 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<release>21</release>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down
8 changes: 8 additions & 0 deletions tests/storage/block/blockmanagement/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,14 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<release>21</release>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down
8 changes: 8 additions & 0 deletions tests/storage/block/datanode/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,14 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<release>21</release>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down
8 changes: 8 additions & 0 deletions tests/storage/block/dfs-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,14 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<release>21</release>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down
8 changes: 8 additions & 0 deletions tests/storage/block/fs-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,14 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<release>21</release>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down
8 changes: 8 additions & 0 deletions tests/storage/block/misc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,14 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<release>21</release>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down
8 changes: 8 additions & 0 deletions tests/storage/block/namenode/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,14 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<release>21</release>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down

0 comments on commit 3dae9a8

Please sign in to comment.