Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

Commit e27d5d0

Browse files
committed
build: include arrow dependency suggested compiler flags
This follows https://arrow.apache.org/docs/java/install.html, where we add the indicated `--add-opens` flag. This is meant to follow from #3811 (comment)
1 parent b1962a7 commit e27d5d0

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

google-cloud-bigquery/pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,17 @@
239239

240240
<build>
241241
<plugins>
242+
<plugin>
243+
<groupId>org.apache.maven.plugins</groupId>
244+
<artifactId>maven-compiler-plugin</artifactId>
245+
<configuration>
246+
<encoding>UTF-8</encoding>
247+
<fork>true</fork>
248+
<compilerArgs>
249+
<arg>-J--add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED</arg>
250+
</compilerArgs>
251+
</configuration>
252+
</plugin>
242253
<plugin>
243254
<!-- Allow script to run, so we can run benchmarks. -->
244255
<groupId>org.codehaus.mojo</groupId>

0 commit comments

Comments
 (0)