Skip to content

Commit

Permalink
Modularize dataset
Browse files Browse the repository at this point in the history
(not working due to collision with arrow-c-data for the location of the native lib)
  • Loading branch information
jduo committed Jan 5, 2024
1 parent e1b8f38 commit 5c0cf8c
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
13 changes: 13 additions & 0 deletions java/dataset/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@
<artifactId>arrow-c-data</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.immutables</groupId>
<artifactId>value</artifactId>
</dependency>
<dependency>
<groupId>org.apache.arrow</groupId>
<artifactId>arrow-memory-netty</artifactId>
Expand Down Expand Up @@ -161,6 +165,15 @@
</resources>

<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<enableAssertions>false</enableAssertions>
<systemPropertyVariables>
<arrow.test.dataRoot>${project.basedir}/../../testing/data</arrow.test.dataRoot>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.xolstice.maven.plugins</groupId>
<artifactId>protobuf-maven-plugin</artifactId>
Expand Down
29 changes: 29 additions & 0 deletions java/dataset/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

open module org.apache.arrow.dataset {
exports org.apache.arrow.dataset.file;
exports org.apache.arrow.dataset.source;
exports org.apache.arrow.dataset.jni;
exports org.apache.arrow.dataset.substrait;
exports org.apache.arrow.dataset.scanner;

requires org.apache.arrow.c;
requires org.apache.arrow.memory.core;
requires org.apache.arrow.vector;
}

0 comments on commit 5c0cf8c

Please sign in to comment.