This is an automated email from the ASF dual-hosted git repository.
fokko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/parquet-java.git
The following commit(s) were added to refs/heads/master by this push:
new 313a1f34b Bump to Java 11 (#3314)
313a1f34b is described below
commit 313a1f34b8f0c38ec2b8331cfffc18c325fc2a80
Author: Fokko Driesprong <[email protected]>
AuthorDate: Thu Nov 20 00:12:34 2025 +0100
Bump to Java 11 (#3314)
---
.github/workflows/ci-hadoop3.yml | 2 +-
parquet-format-structures/pom.xml | 4 ++--
parquet-plugins/parquet-encoding-vector/pom.xml | 29 +++++--------------------
pom.xml | 18 +++------------
4 files changed, 12 insertions(+), 41 deletions(-)
diff --git a/.github/workflows/ci-hadoop3.yml b/.github/workflows/ci-hadoop3.yml
index 46662ad83..7ce1820cd 100644
--- a/.github/workflows/ci-hadoop3.yml
+++ b/.github/workflows/ci-hadoop3.yml
@@ -26,7 +26,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- java: [ { setup: '8', maven: '1.8' }, { setup: '11', maven: '11' }, {
setup: '17', maven: '17' } ]
+ java: [ { setup: '11', maven: '11' }, { setup: '17', maven: '17' } ]
codes: [ 'uncompressed,brotli', 'gzip,snappy' ]
name: Build Parquet with JDK ${{ matrix.java.setup }} and ${{ matrix.codes
}}
diff --git a/parquet-format-structures/pom.xml
b/parquet-format-structures/pom.xml
index af4fe3a3a..5818f1dfd 100644
--- a/parquet-format-structures/pom.xml
+++ b/parquet-format-structures/pom.xml
@@ -129,7 +129,7 @@
<configuration>
<!-- We have to turn off the javadoc check because thrift generates
improper comments -->
<doclint>none</doclint>
- <source>8</source>
+ <source>11</source>
<quiet>true</quiet>
</configuration>
</plugin>
@@ -144,7 +144,7 @@
<configuration>
<!-- We have to turn off the javadoc check because thrift generates
improper comments -->
<doclint>none</doclint>
- <source>8</source>
+ <source>11</source>
</configuration>
</plugin>
</plugins>
diff --git a/parquet-plugins/parquet-encoding-vector/pom.xml
b/parquet-plugins/parquet-encoding-vector/pom.xml
index da62797f6..822838d86 100644
--- a/parquet-plugins/parquet-encoding-vector/pom.xml
+++ b/parquet-plugins/parquet-encoding-vector/pom.xml
@@ -35,9 +35,8 @@
<url>https://parquet.apache.org</url>
<properties>
- <!-- Those properties prevent java 8 to try and compile this code -->
- <maven.compiler.source>17</maven.compiler.source>
- <maven.compiler.target>17</maven.compiler.target>
+ <!-- Those properties prevent Java 11 to try and compile this code -->
+ <maven.compiler.release>17</maven.compiler.release>
</properties>
<dependencies>
@@ -74,7 +73,7 @@
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgs combine.children="append">
- <compilerArg>${extraJavaVectorArgs}</compilerArg>
+ <compilerArg>--add-modules=jdk.incubator.vector</compilerArg>
</compilerArgs>
</configuration>
</plugin>
@@ -83,7 +82,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
- <argLine>${extraJavaVectorArgs}</argLine>
+ <argLine>--add-modules=jdk.incubator.vector</argLine>
</configuration>
</plugin>
@@ -91,7 +90,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
- <argLine>${extraJavaVectorArgs}</argLine>
+ <argLine>--add-modules=jdk.incubator.vector</argLine>
</configuration>
</plugin>
@@ -99,7 +98,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
- <additionalJOption>${extraJavaVectorArgs}</additionalJOption>>
+
<additionalJOption>--add-modules=jdk.incubator.vector</additionalJOption>>
</configuration>
</plugin>
@@ -130,20 +129,4 @@
</plugin>
</plugins>
</build>
-
- <profiles>
- <profile>
- <id>jdk9+</id>
- <activation>
- <jdk>[9,)</jdk>
- </activation>
- <properties>
- <!-- release takes precedence over source/target if java version is 9
or higher -->
- <maven.compiler.release>17</maven.compiler.release>
- <extraJavaVectorArgs>
- --add-modules=jdk.incubator.vector
- </extraJavaVectorArgs>
- </properties>
- </profile>
- </profiles>
</project>
diff --git a/pom.xml b/pom.xml
index 4b21529c1..eb5e62948 100644
--- a/pom.xml
+++ b/pom.xml
@@ -69,8 +69,7 @@
</mailingLists>
<properties>
- <maven.compiler.source>1.8</maven.compiler.source>
- <maven.compiler.target>1.8</maven.compiler.target>
+ <maven.compiler.release>11</maven.compiler.release>
<github.global.server>github</github.global.server>
<jackson.groupId>com.fasterxml.jackson.core</jackson.groupId>
<jackson.datatype.groupId>com.fasterxml.jackson.datatype</jackson.datatype.groupId>
@@ -246,7 +245,7 @@
<sourceFileExcludes>
<sourceFileExclude>**/generated-sources/**/*.java</sourceFileExclude>
</sourceFileExcludes>
- <source>8</source>
+ <source>11</source>
<quiet>true</quiet>
</configuration>
</plugin>
@@ -383,7 +382,7 @@
<sourceFileExcludes>
<sourceFileExclude>**/generated-sources/**/*.java</sourceFileExclude>
</sourceFileExcludes>
- <source>8</source>
+ <source>11</source>
<quiet>true</quiet>
</configuration>
</plugin>
@@ -629,17 +628,6 @@
</build>
<profiles>
- <profile>
- <id>jdk9+</id>
- <activation>
- <jdk>[9,)</jdk>
- </activation>
- <properties>
- <!-- release takes precedence over source/target if java version is 9
or higher -->
- <maven.compiler.release>8</maven.compiler.release>
- </properties>
- </profile>
-
<!-- Profile for tests to have more output -->
<profile>
<id>verbose-test</id>