Skip to content

Commit

Permalink
Remove build support for Java 8
Browse files Browse the repository at this point in the history
* Builds are now for Java 11 and up
  • Loading branch information
normanj-bitquill committed Jul 3, 2024
1 parent 62ee676 commit 2b81291
Show file tree
Hide file tree
Showing 12 changed files with 54 additions and 762 deletions.
1 change: 0 additions & 1 deletion java/adapter/jdbc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ under the License.
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<scope>test</scope>
</dependency>

<dependency>
Expand Down
11 changes: 11 additions & 0 deletions java/flight/flight-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,17 @@ under the License.
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgs>
<arg>--patch-module</arg>
<arg>jsr305=/Users/normanj/.m2/repository/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar</arg>
<arg>--add-reads=org.apache.arrow.flight.core=ALL-UNNAMED</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
Expand Down
14 changes: 14 additions & 0 deletions java/flight/flight-sql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,20 @@ under the License.
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgs>
<arg>--add-reads=org.apache.arrow.flight.sql=ALL-UNNAMED</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>jdk11+</id>
Expand Down
124 changes: 0 additions & 124 deletions java/maven/module-info-compiler-maven-plugin/pom.xml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 2b81291

Please sign in to comment.