| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| 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. |
| --> |
| <project xmlns="http://maven.apache.org/POM/4.0.0" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 |
| http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <groupId>org.apache.datafusion</groupId> |
| <artifactId>datafusion-java</artifactId> |
| <version>0.1.0-SNAPSHOT</version> |
| <packaging>jar</packaging> |
| |
| <properties> |
| <maven.compiler.source>17</maven.compiler.source> |
| <maven.compiler.target>17</maven.compiler.target> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <junit.version>5.11.3</junit.version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter</artifactId> |
| <version>${junit.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.arrow</groupId> |
| <artifactId>arrow-vector</artifactId> |
| <version>19.0.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.arrow</groupId> |
| <artifactId>arrow-c-data</artifactId> |
| <version>19.0.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.arrow</groupId> |
| <artifactId>arrow-memory-netty</artifactId> |
| <version>19.0.0</version> |
| <scope>runtime</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>3.5.2</version> |
| <configuration> |
| <argLine>-Djava.library.path=${project.basedir}/native/target/debug --add-opens=java.base/java.nio=ALL-UNNAMED</argLine> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>com.diffplug.spotless</groupId> |
| <artifactId>spotless-maven-plugin</artifactId> |
| <version>2.44.0</version> |
| <configuration> |
| <java> |
| <googleJavaFormat> |
| <version>1.25.2</version> |
| <style>GOOGLE</style> |
| <reflowLongStrings>true</reflowLongStrings> |
| </googleJavaFormat> |
| <removeUnusedImports/> |
| <importOrder> |
| <order>java,javax,org,com,</order> |
| </importOrder> |
| <trimTrailingWhitespace/> |
| <endWithNewline/> |
| </java> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>verify</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <version>0.16.1</version> |
| <executions> |
| <execution> |
| <phase>verify</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <consoleOutput>true</consoleOutput> |
| <excludes> |
| <!-- Files that are themselves licensing artifacts --> |
| <exclude>LICENSE.txt</exclude> |
| <exclude>NOTICE.txt</exclude> |
| <!-- Project documentation that does not require headers --> |
| <exclude>README.md</exclude> |
| <exclude>docs/**</exclude> |
| <!-- VCS and editor metadata --> |
| <exclude>.gitignore</exclude> |
| <exclude>.idea/**</exclude> |
| <exclude>.vscode/**</exclude> |
| <exclude>**/*.iml</exclude> |
| <exclude>**/.DS_Store</exclude> |
| <!-- Bundled Maven wrapper (Apache 2.0 third-party) --> |
| <exclude>mvnw</exclude> |
| <exclude>mvnw.cmd</exclude> |
| <exclude>.mvn/**</exclude> |
| <!-- Build outputs and generated test data --> |
| <exclude>target/**</exclude> |
| <exclude>native/target/**</exclude> |
| <exclude>tpch-data/**</exclude> |
| <!-- Rust lockfile --> |
| <exclude>native/Cargo.lock</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |