[ 
https://issues.apache.org/jira/browse/ARROW-15176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17506375#comment-17506375
 ] 

Alessandro Molina edited comment on ARROW-15176 at 3/14/22, 5:29 PM:
---------------------------------------------------------------------

I was able to get a passing build with following workaround

 
{code:java}
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -40,7 +40,7 @@
     <dep.avro.version>1.10.0</dep.avro.version>
     <arrow.vector.classifier />
     <forkCount>2</forkCount>
-    <checkstyle.failOnViolation>true</checkstyle.failOnViolation>
+    <checkstyle.failOnViolation>false</checkstyle.failOnViolation>
     <errorprone.javac.version>9+181-r4173-1</errorprone.javac.version>
   </properties>
 
@@ -179,7 +179,8 @@
               <goal>test-jar</goal>
             </goals>
             <configuration>
-              <skipIfEmpty>true</skipIfEmpty>
+                   <skipIfEmpty>true</skipIfEmpty>
+                   <argLine>--add-opens 
java.base/java.nio=ALL-UNNAMED</argLine>
             </configuration>
           </execution>
         </executions>
@@ -721,8 +723,8 @@
       <id>arrow-jni</id>
       <modules>
         <!-- these have dependency on cpp -->
-        <module>adapter/orc</module>
-        <module>gandiva</module>
+             <!-- <module>adapter/orc</module> -->
+             <!-- <module>gandiva</module> -->
         <module>dataset</module>
       </modules>
     </profile>
@@ -744,7 +746,7 @@
       -->
       <activation>
         <property>
-           <name>!m2e.version</name>
+           <name>false</name>
         </property>
       </activation>
       <build>
diff --git a/testing b/testing
index 53b498047..634739c66 160000
--- a/testing
+++ b/testing
 {code}


was (Author: amol-):
I was able to get a passing build with following workaround

 
{code:java}
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -40,7 +40,7 @@
     <dep.avro.version>1.10.0</dep.avro.version>
     <arrow.vector.classifier />
     <forkCount>2</forkCount>
-    <checkstyle.failOnViolation>true</checkstyle.failOnViolation>
+    <checkstyle.failOnViolation>false</checkstyle.failOnViolation>
     <errorprone.javac.version>9+181-r4173-1</errorprone.javac.version>
   </properties>
 
@@ -179,7 +179,8 @@
               <goal>test-jar</goal>
             </goals>
             <configuration>
-              <skipIfEmpty>true</skipIfEmpty>
+                   <skipIfEmpty>true</skipIfEmpty>
+                   <argLine>--add-opens 
java.base/java.nio=ALL-UNNAMED</argLine>
             </configuration>
           </execution>
         </executions>
@@ -201,7 +202,7 @@
           <target>1.8</target>
           <maxmem>2048m</maxmem>
           <useIncrementalCompilation>false</useIncrementalCompilation>
-          <fork>true</fork>
+         <fork>true</fork>
         </configuration>
       </plugin>
       <plugin>
@@ -721,8 +723,8 @@
       <id>arrow-jni</id>
       <modules>
         <!-- these have dependency on cpp -->
-        <module>adapter/orc</module>
-        <module>gandiva</module>
+             <!-- <module>adapter/orc</module> -->
+             <!-- <module>gandiva</module> -->
         <module>dataset</module>
       </modules>
     </profile>
@@ -744,7 +746,7 @@
       -->
       <activation>
         <property>
-           <name>!m2e.version</name>
+           <name>false</name>
         </property>
       </activation>
       <build>
diff --git a/testing b/testing
index 53b498047..634739c66 160000
--- a/testing
+++ b/testing
 {code}

> Check which versions of Java Arrow currently support
> ----------------------------------------------------
>
>                 Key: ARROW-15176
>                 URL: https://issues.apache.org/jira/browse/ARROW-15176
>             Project: Apache Arrow
>          Issue Type: Sub-task
>          Components: Java
>            Reporter: Alessandro Molina
>            Assignee: David Dali Susanibar Arce
>            Priority: Major
>             Fix For: 8.0.0
>
>




--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to